Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3462b4d1
Commit
3462b4d1
authored
Sep 06, 2019
by
Daniel Lehman
Committed by
Alexandre Julliard
Sep 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Adjust timing on RtlWaitOnAddress tests.
Signed-off-by:
Daniel Lehman
<
dlehman25@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e07efbd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
om.c
dlls/ntdll/tests/om.c
+2
-2
No files found.
dlls/ntdll/tests/om.c
View file @
3462b4d1
...
...
@@ -2115,7 +2115,7 @@ static void test_wait_on_address(void)
status
=
pRtlWaitOnAddress
(
&
address
,
&
compare
,
8
,
&
timeout
);
ticks
=
GetTickCount
()
-
ticks
;
ok
(
status
==
STATUS_TIMEOUT
,
"got 0x%08x
\n
"
,
status
);
ok
(
ticks
>=
10
0
&&
ticks
<=
1000
,
"got %u
\n
"
,
ticks
);
ok
(
ticks
>=
9
0
&&
ticks
<=
1000
,
"got %u
\n
"
,
ticks
);
ok
(
address
==
0
,
"got %s
\n
"
,
wine_dbgstr_longlong
(
address
));
ok
(
compare
==
0
,
"got %s
\n
"
,
wine_dbgstr_longlong
(
compare
));
...
...
@@ -2130,7 +2130,7 @@ static void test_wait_on_address(void)
status
=
pRtlWaitOnAddress
(
&
address
,
&
compare
,
size
,
&
timeout
);
ticks
=
GetTickCount
()
-
ticks
;
ok
(
status
==
STATUS_TIMEOUT
,
"got 0x%08x
\n
"
,
status
);
ok
(
ticks
>=
10
0
&&
ticks
<=
1000
,
"got %u
\n
"
,
ticks
);
ok
(
ticks
>=
9
0
&&
ticks
<=
1000
,
"got %u
\n
"
,
ticks
);
status
=
pRtlWaitOnAddress
(
&
address
,
&
compare
,
size
<<
1
,
&
timeout
);
ok
(
!
status
,
"got 0x%08x
\n
"
,
status
);
...
...
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