mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 09:57:19 +00:00
dplayx/tests: Skip tests when the dll is missing.
This commit is contained in:
parent
8a6115f76f
commit
e82e74bfb5
|
@ -6906,9 +6906,9 @@ START_TEST(dplayx)
|
|||
}
|
||||
strcat(path, "\\dplayx.dll");
|
||||
|
||||
if (!winetest_interactive && is_stub_dll(path))
|
||||
if (!winetest_interactive && (GetFileAttributesA(path) == INVALID_FILE_ATTRIBUTES || is_stub_dll(path)))
|
||||
{
|
||||
win_skip("dpnet is a stub dll, skipping tests\n");
|
||||
win_skip("dplayx is missing or a stub dll, skipping tests\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue