Module: wine Branch: master Commit: 2436964d5678956a362a9bef34625885442740f6 URL: https://gitlab.winehq.org/wine/wine/-/commit/2436964d5678956a362a9bef3462588...
Author: Francois Gouget fgouget@codeweavers.com Date: Thu Feb 9 20:00:52 2023 +0100
gdi32/tests: Mark a couple other D3DKMTCheckOcclusion() tests as flaky.
They also happen randomly on Windows (see commit 2d19baa6b576).
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=51313
---
dlls/gdi32/tests/driver.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/gdi32/tests/driver.c b/dlls/gdi32/tests/driver.c index 9f4835540fc..94f93d61207 100644 --- a/dlls/gdi32/tests/driver.c +++ b/dlls/gdi32/tests/driver.c @@ -799,11 +799,13 @@ static void test_D3DKMTCheckOcclusion(void)
occlusion_desc.hWnd = hwnd; status = pD3DKMTCheckOcclusion(&occlusion_desc); + flaky ok(status == STATUS_SUCCESS, "Got unexpected return code %#lx.\n", status);
check_owner_desc.hAdapter = open_adapter_gdi_desc.hAdapter; check_owner_desc.VidPnSourceId = open_adapter_gdi_desc.VidPnSourceId; status = pD3DKMTCheckVidPnExclusiveOwnership(&check_owner_desc); + flaky ok(status == STATUS_SUCCESS || status == STATUS_GRAPHICS_PRESENT_UNOCCLUDED, "Got unexpected return code %#lx.\n", status);
destroy_device_desc.hDevice = create_device_desc.hDevice;