Yet another wxStopWatch unit test fix for buildbot.

Relax the check in RestartBug() test too, the time can be slightly smaller
than expected (by ~2ms on disc-xp machine).
This commit is contained in:
Vadim Zeitlin
2015-04-15 15:55:24 +02:00
parent cd6fb7a9bd
commit 7af8598903

View File

@@ -153,7 +153,7 @@ void StopWatchTestCase::RestartBug()
WX_ASSERT_MESSAGE WX_ASSERT_MESSAGE
( (
("Actual time value is %ld", t), ("Actual time value is %ld", t),
t >= offset + sleepTime t >= offset + sleepTime - tolerance
); );
// As above, this is not actually due to the fact of the test being // As above, this is not actually due to the fact of the test being