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
c28e9280
Commit
c28e9280
authored
Feb 11, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
concrt140/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d318f435
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/concrt140/tests/Makefile.in
+0
-1
concrt140.c
dlls/concrt140/tests/concrt140.c
+6
-6
No files found.
dlls/concrt140/tests/Makefile.in
View file @
c28e9280
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
concrt140.dll
C_SRCS
=
\
...
...
dlls/concrt140/tests/concrt140.c
View file @
c28e9280
...
...
@@ -187,9 +187,9 @@ static void test_Timer(void)
call_func1
(
p__Timer__Start
,
&
timer
);
ok
(
timer
.
timer
!=
NULL
,
"timer = NULL
\n
"
);
ret
=
WaitForSingleObject
(
callback_called
,
1000
);
ok
(
ret
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %
d
\n
"
,
ret
);
ok
(
ret
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %
lu
\n
"
,
ret
);
ret
=
WaitForSingleObject
(
callback_called
,
1000
);
ok
(
ret
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %
d
\n
"
,
ret
);
ok
(
ret
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %
lu
\n
"
,
ret
);
call_func1
(
p__Timer__Stop
,
&
timer
);
ok
(
!
timer
.
timer
,
"timer != NULL
\n
"
);
call_func1
(
p__Timer_dtor
,
&
timer
);
...
...
@@ -200,9 +200,9 @@ static void test_Timer(void)
call_func1
(
p__Timer__Start
,
&
timer
);
ok
(
timer
.
timer
!=
NULL
,
"timer = NULL
\n
"
);
ret
=
WaitForSingleObject
(
callback_called
,
1000
);
ok
(
ret
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %
d
\n
"
,
ret
);
ok
(
ret
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %
lu
\n
"
,
ret
);
ret
=
WaitForSingleObject
(
callback_called
,
100
);
ok
(
ret
==
WAIT_TIMEOUT
,
"WaitForSingleObject returned %
d
\n
"
,
ret
);
ok
(
ret
==
WAIT_TIMEOUT
,
"WaitForSingleObject returned %
lu
\n
"
,
ret
);
call_func1
(
p__Timer_dtor
,
&
timer
);
call_func3
(
p__Timer_ctor
,
&
timer
,
0
,
TRUE
);
...
...
@@ -210,9 +210,9 @@ static void test_Timer(void)
call_func1
(
p__Timer__Start
,
&
timer
);
ok
(
timer
.
timer
!=
NULL
,
"timer = NULL
\n
"
);
ret
=
WaitForSingleObject
(
callback_called
,
1000
);
ok
(
ret
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %
d
\n
"
,
ret
);
ok
(
ret
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %
lu
\n
"
,
ret
);
ret
=
WaitForSingleObject
(
callback_called
,
100
);
ok
(
ret
==
WAIT_TIMEOUT
,
"WaitForSingleObject returned %
d
\n
"
,
ret
);
ok
(
ret
==
WAIT_TIMEOUT
,
"WaitForSingleObject returned %
lu
\n
"
,
ret
);
call_func1
(
p__Timer__Stop
,
&
timer
);
ok
(
!
timer
.
timer
,
"timer != NULL
\n
"
);
call_func1
(
p__Timer_dtor
,
&
timer
);
...
...
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