Commit d3fa1962 authored by Alexandre Julliard's avatar Alexandre Julliard

d3d9/tests: Mark a few more message tests as flaky.

parent a88cc503
......@@ -3094,6 +3094,7 @@ static void test_wndproc(void)
expect_messages = focus_loss_messages_filtered;
windowposchanged_received = 0;
SetForegroundWindow(GetDesktopWindow());
flaky_wine
ok(!expect_messages->message, "Expected message %#x for window %#x, but didn't receive it, i=%u.\n",
expect_messages->message, expect_messages->window, i);
flaky_if(i == 0 || i == 1)
......@@ -3112,8 +3113,10 @@ static void test_wndproc(void)
syscommand_received = 0;
expect_messages = sc_restore_messages;
SendMessageA(focus_window, WM_SYSCOMMAND, SC_RESTORE, 0);
flaky_wine
ok(!expect_messages->message, "Expected message %#x for window %#x, but didn't receive it, i=%u.\n",
expect_messages->message, expect_messages->window, i);
flaky
ok(syscommand_received == 1, "Got unexpected number of WM_SYSCOMMAND messages: %ld.\n", syscommand_received);
expect_messages = NULL;
flush_events();
......
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