[cig-commits] r13528 - cs/cigma/trunk/tests

luis at geodynamics.org luis at geodynamics.org
Tue Dec 9 18:13:24 PST 2008


Author: luis
Date: 2008-12-09 18:13:24 -0800 (Tue, 09 Dec 2008)
New Revision: 13528

Modified:
   cs/cigma/trunk/tests/main.cpp
Log:
Turn off logging in CppUnit tests

Modified: cs/cigma/trunk/tests/main.cpp
===================================================================
--- cs/cigma/trunk/tests/main.cpp	2008-12-10 02:13:22 UTC (rev 13527)
+++ cs/cigma/trunk/tests/main.cpp	2008-12-10 02:13:24 UTC (rev 13528)
@@ -3,8 +3,14 @@
 #include <cppunit/BriefTestProgressListener.h>
 #include <cppunit/TestResult.h>
 
+#include "tri_logger.hpp"
+
 int main(int argc, char *argv[])
 {
+    // Turn off logger
+    TRI_LOG_OFF();
+
+    // Create a test runner from registry entries
     CPPUNIT_NS::TextUi::TestRunner runner;
     CPPUNIT_NS::TestFactoryRegistry &registry = CPPUNIT_NS::TestFactoryRegistry::getRegistry();
     runner.addTest(registry.makeTest());



More information about the CIG-COMMITS mailing list