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
a76e6b11
Commit
a76e6b11
authored
Jan 11, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Warn that tests were skipped if we could not load d3d8.dll.
But report a failed test if a mandatory function is missing from it.
parent
354b9e7a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
3 deletions
+13
-3
d3d8_main.c
dlls/d3d8/tests/d3d8_main.c
+4
-0
device.c
dlls/d3d8/tests/device.c
+6
-0
surface.c
dlls/d3d8/tests/surface.c
+1
-1
texture.c
dlls/d3d8/tests/texture.c
+1
-1
volume.c
dlls/d3d8/tests/volume.c
+1
-1
No files found.
dlls/d3d8/tests/d3d8_main.c
View file @
a76e6b11
...
...
@@ -107,7 +107,11 @@ START_TEST(d3d8_main)
{
HMODULE
d3d8_handle
=
LoadLibraryA
(
"d3d8.dll"
);
if
(
!
d3d8_handle
)
{
skip
(
"Could not load d3d8.dll
\n
"
);
return
;
}
ValidateVertexShader
=
(
void
*
)
GetProcAddress
(
d3d8_handle
,
"ValidateVertexShader"
);
ValidatePixelShader
=
(
void
*
)
GetProcAddress
(
d3d8_handle
,
"ValidatePixelShader"
);
test_ValidateVertexShader
();
...
...
dlls/d3d8/tests/device.c
View file @
a76e6b11
...
...
@@ -763,8 +763,14 @@ static void test_display_modes(void)
START_TEST
(
device
)
{
HMODULE
d3d8_handle
=
LoadLibraryA
(
"d3d8.dll"
);
if
(
!
d3d8_handle
)
{
skip
(
"Could not load d3d8.dll
\n
"
);
return
;
}
pDirect3DCreate8
=
(
void
*
)
GetProcAddress
(
d3d8_handle
,
"Direct3DCreate8"
);
ok
(
pDirect3DCreate8
!=
NULL
,
"Failed to get address of Direct3DCreate8
\n
"
);
if
(
pDirect3DCreate8
)
{
test_display_modes
();
...
...
dlls/d3d8/tests/surface.c
View file @
a76e6b11
...
...
@@ -129,7 +129,7 @@ START_TEST(surface)
d3d8_handle
=
LoadLibraryA
(
"d3d8.dll"
);
if
(
!
d3d8_handle
)
{
trace
(
"Could not load d3d8.dll, skipping tests
\n
"
);
skip
(
"Could not load d3d8.dll
\n
"
);
return
;
}
...
...
dlls/d3d8/tests/texture.c
View file @
a76e6b11
...
...
@@ -110,7 +110,7 @@ START_TEST(texture)
d3d8_handle
=
LoadLibraryA
(
"d3d8.dll"
);
if
(
!
d3d8_handle
)
{
trace
(
"Could not load d3d8.dll, skipping tests
\n
"
);
skip
(
"Could not load d3d8.dll
\n
"
);
return
;
}
...
...
dlls/d3d8/tests/volume.c
View file @
a76e6b11
...
...
@@ -129,7 +129,7 @@ START_TEST(volume)
d3d8_handle
=
LoadLibraryA
(
"d3d8.dll"
);
if
(
!
d3d8_handle
)
{
trace
(
"Could not load d3d8.dll, skipping tests
\n
"
);
skip
(
"Could not load d3d8.dll
\n
"
);
return
;
}
...
...
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