user32/tests: skip more input tests on 98 and ME

André Hentschel nerv at dawncrow.de
Thu Dec 2 14:44:10 CST 2010


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

diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index 9eb72c5..0cb309d 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -59,6 +59,7 @@
 /* globals */
 static HWND hWndTest;
 static LONG timetag = 0x10000000;
+static BOOL is_98_me = FALSE;
 
 static struct {
     LONG last_key_down;
@@ -249,7 +250,7 @@ static BOOL do_test( HWND hwnd, int seqnr, const KEV td[] )
         if (winetest_debug > 1)
             trace("message[%d] %-15s wParam %04lx lParam %08lx time %x\n", i,
                   MSGNAME[msg.message - WM_KEYFIRST], msg.wParam, msg.lParam, msg.time);
-        if( i < kmctr ) {
+        if( i < kmctr && !is_98_me ) {
             ok( msg.message == expmsg[i].message &&
                 msg.wParam == expmsg[i].wParam &&
                 msg.lParam == expmsg[i].lParam,
@@ -908,6 +909,7 @@ static void test_Input_blackbox(void)
     {
         DestroyWindow(window);
         win_skip("WH_KEYBOARD_LL is not supported\n");
+        is_98_me = TRUE;
         return;
     }
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list