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
8e8f8401
Commit
8e8f8401
authored
Oct 06, 2007
by
Dan Kegel
Committed by
Alexandre Julliard
Oct 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Make clock test less flaky.
parent
0065387b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
referenceclock.c
dlls/quartz/tests/referenceclock.c
+2
-1
No files found.
dlls/quartz/tests/referenceclock.c
View file @
8e8f8401
...
...
@@ -66,8 +66,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%. */
diff
=
time2
-
time1
;
ok
(
99
80000
<=
diff
&&
diff
<=
1002
0000
,
"%s - Expected difference around 10000000, got %lu
\n
"
,
clockdesc
,
diff
);
ok
(
99
40000
<=
diff
&&
diff
<=
1006
0000
,
"%s - Expected difference around 10000000, got %lu
\n
"
,
clockdesc
,
diff
);
}
...
...
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