Huw Davies : user32/tests: Use skip() to skip tests when using a non-US keyboard.
Alexandre Julliard
julliard at winehq.org
Wed Jun 24 15:47:35 CDT 2020
Module: wine
Branch: master
Commit: afe3e698c57c75ecf91903f8ffc72888491d4ca0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=afe3e698c57c75ecf91903f8ffc72888491d4ca0
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Jun 24 10:00:32 2020 +0100
user32/tests: Use skip() to skip tests when using a non-US keyboard.
Otherwise, under Wine, win_skip() counts as a failure.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/tests/input.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index 9ec829860a..3dde3ce3c0 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -286,7 +286,7 @@ static BOOL TestASet( HWND hWnd, int nrkev, const KEV kevdwn[], const KEV kevup[
BOOL us_kbd = (GetKeyboardLayout(0) == (HKL)(ULONG_PTR)0x04090409);
if (!us_kbd)
{
- win_skip( "skipping test with inconsistent results on non-us keyboard\n" );
+ skip( "skipping test with inconsistent results on non-us keyboard\n" );
return TRUE;
}
@@ -1193,7 +1193,7 @@ static void test_Input_unicode(void)
BOOL us_kbd = (GetKeyboardLayout(0) == (HKL)(ULONG_PTR)0x04090409);
if (!us_kbd)
{
- win_skip( "skipping test with inconsistent results on non-us keyboard\n" );
+ skip( "skipping test with inconsistent results on non-us keyboard\n" );
return;
}
More information about the wine-cvs
mailing list