Commit 371afffd authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

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

parent a558bfad
...@@ -1796,7 +1796,10 @@ static void test_FoldStringW(void) ...@@ -1796,7 +1796,10 @@ static void test_FoldStringW(void)
}; };
if (!pFoldStringW) if (!pFoldStringW)
{
skip("FoldStringW is not available\n");
return; /* FoldString is present in NT v3.1+, but not 95/98/Me */ return; /* FoldString is present in NT v3.1+, but not 95/98/Me */
}
/* Invalid flag combinations */ /* Invalid flag combinations */
for (i = 0; i < sizeof(badFlags)/sizeof(badFlags[0]); i++) for (i = 0; i < sizeof(badFlags)/sizeof(badFlags[0]); i++)
...@@ -1805,7 +1808,10 @@ static void test_FoldStringW(void) ...@@ -1805,7 +1808,10 @@ static void test_FoldStringW(void)
SetLastError(0); SetLastError(0);
ret = pFoldStringW(badFlags[i], src, 256, dst, 256); ret = pFoldStringW(badFlags[i], src, 256, dst, 256);
if (GetLastError()==ERROR_CALL_NOT_IMPLEMENTED) if (GetLastError()==ERROR_CALL_NOT_IMPLEMENTED)
{
skip("FoldStringW is not implemented\n");
return; return;
}
EXPECT_LEN(0); EXPECT_FLAGS; EXPECT_LEN(0); EXPECT_FLAGS;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment