Commit d00ad7f1 authored by Alexandre Julliard's avatar Alexandre Julliard

user32/tests: Skip some tests if SetForegroundWindow doesn't behave correctly.

parent fa212d51
...@@ -2398,7 +2398,11 @@ static void test_SetForegroundWindow(HWND hwnd) ...@@ -2398,7 +2398,11 @@ static void test_SetForegroundWindow(HWND hwnd)
check_wnd_state(0, 0, 0, 0); check_wnd_state(0, 0, 0, 0);
ret = SetForegroundWindow(hwnd); 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); check_wnd_state(hwnd, hwnd, hwnd, 0);
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
......
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