From e82e74bfb5896d1dae3684f795782f767cbf73c4 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 24 Jan 2023 13:29:42 +0100 Subject: [PATCH] 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; }