Module: wine Branch: master Commit: 70e2aa7fdb97a48ec6ac87defde462294bdb7050 URL: http://source.winehq.org/git/wine.git/?a=commit;h=70e2aa7fdb97a48ec6ac87defd...
Author: Frédéric Delanoy frederic.delanoy@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@gmail.com Signed-off-by: Alexandre Julliard julliard@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++)