From ce62dc893a11d7b3e809b694e1967aa8159fd874 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Apr 2015 15:55:24 +0200 Subject: [PATCH] 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 is the backport of 7af85989036f430a079d9d6aa11e1c044f396eba from master. --- tests/events/stopwatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/events/stopwatch.cpp b/tests/events/stopwatch.cpp index 1794cbfec1..c7d5d364d6 100644 --- a/tests/events/stopwatch.cpp +++ b/tests/events/stopwatch.cpp @@ -145,7 +145,7 @@ void StopWatchTestCase::RestartBug() WX_ASSERT_MESSAGE ( ("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