Date: Tuesday, March 28, 2006 @ 09:32:53
  Author: zsolt
    Path: /cvsroot/carob/libmysequoia/test

Modified: runTests.cpp (1.3 -> 1.4)

Changed verbose option to silent.
Now the default run will be verbose.


--------------+
 runTests.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: libmysequoia/test/runTests.cpp
diff -u libmysequoia/test/runTests.cpp:1.3 libmysequoia/test/runTests.cpp:1.4
--- libmysequoia/test/runTests.cpp:1.3  Mon Jan  2 13:19:56 2006
+++ libmysequoia/test/runTests.cpp      Tue Mar 28 09:32:53 2006
@@ -33,14 +33,14 @@
 {
   TextTestRunner runner;
   BriefTestProgressListener listener;
-  bool verbose;
+  bool silent;
 
-  verbose = argc == 2 && strncmp(argv[1], "--verbose", 9) == 0;
+  silent = argc == 2 && strncmp(argv[1], "--silent", 9) == 0;
     
   runner.addTest(TestFactoryRegistry::getRegistry().makeTest());
-  if (verbose)
+  if (!silent)
     runner.eventManager().addListener( &listener );
   runner.setOutputter(new CompilerOutputter(&runner.result(), std::cerr));
 
-  return runner.run("", false, true, !verbose) ? 0 : 1;
+  return runner.run("", false, true, silent) ? 0 : 1;
 }

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to