wmiutils/tests: Use todo_wine_if() in tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
944a0228f5
commit
fd00c9db5a
|
@ -140,8 +140,8 @@ static void test_IWbemPath_SetText(void)
|
||||||
for (i = 0; i < sizeof(test)/sizeof(test[0]); i++)
|
for (i = 0; i < sizeof(test)/sizeof(test[0]); i++)
|
||||||
{
|
{
|
||||||
hr = IWbemPath_SetText( path, test[i].mode, test[i].path );
|
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 );
|
todo_wine_if (test[i].todo)
|
||||||
else ok( hr == test[i].ret, "%u got %08x\n", i, hr );
|
ok( hr == test[i].ret, "%u got %08x\n", i, hr );
|
||||||
|
|
||||||
if (test[i].ret == S_OK)
|
if (test[i].ret == S_OK)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue