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