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:
@@ -479,6 +479,13 @@ bool TestApp::OnInit()
|
|||||||
#endif
|
#endif
|
||||||
<< "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl;
|
<< "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
|
#if wxUSE_GUI
|
||||||
// create a hidden parent window to be used as parent for the GUI controls
|
// create a hidden parent window to be used as parent for the GUI controls
|
||||||
wxTestableFrame* frame = new wxTestableFrame();
|
wxTestableFrame* frame = new wxTestableFrame();
|
||||||
|
Reference in New Issue
Block a user