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
97d2802d
Commit
97d2802d
authored
Mar 10, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Add InterruptTimeBias to fix spurious test failures.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8591c2ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
time.c
dlls/ntdll/tests/time.c
+2
-3
No files found.
dlls/ntdll/tests/time.c
View file @
97d2802d
...
...
@@ -243,14 +243,13 @@ static void test_user_shared_data_time(void)
do
{
pRtlQueryUnbiasedInterruptTime
(
&
t1
);
t2
=
read_ksystem_time
(
&
user_shared_data
->
InterruptTime
);
t2
=
read_ksystem_time
(
&
user_shared_data
->
InterruptTime
)
-
user_shared_data
->
InterruptTimeBias
;
pRtlQueryUnbiasedInterruptTime
(
&
t3
);
}
while
(
t3
<
t1
&&
i
++
<
1
);
/* allow for wrap, but only once */
ok
(
t1
<=
t2
,
"USD InterruptTime / RtlQueryUnbiasedInterruptTime are out of order %s %s
\n
"
,
wine_dbgstr_longlong
(
t1
),
wine_dbgstr_longlong
(
t2
));
ok
(
t2
<=
t3
||
broken
(
t2
==
t3
+
82410089070
)
/* w864 has some weird offset on testbot */
,
"USD InterruptTime / RtlQueryUnbiasedInterruptTime are out of order %s %s
\n
"
,
ok
(
t2
<=
t3
,
"USD InterruptTime / RtlQueryUnbiasedInterruptTime are out of order %s %s
\n
"
,
wine_dbgstr_longlong
(
t2
),
wine_dbgstr_longlong
(
t3
));
}
}
...
...
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