Change the format of the output so that you can jump to the error with your editor.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-05-01 20:04:47 +00:00
parent 72c1ea9168
commit 14dc53b2f3
2 changed files with 13 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ using CppUnit::Test;
using CppUnit::TestSuite;
using CppUnit::TestFactoryRegistry;
using CppUnit::TextUi::TestRunner;
using CppUnit::CompilerOutputter;
using std::string;
using std::vector;
@@ -131,6 +132,8 @@ int TestApp::OnRun()
runner.addTest(test.release());
}
runner.setOutputter(new CompilerOutputter(&runner.result(), cout));
#if wxUSE_LOG
// Switch off logging unless --verbose
bool verbose = wxLog::GetVerbose();