From d24a0a3a30679b46ee40185808a83900ad5a569b Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 21 Mar 2009 00:16:43 +0000 Subject: [PATCH] try to use 0/1 instead of the cstdlib' EXIT_SUCCESS/FAILURE constants to see if buildbot makes red the currently-green boxes relative to wxMSW test runs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.cpp b/tests/test.cpp index afc4ad2ab5..f0c34e5526 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -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() -- 2.45.2