Replace INFO() with WARN() in wxDateTime::UNow() unit test
Another desperate attempt to understand how are failures such as the one at https://travis-ci.org/wxWidgets/wxWidgets/jobs/601043830 possible.
This commit is contained in:
@@ -1711,12 +1711,11 @@ TEST_CASE("wxDateTime::UNow", "[datetime][now][unow]")
|
||||
{
|
||||
now = wxDateTime::Now();
|
||||
unow = wxDateTime::UNow();
|
||||
if ( now.GetSecond() != unow.GetSecond() )
|
||||
{
|
||||
INFO("wxDateTime::Now() and UNow() returned different "
|
||||
"second values, retrying.");
|
||||
if ( now.GetSecond() == unow.GetSecond() )
|
||||
break;
|
||||
}
|
||||
|
||||
WARN("wxDateTime::Now() and UNow() returned different "
|
||||
"second values, retrying.");
|
||||
}
|
||||
|
||||
CHECK( now.GetYear() == unow.GetYear() );
|
||||
|
Reference in New Issue
Block a user