Show some information about the environment in the unit tests.
For now just show the system description and the locale, this should already be helpful for diagnosing some test failures. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e282b73a5b
commit
c66bfe457c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user