[PATCH 6/6] d3d9/tests: Fix a test failure on Win10 1809 TestBots.
Zhiyi Zhang
zzhang at codeweavers.com
Tue Mar 17 03:46:25 CDT 2020
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
dlls/d3d9/tests/device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 5adeb51854..603239f922 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -9780,7 +9780,8 @@ static void test_update_volumetexture(void)
hr = IDirect3DDevice9_UpdateTexture(device, (IDirect3DBaseTexture9 *)src, (IDirect3DBaseTexture9 *)dst);
todo_wine_if (FAILED(hr))
- ok(SUCCEEDED(hr), "Failed to update texture, hr %#x, case %u.\n", hr, i);
+ ok(SUCCEEDED(hr) || broken(hr == E_FAIL && (i == 6 || i == 7)), /* Win10 1809 TestBots */
+ "Failed to update texture, hr %#x, case %u.\n", hr, i);
IDirect3DVolumeTexture9_Release(src);
IDirect3DVolumeTexture9_Release(dst);
--
2.20.1
More information about the wine-devel
mailing list