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
b0abafe7
Commit
b0abafe7
authored
May 18, 2009
by
Andrew Nguyen
Committed by
Alexandre Julliard
May 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Correctly skip when Unicode thread functions are not available.
parent
fda79ef2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
thread.c
dlls/kernel32/tests/thread.c
+8
-2
No files found.
dlls/kernel32/tests/thread.c
View file @
b0abafe7
...
...
@@ -693,7 +693,10 @@ static VOID test_thread_priority(void)
SetLastError
(
0xdeadbeef
);
rc
=
pGetThreadPriorityBoost
(
curthread
,
&
disabled
);
if
(
rc
==
0
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
return
;
/* WinME */
{
win_skip
(
"GetThreadPriorityBoost is not implemented on WinME
\n
"
);
return
;
}
todo_wine
ok
(
rc
!=
0
,
"error=%d
\n
"
,
GetLastError
());
...
...
@@ -755,7 +758,10 @@ static VOID test_GetThreadTimes(void)
/* GetThreadTimes should set all of the parameters passed to it */
error
=
GetThreadTimes
(
thread
,
&
creationTime
,
&
exitTime
,
&
kernelTime
,
&
userTime
);
if
(
error
!=
0
||
GetLastError
()
!=
ERROR_CALL_NOT_IMPLEMENTED
)
{
if
(
error
==
0
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
win_skip
(
"GetThreadTimes is not implemented
\n
"
);
else
{
ok
(
error
!=
0
,
"GetThreadTimes failed
\n
"
);
ok
(
creationTime
.
dwLowDateTime
!=
99
||
creationTime
.
dwHighDateTime
!=
99
,
"creationTime was invalid
\n
"
);
...
...
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