Module: wine Branch: master Commit: fa7d4e6015f224e50ea28c5199c9620aae06406b URL: http://source.winehq.org/git/wine.git/?a=commit;h=fa7d4e6015f224e50ea28c5199...
Author: André Hentschel nerv@dawncrow.de Date: Fri Feb 19 23:12:13 2016 +0100
wbemprox/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel nerv@dawncrow.de Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wbemprox/tests/services.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/wbemprox/tests/services.c b/dlls/wbemprox/tests/services.c index 4c42a50..a6774751 100644 --- a/dlls/wbemprox/tests/services.c +++ b/dlls/wbemprox/tests/services.c @@ -168,10 +168,7 @@ static void test_IWbemLocator(void) { resource = SysAllocString( test[i].path ); hr = IWbemLocator_ConnectServer( locator, resource, NULL, NULL, NULL, 0, NULL, NULL, &services ); - if (test[i].todo) todo_wine - ok( hr == test[i].result || broken(hr == test[i].result_broken), - "%u: expected %08x got %08x\n", i, test[i].result, hr ); - else + todo_wine_if (test[i].todo) ok( hr == test[i].result || broken(hr == test[i].result_broken), "%u: expected %08x got %08x\n", i, test[i].result, hr ); SysFreeString( resource );