Ge van Geldorp : user32/tests: Skip test on non-US keyboard.

Alexandre Julliard julliard at winehq.org
Tue Sep 8 08:53:51 CDT 2009


Module: wine
Branch: master
Commit: b5d7025932ca43362bcadd59a42ae2eb78a4eab3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b5d7025932ca43362bcadd59a42ae2eb78a4eab3

Author: Ge van Geldorp <ggeldorp at vmware.com>
Date:   Thu Sep  3 11:51:44 2009 +0200

user32/tests: Skip test on non-US keyboard.

---

 dlls/user32/tests/input.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index 1d2741e..548a5ad 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -892,6 +892,11 @@ static void test_Input_blackbox(void)
     HWND window;
     HHOOK hook;
 
+    if (GetKeyboardLayout(0) != (HKL)(ULONG_PTR)0x04090409)
+    {
+        win_skip("Skipping Input_blackbox test on non-US keyboard\n");
+        return;
+    }
     window = CreateWindow("Static", NULL, WS_POPUP|WS_HSCROLL|WS_VSCROLL
         |WS_VISIBLE, 0, 0, 200, 60, NULL, NULL,
         NULL, NULL);




More information about the wine-cvs mailing list