1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

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.
This commit is contained in:
Rémi Bernon 2024-01-13 20:30:03 +01:00 committed by Alexandre Julliard
parent d6204ccd54
commit 85dac24e64

View file

@ -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" );