X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1287154cde58f6c7d0c4425b1e1d3193ee9abef..17beda75ef9780ebef5044e41889a9b598dcf186:/tests/test.cpp diff --git a/tests/test.cpp b/tests/test.cpp index 155bfdf154..6619dd21c5 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -165,7 +165,7 @@ static string GetExceptionMessage() throw; } #if wxDEBUG_LEVEL - catch ( TestAssertFailure& e ) + catch ( TestAssertFailure& ) { msg = s_lastAssertMessage; s_lastAssertMessage.clear(); @@ -479,6 +479,13 @@ bool TestApp::OnInit() #endif << "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl; + if ( m_detail ) + { + // Output some important information about the test environment. + cout << "Running under " << wxGetOsDescription() << ", " + "locale is " << setlocale(LC_ALL, NULL) << std::endl; + } + #if wxUSE_GUI // create a hidden parent window to be used as parent for the GUI controls wxTestableFrame* frame = new wxTestableFrame();