[PATCH 5/6] d3d8/tests: Fix a test failure on Win10 1809 TestBots.

Henri Verbeet hverbeet at gmail.com
Tue Mar 17 09:41:07 CDT 2020


On Tue, 17 Mar 2020 at 12:16, Zhiyi Zhang <zzhang at codeweavers.com> wrote:
> @@ -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);
Assuming this is specific to WARP, and not e.g. a peculiarity of
Windows 10 or something else specific to the testbot, we'd guard this
with adapter_is_warp().



More information about the wine-devel mailing list