]> git.saurik.com Git - wxWidgets.git/commitdiff
try to use 0/1 instead of the cstdlib' EXIT_SUCCESS/FAILURE constants to see if build...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 21 Mar 2009 00:16:43 +0000 (00:16 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 21 Mar 2009 00:16:43 +0000 (00:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/test.cpp

index afc4ad2ab546e746bf25ff38f4fa4950dc6d2de9..f0c34e5526e4907438617be7a27406bc8bfd294e 100644 (file)
@@ -255,7 +255,7 @@ int TestApp::OnRun()
     }
 
     if ( m_list )
-        return EXIT_SUCCESS;
+        return 0;
 
     runner.setOutputter(new CppUnit::CompilerOutputter(&runner.result(), cout));
 
@@ -279,7 +279,7 @@ int TestApp::OnRun()
     if ( m_detail || m_timing )
         runner.eventManager().addListener(&detailListener);
 
-    return runner.run("", false, true, !verbose) ? EXIT_SUCCESS : EXIT_FAILURE;
+    return runner.run("", false, true, !verbose) ? 0 : 1;
 }
 
 int TestApp::OnExit()