mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
windowscodecs/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b652c11969
commit
e8704b6b8d
1 changed files with 1 additions and 6 deletions
|
@ -823,13 +823,8 @@ todo_wine
|
|||
hr = IWICBitmap_CopyPixels(bitmap, NULL, 4, sizeof(data), data);
|
||||
ok(hr == S_OK, "IWICBitmap_CopyPixels error %#x\n", hr);
|
||||
for (i = 0; i < sizeof(data); i++)
|
||||
{
|
||||
if (data[i] != data_8bpp_pal_wic[i])
|
||||
todo_wine
|
||||
todo_wine_if (data[i] != data_8bpp_pal_wic[i])
|
||||
ok(data[i] == data_8bpp_pal_wic[i], "%u: expected %#x, got %#x\n", i, data_8bpp_pal_wic[i], data[i]);
|
||||
else
|
||||
ok(data[i] == data_8bpp_pal_wic[i], "%u: expected %#x, got %#x\n", i, data_8bpp_pal_wic[i], data[i]);
|
||||
}
|
||||
|
||||
IWICBitmap_Release(bitmap);
|
||||
DeleteObject(hbmp);
|
||||
|
|
Loading…
Reference in a new issue