Commit 85dac24e authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

user32/tests: Add flaky_wine to some SetActiveWindow tests.

They are constantly failing on Gitlab, and may be caused various race conditions around window focus, both in Wine and in Fvwm. It would be nice to fix them but it's been going for many years now and unlikely to be the case soon.
parent d6204ccd
......@@ -3814,10 +3814,13 @@ static void test_SetActiveWindow_0( char **argv )
flush_events( TRUE );
tmp = GetForegroundWindow();
flaky_wine
ok( tmp == hwnd, "GetForegroundWindow returned %p\n", tmp );
tmp = GetActiveWindow();
flaky_wine
ok( tmp == hwnd, "GetActiveWindow returned %p\n", tmp );
tmp = GetFocus();
flaky_wine
ok( tmp == hwnd, "GetFocus returned %p\n", tmp );
events[1] = CreateEventW( NULL, FALSE, FALSE, L"test_SetActiveWindow_0_start" );
......
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