=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: imagehlp/tests: Use todo_wine_if() in tests.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Feb 17 11:15:03 CST 2016
Module: wine
Branch: master
Commit: 70e2aa7fdb97a48ec6ac87defde462294bdb7050
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70e2aa7fdb97a48ec6ac87defde462294bdb7050
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Wed Feb 17 10:55:20 2016 +0100
imagehlp/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/imagehlp/tests/image.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/imagehlp/tests/image.c b/dlls/imagehlp/tests/image.c
index 48443f5..3416c10 100644
--- a/dlls/imagehlp/tests/image.c
+++ b/dlls/imagehlp/tests/image.c
@@ -186,10 +186,7 @@ static void check_updates(LPCSTR header, const struct expected_update_accum *exp
{
DWORD i;
- if (expected->todo)
- todo_wine ok(expected->cUpdates == got->cUpdates, "%s: expected %d updates, got %d\n",
- header, expected->cUpdates, got->cUpdates);
- else
+ todo_wine_if (expected->todo)
ok(expected->cUpdates == got->cUpdates, "%s: expected %d updates, got %d\n",
header, expected->cUpdates, got->cUpdates);
for (i = 0; i < min(expected->cUpdates, got->cUpdates); i++)
More information about the wine-cvs
mailing list