Alexandre Julliard : user32/tests: Skip some tests if SetForegroundWindow doesn't behave correctly.
Alexandre Julliard
julliard at winehq.org
Mon Feb 16 09:34:55 CST 2009
Module: wine
Branch: master
Commit: d00ad7f197d49f0b7b45645a1b41c70c5db74d0c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d00ad7f197d49f0b7b45645a1b41c70c5db74d0c
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 16 11:52:38 2009 +0100
user32/tests: Skip some tests if SetForegroundWindow doesn't behave correctly.
---
dlls/user32/tests/win.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index c72c114..a79bd34 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -2398,7 +2398,11 @@ static void test_SetForegroundWindow(HWND hwnd)
check_wnd_state(0, 0, 0, 0);
ret = SetForegroundWindow(hwnd);
- ok(ret, "SetForegroundWindow returned FALSE instead of TRUE\n");
+ if (!ret)
+ {
+ skip( "SetForegroundWindow not working\n" );
+ return;
+ }
check_wnd_state(hwnd, hwnd, hwnd, 0);
SetLastError(0xdeadbeef);
More information about the wine-cvs
mailing list