Nikolay Sivov : wmiutils/tests: Use todo_wine_if() in tests.
Module: wine Branch: master Commit: fd00c9db5ab7ee56ae817bb75e02d40d6bd0488a URL: http://source.winehq.org/git/wine.git/?a=commit;h=fd00c9db5ab7ee56ae817bb75e... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Wed Feb 17 02:12:44 2016 +0300 wmiutils/tests: Use todo_wine_if() in tests. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wmiutils/tests/path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wmiutils/tests/path.c b/dlls/wmiutils/tests/path.c index 56bebb3..99907a3 100644 --- a/dlls/wmiutils/tests/path.c +++ b/dlls/wmiutils/tests/path.c @@ -140,8 +140,8 @@ static void test_IWbemPath_SetText(void) for (i = 0; i < sizeof(test)/sizeof(test[0]); i++) { hr = IWbemPath_SetText( path, test[i].mode, test[i].path ); - if (test[i].todo) todo_wine ok( hr == test[i].ret, "%u got %08x\n", i, hr ); - else ok( hr == test[i].ret, "%u got %08x\n", i, hr ); + todo_wine_if (test[i].todo) + ok( hr == test[i].ret, "%u got %08x\n", i, hr ); if (test[i].ret == S_OK) {
participants (1)
-
Alexandre Julliard