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
c8b9a2dc
Commit
c8b9a2dc
authored
Oct 23, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic/tests: Skip test_default_gm_collection if gm.dls is missing.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55688
parent
bbdea3af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
dmusic.c
dlls/dmusic/tests/dmusic.c
+7
-0
No files found.
dlls/dmusic/tests/dmusic.c
View file @
c8b9a2dc
...
...
@@ -1608,6 +1608,11 @@ static void test_default_gm_collection(void)
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
hr
=
IDirectMusicLoader_GetObject
(
loader
,
&
desc
,
&
IID_IDirectMusicCollection
,
(
void
**
)
&
collection
);
if
(
hr
==
DMUS_E_LOADER_NOFILENAME
)
{
skip
(
"Failed to open default GM collection, skipping tests. Missing system SoundFont?
\n
"
);
goto
skip_tests
;
}
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
for
(
i
=
0
;
hr
==
S_OK
&&
i
<
ARRAY_SIZE
(
results
);
i
++
)
...
...
@@ -1635,6 +1640,8 @@ static void test_default_gm_collection(void)
}
IDirectMusicCollection_Release
(
collection
);
skip_tests:
IDirectMusicLoader_Release
(
loader
);
}
...
...
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