[PATCH] msvcrtd/tests: Missing the library should be a win_skip().

Francois Gouget fgouget at codeweavers.com
Mon Mar 22 11:30:46 CDT 2021


Wine is supposed to have msvcrtd and we want its absence to be recorded 
as a skip either way.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 dlls/msvcrtd/tests/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msvcrtd/tests/debug.c b/dlls/msvcrtd/tests/debug.c
index 4af4c815b38..2a232de4a49 100644
--- a/dlls/msvcrtd/tests/debug.c
+++ b/dlls/msvcrtd/tests/debug.c
@@ -42,7 +42,7 @@ static BOOL init_functions(void)
   HMODULE hModule = LoadLibraryA("msvcrtd.dll");
 
   if (!hModule) {
-    trace("LoadLibraryA failed to load msvcrtd.dll with GLE=%d\n", GetLastError());
+    win_skip("LoadLibraryA failed to load msvcrtd.dll with GLE=%d\n", GetLastError());
     return FALSE;
   }
 
-- 
2.20.1



More information about the wine-devel mailing list