X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d01ec0965c3d6828167e501db8a7bc9c6e818e85..31f125ed00f3391ba78371c7aa0b4919427050d8:/tests/test.cpp?ds=sidebyside diff --git a/tests/test.cpp b/tests/test.cpp index a2a04ed98c..cdb57c535a 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -423,7 +423,9 @@ extern bool IsAutomaticTest() if ( !wxGetEnv("WX_TEST_USER", &username) ) username = wxGetUserId(); - s_isAutomatic = username.Lower().Matches("buildslave*"); + username.MakeLower(); + s_isAutomatic = username.Matches("buildslave*") || + username.Matches("sandbox*"); } return s_isAutomatic == 1; @@ -477,7 +479,16 @@ bool TestApp::OnInit() #else cout << "Test program for wxWidgets non-GUI features\n" #endif - << "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl; + << "build: " << WX_BUILD_OPTIONS_SIGNATURE << "\n" + << "running under " << wxGetOsDescription() + << " as " << wxGetUserId() << 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