Module: wine Branch: master Commit: e82e74bfb5896d1dae3684f795782f767cbf73c4 URL: https://gitlab.winehq.org/wine/wine/-/commit/e82e74bfb5896d1dae3684f795782f7...
Author: Hans Leidekker hans@codeweavers.com Date: Tue Jan 24 13:29:42 2023 +0100
dplayx/tests: Skip tests when the dll is missing.
---
dlls/dplayx/tests/dplayx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dplayx/tests/dplayx.c b/dlls/dplayx/tests/dplayx.c index 6cc149bac95..ba0f73194f6 100644 --- a/dlls/dplayx/tests/dplayx.c +++ b/dlls/dplayx/tests/dplayx.c @@ -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; }