[fdo-commits] r2565 - trunk/Providers/GDAL/Src/UnitTest

svn_fdo at osgeo.org svn_fdo at osgeo.org
Tue Feb 20 14:44:09 EST 2007


Author: warmerdam
Date: 2007-02-20 14:44:09 -0500 (Tue, 20 Feb 2007)
New Revision: 2565

Modified:
   trunk/Providers/GDAL/Src/UnitTest/UnitTest.cpp
Log:
default to using text outputter on linux

Modified: trunk/Providers/GDAL/Src/UnitTest/UnitTest.cpp
===================================================================
--- trunk/Providers/GDAL/Src/UnitTest/UnitTest.cpp	2007-02-20 19:42:15 UTC (rev 2564)
+++ trunk/Providers/GDAL/Src/UnitTest/UnitTest.cpp	2007-02-20 19:44:09 UTC (rev 2565)
@@ -72,6 +72,8 @@
 {
 	CppUnit::TextUi::TestRunner runner;
 
+        std::cout << "Test Report\n";
+
 #ifdef TEST_JPG	
 	runner.addTest(RfpTestJpg::suite());
 #endif
@@ -172,10 +174,10 @@
 
 	runner.run("", wait); 
 #else
-	runner.setOutputter( new CppUnit::XmlOutputter( 
+	runner.setOutputter( new CppUnit::TextOutputter( 
                            &runner.result(),
                            std::cout ) );
-	runner.run("", true); 
+	runner.run("", false); 
 
 #endif
 }



More information about the fdo-commits mailing list