ole32/tests: Use todo_wine_if().

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-08-09 22:34:25 +02:00 committed by Alexandre Julliard
parent 3bc7549f42
commit b6a505f9a5
1 changed files with 1 additions and 10 deletions

View File

@ -166,16 +166,7 @@ static void expect(HRESULT hr, VARTYPE vt, BOOL copy, int line)
} }
else if(flags == PROP_V0) else if(flags == PROP_V0)
ok(hr == S_OK, "%s (%s): got %08x\n", wine_vtypes[idx], modifier, hr); ok(hr == S_OK, "%s (%s): got %08x\n", wine_vtypes[idx], modifier, hr);
else if(flags & PROP_TODO) else todo_wine_if(flags & PROP_TODO)
{
todo_wine
{
if(hr != S_OK)
win_skip("%s (%s): unsupported\n", wine_vtypes[idx], modifier);
else ok(hr == S_OK, "%s (%s): got %08x\n", wine_vtypes[idx], modifier, hr);
}
}
else
{ {
if(hr != S_OK) if(hr != S_OK)
win_skip("%s (%s): unsupported\n", wine_vtypes[idx], modifier); win_skip("%s (%s): unsupported\n", wine_vtypes[idx], modifier);