Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ff7ebba2
Commit
ff7ebba2
authored
Feb 04, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Avoid spurious test failures on Windows.
parent
cb167e8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mci.c
dlls/winmm/tests/mci.c
+2
-2
No files found.
dlls/winmm/tests/mci.c
View file @
ff7ebba2
...
...
@@ -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 40
0-600ms range
\n
"
,
p2
);
todo_wine
ok
(
350
<=
p2
&&
p2
<=
600
,
"%ums is not in the expected 35
0-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 40
0-1000ms range
\n
"
,
p2
);
ok
(
350
<=
p2
&&
p2
<=
1000
,
"%ums is not even in the expected 35
0-1000ms range
\n
"
,
p2
);
test_notification
(
hwnd
,
"play (nowait)"
,
0
);
err
=
mciSendStringA
(
"pause mysound wait"
,
NULL
,
0
,
hwnd
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment