Commit e82e74bf authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

dplayx/tests: Skip tests when the dll is missing.

parent 8a6115f7
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment