=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wbemprox/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: fa7d4e6015f224e50ea28c5199c9620aae06406b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fa7d4e6015f224e50ea28c5199c9620aae06406b
Author: André Hentschel <nerv at 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 at dawncrow.de>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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 );
More information about the wine-cvs
mailing list