Module: wine Branch: master Commit: ff7ebba27f8aea62f09cabd8a8bf285baec6a938 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff7ebba27f8aea62f09cabd8a8...
Author: Michael Stefaniuc mstefani@redhat.de Date: Tue Feb 4 13:30:57 2014 +0100
winmm/tests: Avoid spurious test failures on Windows.
---
dlls/winmm/tests/mci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winmm/tests/mci.c b/dlls/winmm/tests/mci.c index 1ce0260..6a68b41 100644 --- a/dlls/winmm/tests/mci.c +++ b/dlls/winmm/tests/mci.c @@ -986,14 +986,14 @@ static void test_asyncWAVE(HWND hwnd) /* Check that the 2s sound plays at a normal pace, giving a wide margin to * account for timing granularity and small delays. */ - todo_wine ok(400 <= p2 && p2 <= 600, "%ums is not in the expected 400-600ms range\n", p2); + todo_wine ok(350 <= p2 && p2 <= 600, "%ums is not in the expected 350-600ms range\n", p2); /* Wine's asynchronous thread needs some time to start up. Furthermore, it * uses 3 buffers per second, so that the positions reported will be 333ms, * 667ms etc. at best, which is why it fails the above test. So add a * second test specifically to prevent Wine from getting even worse. * FIXME: To be removed when Wine is fixed and passes the above test. */ - ok(400 <= p2 && p2 <= 1000, "%ums is not even in the expected 400-1000ms range\n", p2); + ok(350 <= p2 && p2 <= 1000, "%ums is not even in the expected 350-1000ms range\n", p2); test_notification(hwnd,"play (nowait)",0);
err = mciSendStringA("pause mysound wait", NULL, 0, hwnd);