Module: wine Branch: master Commit: 5b10cb08a5d0a911be465cba071cb9d2149d336d URL: https://gitlab.winehq.org/wine/wine/-/commit/5b10cb08a5d0a911be465cba071cb9d...
Author: Francois Gouget fgouget@codeweavers.com Date: Sat Oct 1 11:07:41 2022 +0200
dxgi/tests: Mark the test_swapchain_window_styles() tests failing randomly on Windows as flaky.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53228
---
dlls/dxgi/tests/dxgi.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/dxgi/tests/dxgi.c b/dlls/dxgi/tests/dxgi.c index 1874bcc0834..8c16cd37d45 100644 --- a/dlls/dxgi/tests/dxgi.c +++ b/dlls/dxgi/tests/dxgi.c @@ -6120,6 +6120,7 @@ static void test_swapchain_window_styles(void) exstyle = GetWindowLongA(swapchain_desc.OutputWindow, GWL_EXSTYLE); ok(style == tests[i].expected_style, "Got unexpected style %#lx, expected %#lx.\n", style, tests[i].expected_style); + flaky_if(i == 4) ok(exstyle == tests[i].expected_exstyle, "Got unexpected exstyle %#lx, expected %#lx.\n", exstyle, tests[i].expected_exstyle);
@@ -6136,6 +6137,7 @@ static void test_swapchain_window_styles(void) exstyle = GetWindowLongA(swapchain_desc.OutputWindow, GWL_EXSTYLE); ok(style == tests[i].expected_style, "Got unexpected style %#lx, expected %#lx.\n", style, tests[i].expected_style); + flaky_if(i == 4) ok(exstyle == tests[i].expected_exstyle, "Got unexpected exstyle %#lx, expected %#lx.\n", exstyle, tests[i].expected_exstyle);
@@ -6164,6 +6166,7 @@ static void test_swapchain_window_styles(void) exstyle = GetWindowLongA(swapchain_desc.OutputWindow, GWL_EXSTYLE); ok(style == tests[i].expected_style, "Got unexpected style %#lx, expected %#lx.\n", style, tests[i].expected_style); + flaky_if(i == 4) ok(exstyle == tests[i].expected_exstyle, "Got unexpected exstyle %#lx, expected %#lx.\n", exstyle, tests[i].expected_exstyle);
@@ -6190,7 +6193,7 @@ static void test_swapchain_window_styles(void) exstyle = GetWindowLongA(swapchain_desc.OutputWindow, GWL_EXSTYLE); todo_wine ok(style == tests[i].expected_style, "Got unexpected style %#lx, expected %#lx.\n", style, tests[i].expected_style); - todo_wine + flaky_if(i == 4) todo_wine ok(exstyle == tests[i].expected_exstyle, "Got unexpected exstyle %#lx, expected %#lx.\n", exstyle, tests[i].expected_exstyle); } @@ -6206,7 +6209,7 @@ static void test_swapchain_window_styles(void) exstyle = GetWindowLongA(swapchain_desc.OutputWindow, GWL_EXSTYLE); todo_wine ok(style == tests[i].expected_style, "Got unexpected style %#lx, expected %#lx.\n", style, tests[i].expected_style); - todo_wine + flaky_if(i == 4) todo_wine ok(exstyle == tests[i].expected_exstyle, "Got unexpected exstyle %#lx, expected %#lx.\n", exstyle, tests[i].expected_exstyle);