Use standard timestamp format for debug messages in the tests
Don't use the current locale format which doesn't provide all the information (e.g. never includes milliseconds) and explicitly set the format providing it instead when showing wxLogTrace() messages.
This commit is contained in:
parent
9730bd2942
commit
89bc7b522f
1 changed files with 2 additions and 0 deletions
|
|
@ -618,6 +618,8 @@ int TestApp::RunTests()
|
|||
// running the tests.
|
||||
if ( !wxGetEnv(wxASCII_STR("WXTRACE"), NULL) )
|
||||
wxLog::EnableLogging(false);
|
||||
else
|
||||
wxLog::SetTimestamp("%Y-%m-%d %H:%M:%S.%l");
|
||||
#endif
|
||||
|
||||
// Cast is needed under MSW where Catch also provides an overload taking
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue