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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user