=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: windowscodecs/tests: Use todo_wine_if() in tests.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Feb 23 11:24:21 CST 2016
Module: wine
Branch: master
Commit: 782666be0d667adf0c4b4ecb0ebd6106a59de7a1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=782666be0d667adf0c4b4ecb0ebd6106a59de7a1
Author: André Hentschel <nerv at 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 at dawncrow.de>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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))
More information about the wine-cvs
mailing list