[PATCH] msvcrtd/tests: Missing the library should be a win_skip().
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(a)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
Signed-off-by: Piotr Caban <piotr(a)codeweavers.com>
On 22 Mar 2021, at 17:30, Francois Gouget <fgouget(a)codeweavers.com> wrote:
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(a)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
participants (2)
-
Francois Gouget -
Piotr Caban