[Compbench-devel] CompBenchmarks++ cloptions.cpp,1.24,1.25
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-05-24 16:35:03
|
Update of /cvsroot/compbench/CompBenchmarks++ In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv5985 Modified Files: cloptions.cpp Log Message: Fix in Fetch mode. Index: cloptions.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/cloptions.cpp,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** cloptions.cpp 16 Apr 2007 20:14:53 -0000 1.24 --- cloptions.cpp 24 May 2007 16:34:50 -0000 1.25 *************** *** 361,364 **** --- 361,365 ---- if (!P) break; + optind++; if (optind<=argc) { tarball=argv[optind-1]; *************** *** 628,645 **** parseExitValue=0; } ! if ((!filter.all) && (!filter.installed) && (P)) { ! std::cout << "Package (PID) : " << P->Name() << std::endl; ! std::cout << "Version : " << P->Version() << std::endl; ! std::cout << "Size : " << P->Size() << std::endl; ! std::cout << "Total size : " << P->totalSize() << std::endl; ! std::cout << "Benchmarks : " << P->benchmarkNumber() << std::endl; ! std::cout << "Language : " << P->language() << std::endl; ! std::cout << "License : " << P->license() << std::endl; ! std::cout << "Author : " << P->author() << std::endl; ! std::cout << "Testsuite : " << (P->hasTest() ? "Yes" : "No") << std::endl; ! std::cout << "Status : " << P->getStatusStr() << std::endl; ! std::cout << "Comments : " << std::endl; ! std::cout << P->Comments() << std::endl; ! parseExitValue=0; } --- 629,654 ---- parseExitValue=0; } ! ! if ((!filter.all) && (!filter.installed)) { ! if (P) { ! std::cout << "Package (PID) : " << P->Name() << std::endl; ! std::cout << "Version : " << P->Version() << std::endl; ! std::cout << "Size : " << P->Size() << std::endl; ! std::cout << "Total size : " << P->totalSize() << std::endl; ! std::cout << "Benchmarks : " << P->benchmarkNumber() << std::endl; ! std::cout << "Language : " << P->language() << std::endl; ! std::cout << "License : " << P->license() << std::endl; ! std::cout << "Author : " << P->author() << std::endl; ! std::cout << "Homepage : " << P->homePage() << std::endl; ! std::cout << "Download URL : " << P->downloadURL() << std::endl; ! std::cout << "Testsuite : " << (P->hasTest() ? "Yes" : "No") << std::endl; ! std::cout << "Status : " << P->getStatusStr() << std::endl; ! std::cout << "Comments : " << std::endl; ! std::cout << P->Comments() << std::endl; ! parseExitValue=0; ! } else { ! std::cerr << "No package found. Try compbenchmarks-core -q -p<package>\n"; ! parseExitValue=255; ! } } |