Commit afe3e698 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

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: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e3ab70b8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment