From: Rémi Bernon rbernon@codeweavers.com
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. --- dlls/user32/tests/win.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 2fd31be3314..8dad718e357 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -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" );