[PATCH 5/6] d3d8/tests: Fix a test failure on Win10 1809 TestBots.
Zhiyi Zhang
zzhang at codeweavers.com
Tue Mar 17 03:46:13 CDT 2020
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
dlls/d3d8/tests/device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index 1fe9864c52..ee72ca5e4c 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -6624,7 +6624,8 @@ static void test_update_volumetexture(void)
hr = IDirect3DDevice8_UpdateTexture(device, (IDirect3DBaseTexture8 *)src, (IDirect3DBaseTexture8 *)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);
IDirect3DVolumeTexture8_Release(src);
IDirect3DVolumeTexture8_Release(dst);
--
2.20.1
More information about the wine-devel
mailing list