revert 59680; implement proper fix for wxMSW test failure detection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-03-21 12:28:52 +00:00
parent 9decc52d62
commit 1dd8319ab9
3 changed files with 31 additions and 10 deletions

View File

@@ -255,7 +255,7 @@ int TestApp::OnRun()
}
if ( m_list )
return 0;
return EXIT_SUCCESS;
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) ? 0 : 1;
return runner.run("", false, true, !verbose) ? EXIT_SUCCESS : EXIT_FAILURE;
}
int TestApp::OnExit()