msvcrt/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c3171f9c0c
commit
0da6cca13c
|
@ -1109,10 +1109,8 @@ static void test_demangle_datatype(void)
|
|||
for (i = 0; i < num_test; i++)
|
||||
{
|
||||
name = p__unDName(0, demangle[i].mangled, 0, pmalloc, pfree, 0x2800);
|
||||
if (demangle[i].test_in_wine)
|
||||
ok(name != NULL && !strcmp(name,demangle[i].result), "Got name \"%s\" for %d\n", name, i);
|
||||
else
|
||||
todo_wine ok(name != NULL && !strcmp(name,demangle[i].result), "Got name %s for %d\n", name, i);
|
||||
todo_wine_if (!demangle[i].test_in_wine)
|
||||
ok(name != NULL && !strcmp(name,demangle[i].result), "Got name \"%s\" for %d\n", name, i);
|
||||
if(name)
|
||||
pfree(name);
|
||||
}
|
||||
|
|
|
@ -181,14 +181,10 @@ static void test_I10_OUTPUT(void)
|
|||
ok(!strcmp(out.str, I10_OUTPUT_tests[i].out.str), "%d: out.str = %s\n", i, out.str);
|
||||
|
||||
j = strlen(I10_OUTPUT_tests[i].remain);
|
||||
if(j && I10_OUTPUT_tests[i].remain[j-1]=='9')
|
||||
todo_wine ok(!strncmp(out.str+out.len+1, I10_OUTPUT_tests[i].remain, j),
|
||||
"%d: &out.str[%d] = %.25s...\n", i, out.len+1, out.str+out.len+1);
|
||||
else
|
||||
todo_wine_if(j && I10_OUTPUT_tests[i].remain[j-1]=='9')
|
||||
ok(!strncmp(out.str+out.len+1, I10_OUTPUT_tests[i].remain, j),
|
||||
"%d: &out.str[%d] = %.25s...\n", i, out.len+1, out.str+out.len+1);
|
||||
|
||||
|
||||
for(j=out.len+strlen(I10_OUTPUT_tests[i].remain)+1; j<sizeof(out.str); j++)
|
||||
if(out.str[j] != '#')
|
||||
ok(0, "%d: out.str[%d] = %c (expected \'#\')\n", i, j, out.str[j]);
|
||||
|
|
Loading…
Reference in New Issue