Commit 1cfc3455 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

user32/tests: Skip inconsistent OemKeyScan tests on non-us keyboard.

parent f0748625
...@@ -4167,6 +4167,13 @@ static void test_OemKeyScan(void) ...@@ -4167,6 +4167,13 @@ static void test_OemKeyScan(void)
WCHAR oem, wchr; WCHAR oem, wchr;
char oem_char; char oem_char;
BOOL us_kbd = (GetKeyboardLayout(0) == (HKL)(ULONG_PTR)0x04090409);
if (!us_kbd)
{
skip("skipping test with inconsistent results on non-us keyboard\n");
return;
}
for (oem = 0; oem < 0x200; oem++) for (oem = 0; oem < 0x200; oem++)
{ {
ret = OemKeyScan( oem ); ret = OemKeyScan( oem );
......
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