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
4542ab35
Commit
4542ab35
authored
Feb 19, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Use skip() instead of trace().
parent
b63728a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
visual.c
dlls/ddraw/tests/visual.c
+4
-4
No files found.
dlls/ddraw/tests/visual.c
View file @
4542ab35
...
@@ -2638,28 +2638,28 @@ START_TEST(visual)
...
@@ -2638,28 +2638,28 @@ START_TEST(visual)
hr
=
IDirect3DDevice7_Clear
(
Direct3DDevice
,
0
,
NULL
,
D3DCLEAR_TARGET
,
0xffff0000
,
0
.
0
,
0
);
hr
=
IDirect3DDevice7_Clear
(
Direct3DDevice
,
0
,
NULL
,
D3DCLEAR_TARGET
,
0xffff0000
,
0
.
0
,
0
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
{
{
trace
(
"Clear failed, can't assure correctness of the test results, skipping
\n
"
);
skip
(
"Clear failed, can't assure correctness of the test results, skipping
\n
"
);
goto
cleanup
;
goto
cleanup
;
}
}
color
=
getPixelColor
(
Direct3DDevice
,
1
,
1
);
color
=
getPixelColor
(
Direct3DDevice
,
1
,
1
);
if
(
color
!=
0x00ff0000
)
if
(
color
!=
0x00ff0000
)
{
{
trace
(
"Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping
\n
"
,
color
);
skip
(
"Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping
\n
"
,
color
);
goto
cleanup
;
goto
cleanup
;
}
}
hr
=
IDirect3DDevice7_Clear
(
Direct3DDevice
,
0
,
NULL
,
D3DCLEAR_TARGET
,
0xff00ddee
,
0
.
0
,
0
);
hr
=
IDirect3DDevice7_Clear
(
Direct3DDevice
,
0
,
NULL
,
D3DCLEAR_TARGET
,
0xff00ddee
,
0
.
0
,
0
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
{
{
trace
(
"Clear failed, can't assure correctness of the test results, skipping
\n
"
);
skip
(
"Clear failed, can't assure correctness of the test results, skipping
\n
"
);
goto
cleanup
;
goto
cleanup
;
}
}
color
=
getPixelColor
(
Direct3DDevice
,
639
,
479
);
color
=
getPixelColor
(
Direct3DDevice
,
639
,
479
);
if
(
color
!=
0x0000ddee
)
if
(
color
!=
0x0000ddee
)
{
{
trace
(
"Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping
\n
"
,
color
);
skip
(
"Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping
\n
"
,
color
);
goto
cleanup
;
goto
cleanup
;
}
}
...
...
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