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

Piotr Caban piotr.caban at gmail.com
Tue Mar 23 05:39:50 CDT 2021


Signed-off-by: Piotr Caban <piotr at codeweavers.com>

> On 22 Mar 2021, at 17:30, Francois Gouget <fgouget at 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 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