mirror of
https://github.com/audacity/wxWidgets.git
synced 2025-12-10 03:58:56 -06:00
Add a diagnostic message to wxDateTime::UNow() unit test
Try to understand what's going in Travis CI builds.
This commit is contained in:
parent
248d4a8631
commit
8d962b0121
@ -1711,8 +1711,12 @@ TEST_CASE("wxDateTime::UNow", "[datetime][now][unow]")
|
||||
{
|
||||
now = wxDateTime::Now();
|
||||
unow = wxDateTime::UNow();
|
||||
if ( now.GetSecond() == unow.GetSecond() )
|
||||
if ( now.GetSecond() != unow.GetSecond() )
|
||||
{
|
||||
INFO("wxDateTime::Now() and UNow() returned different "
|
||||
"second values, retrying.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
CHECK( now.GetYear() == unow.GetYear() );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user