Module: wine Branch: master Commit: 973c29716bd7503f01da44875aaaf77a2f7b5646 URL: http://source.winehq.org/git/wine.git/?a=commit;h=973c29716bd7503f01da44875a...
Author: Steven Edwards winehacker@gmail.com Date: Fri Feb 15 08:48:27 2008 -0500
quartz: Bump the amount of time in the referenceclock test slightly.
---
dlls/quartz/tests/referenceclock.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/tests/referenceclock.c b/dlls/quartz/tests/referenceclock.c index 639af46..a56fb25 100644 --- a/dlls/quartz/tests/referenceclock.c +++ b/dlls/quartz/tests/referenceclock.c @@ -84,9 +84,9 @@ static void test_IReferenceClock_methods(const char * clockdesc, IReferenceClock ok (hr == S_OK, "%s - Expected S_OK, got 0x%08x\n", clockdesc, hr);
/* FIXME: How much deviation should be allowed after a sleep? */ - /* 0.3% is common, and 0.4% is sometimes observed. Let's try 0.6%. */ + /* 0.3% is common, and 0.4% is sometimes observed. */ diff = time2 - time1; - ok (9940000 <= diff && diff <= 10060000, "%s - Expected difference around 10000000, got %lu\n", clockdesc, diff); + ok (9940000 <= diff && diff <= 10240000, "%s - Expected difference around 10000000, got %lu\n", clockdesc, diff);
}