Module: wine Branch: master Commit: 782666be0d667adf0c4b4ecb0ebd6106a59de7a1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=782666be0d667adf0c4b4ecb0e...
Author: André Hentschel nerv@dawncrow.de Date: Fri Feb 19 23:12:19 2016 +0100
windowscodecs/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel nerv@dawncrow.de Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/windowscodecs/tests/converter.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/windowscodecs/tests/converter.c b/dlls/windowscodecs/tests/converter.c index 5c764d2..00ea483 100644 --- a/dlls/windowscodecs/tests/converter.c +++ b/dlls/windowscodecs/tests/converter.c @@ -304,9 +304,7 @@ static void test_conversion(const struct bitmap_data *src, const struct bitmap_d CreateTestBitmap(src, &src_obj);
hr = WICConvertBitmapSource(dst->format, &src_obj->IWICBitmapSource_iface, &dst_bitmap); - if (todo) - todo_wine ok(SUCCEEDED(hr), "WICConvertBitmapSource(%s) failed, hr=%x\n", name, hr); - else + todo_wine_if (todo) ok(SUCCEEDED(hr), "WICConvertBitmapSource(%s) failed, hr=%x\n", name, hr);
if (SUCCEEDED(hr))