[Compbench-devel] CompBenchmarks++/Benchmark Benchmark.cpp, 1.9, 1.10
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2006-10-02 19:17:15
|
Update of /cvsroot/compbench/CompBenchmarks++/Benchmark In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17803 Modified Files: Benchmark.cpp Log Message: Checksum status is reported (downloading & fetching). Index: Benchmark.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/Benchmark/Benchmark.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Benchmark.cpp 25 Sep 2006 15:38:51 -0000 1.9 --- Benchmark.cpp 2 Oct 2006 19:17:11 -0000 1.10 *************** *** 204,210 **** --- 204,216 ---- if (expected_md5==md5) { + UI->Information(CBMUI::ChecksumOK, + localFile); + storeStatus(Downloaded); return(1); } else { + UI->Information(CBMUI::ChecksumFailed, + localFile); + system->unlink((char*) localFile.c_str()); info="Unsuccesfull download "; *************** *** 474,479 **** --- 480,491 ---- if (expected_md5==md5) { + UI->Information(CBMUI::ChecksumOK, + localFile); + storeStatus(Downloaded); return(1); + } else { + UI->Information(CBMUI::ChecksumFailed, + localFile); } } |