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
034765e1
Commit
034765e1
authored
Mar 12, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi/tests: Load dnsapi dynamically and use skip.
parent
4b2ba3e1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
Makefile.in
dlls/dnsapi/tests/Makefile.in
+1
-1
name.c
dlls/dnsapi/tests/name.c
+7
-1
record.c
dlls/dnsapi/tests/record.c
+7
-1
No files found.
dlls/dnsapi/tests/Makefile.in
View file @
034765e1
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
TESTDLL
=
dnsapi.dll
IMPORTS
=
dnsapi
kernel32
IMPORTS
=
kernel32
CTESTS
=
\
name.c
\
...
...
dlls/dnsapi/tests/name.c
View file @
034765e1
...
...
@@ -219,10 +219,16 @@ static void test_DnsNameCompare_A( void )
START_TEST
(
name
)
{
dnsapi
=
LoadLibraryA
(
"dnsapi.dll"
);
if
(
!
dnsapi
)
return
;
if
(
!
dnsapi
)
{
/* Doesn't exist before W2K */
skip
(
"dnsapi.dll cannot be loaded
\n
"
);
return
;
}
if
(
!
init_function_ptrs
())
{
skip
(
"Needed functions are not available
\n
"
);
FreeLibrary
(
dnsapi
);
return
;
}
...
...
dlls/dnsapi/tests/record.c
View file @
034765e1
...
...
@@ -150,10 +150,16 @@ static void test_DnsRecordSetDetach( void )
START_TEST
(
record
)
{
dnsapi
=
LoadLibraryA
(
"dnsapi.dll"
);
if
(
!
dnsapi
)
return
;
if
(
!
dnsapi
)
{
/* Doesn't exist before W2K */
skip
(
"dnsapi.dll cannot be loaded
\n
"
);
return
;
}
if
(
!
init_function_ptrs
())
{
skip
(
"Needed functions are not available
\n
"
);
FreeLibrary
(
dnsapi
);
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