kernel32/tests: Add a few skips instead of just returning.

This commit is contained in:
Paul Vriens 2008-03-12 09:59:45 +01:00 committed by Alexandre Julliard
parent a558bfad99
commit 371afffd35
1 changed files with 6 additions and 0 deletions

View File

@ -1796,7 +1796,10 @@ static void test_FoldStringW(void)
};
if (!pFoldStringW)
{
skip("FoldStringW is not available\n");
return; /* FoldString is present in NT v3.1+, but not 95/98/Me */
}
/* Invalid flag combinations */
for (i = 0; i < sizeof(badFlags)/sizeof(badFlags[0]); i++)
@ -1805,7 +1808,10 @@ static void test_FoldStringW(void)
SetLastError(0);
ret = pFoldStringW(badFlags[i], src, 256, dst, 256);
if (GetLastError()==ERROR_CALL_NOT_IMPLEMENTED)
{
skip("FoldStringW is not implemented\n");
return;
}
EXPECT_LEN(0); EXPECT_FLAGS;
}