[PATCH 0/1] MR2023: dplayx/tests: Skip tests when the dll is missing.
From: Hans Leidekker <hans(a)codeweavers.com> --- 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; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2023
This merge request was approved by Alistair Leslie-Hughes. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2023
participants (3)
-
Alistair Leslie-Hughes (@alesliehughes) -
Hans Leidekker -
Hans Leidekker (@hans)