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
cda738d6
Commit
cda738d6
authored
Oct 30, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Relax some more timeouts.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d5cde6ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
filtergraph.c
dlls/quartz/tests/filtergraph.c
+1
-1
systemclock.c
dlls/quartz/tests/systemclock.c
+5
-5
No files found.
dlls/quartz/tests/filtergraph.c
View file @
cda738d6
...
...
@@ -512,7 +512,7 @@ static void test_media_event(IFilterGraph2 *graph)
while
(
!
got_eos
)
{
if
(
WaitForSingleObject
(
event
,
2
000
)
==
WAIT_TIMEOUT
)
if
(
WaitForSingleObject
(
event
,
5
000
)
==
WAIT_TIMEOUT
)
break
;
while
((
hr
=
IMediaEvent_GetEvent
(
media_event
,
&
code
,
&
lparam1
,
&
lparam2
,
0
))
==
S_OK
)
...
...
dlls/quartz/tests/systemclock.c
View file @
cda738d6
...
...
@@ -120,8 +120,8 @@ static void test_advise(void)
hr
=
IReferenceClock_AdviseTime
(
clock
,
current
,
500
*
10000
,
(
HEVENT
)
event
,
&
cookie
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
WaitForSingleObject
(
event
,
4
8
0
)
==
WAIT_TIMEOUT
,
"Event should not be signaled.
\n
"
);
ok
(
!
WaitForSingleObject
(
event
,
4
0
),
"Event should be signaled.
\n
"
);
ok
(
WaitForSingleObject
(
event
,
4
6
0
)
==
WAIT_TIMEOUT
,
"Event should not be signaled.
\n
"
);
ok
(
!
WaitForSingleObject
(
event
,
8
0
),
"Event should be signaled.
\n
"
);
hr
=
IReferenceClock_Unadvise
(
clock
,
cookie
);
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
...
...
@@ -133,15 +133,15 @@ static void test_advise(void)
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IReferenceClock_Unadvise
(
clock
,
cookie
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
WaitForSingleObject
(
event
,
5
2
0
)
==
WAIT_TIMEOUT
,
"Event should not be signaled.
\n
"
);
ok
(
WaitForSingleObject
(
event
,
5
4
0
)
==
WAIT_TIMEOUT
,
"Event should not be signaled.
\n
"
);
ResetEvent
(
event
);
hr
=
IReferenceClock_GetTime
(
clock
,
&
current
);
ok
(
SUCCEEDED
(
hr
),
"Got hr %#x.
\n
"
,
hr
);
hr
=
IReferenceClock_AdviseTime
(
clock
,
current
+
500
*
10000
,
0
,
(
HEVENT
)
event
,
&
cookie
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
WaitForSingleObject
(
event
,
4
8
0
)
==
WAIT_TIMEOUT
,
"Event should not be signaled.
\n
"
);
ok
(
!
WaitForSingleObject
(
event
,
4
0
),
"Event should be signaled.
\n
"
);
ok
(
WaitForSingleObject
(
event
,
4
6
0
)
==
WAIT_TIMEOUT
,
"Event should not be signaled.
\n
"
);
ok
(
!
WaitForSingleObject
(
event
,
8
0
),
"Event should be signaled.
\n
"
);
hr
=
IReferenceClock_GetTime
(
clock
,
&
current
);
ok
(
SUCCEEDED
(
hr
),
"Got hr %#x.
\n
"
,
hr
);
...
...
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