Commit 69299c77 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

advapi32/tests: Move skip to a more appropriate place.

parent 71697ec1
......@@ -54,8 +54,6 @@ static BOOL init(void)
if (pLsaClose && pLsaFreeMemory && pLsaOpenPolicy && pLsaQueryInformationPolicy && pConvertSidToStringSidA)
return TRUE;
else
skip("Needed functions are not available\n");
}
return FALSE;
......@@ -180,8 +178,10 @@ static void test_lsa(void)
START_TEST(lsa)
{
if (!init())
if (!init()) {
skip("Needed functions are not available\n");
return;
}
test_lsa();
}
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