Commit c8362ef8 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ntdll/tests: Use win_skip() for missing APIs.

A missing API is a todo in Wine.
parent e36e8d4a
...@@ -9509,7 +9509,7 @@ static void test_extended_context(void) ...@@ -9509,7 +9509,7 @@ static void test_extended_context(void)
if (!pRtlGetEnabledExtendedFeatures) if (!pRtlGetEnabledExtendedFeatures)
{ {
skip("RtlGetEnabledExtendedFeatures is not available.\n"); win_skip("RtlGetEnabledExtendedFeatures is not available.\n");
return; return;
} }
...@@ -10492,7 +10492,7 @@ static void test_copy_context(void) ...@@ -10492,7 +10492,7 @@ static void test_copy_context(void)
if (!pRtlGetEnabledExtendedFeatures) if (!pRtlGetEnabledExtendedFeatures)
{ {
skip("RtlGetEnabledExtendedFeatures is not available.\n"); win_skip("RtlGetEnabledExtendedFeatures is not available.\n");
return; return;
} }
...@@ -10969,7 +10969,7 @@ START_TEST(exception) ...@@ -10969,7 +10969,7 @@ START_TEST(exception)
if (pRtlAddFunctionTable && pRtlDeleteFunctionTable && pRtlInstallFunctionTableCallback && pRtlLookupFunctionEntry) if (pRtlAddFunctionTable && pRtlDeleteFunctionTable && pRtlInstallFunctionTableCallback && pRtlLookupFunctionEntry)
test_dynamic_unwind(); test_dynamic_unwind();
else else
skip( "Dynamic unwind functions not found\n" ); win_skip( "Dynamic unwind functions not found\n" );
test_extended_context(); test_extended_context();
test_copy_context(); test_copy_context();
test_unwind_from_apc(); test_unwind_from_apc();
......
...@@ -2523,7 +2523,7 @@ static void test_object_identity(void) ...@@ -2523,7 +2523,7 @@ static void test_object_identity(void)
if (!pNtCompareObjects) if (!pNtCompareObjects)
{ {
skip("NtCompareObjects is not available.\n"); win_skip("NtCompareObjects is not available.\n");
return; return;
} }
......
...@@ -155,7 +155,7 @@ static BOOL init_function_ptrs(void) ...@@ -155,7 +155,7 @@ static BOOL init_function_ptrs(void)
!pNtRequestPort || !pNtRegisterThreadTerminatePort || !pNtRequestPort || !pNtRegisterThreadTerminatePort ||
!pNtConnectPort || !pRtlInitUnicodeString) !pNtConnectPort || !pRtlInitUnicodeString)
{ {
skip("Needed port functions are not available\n"); todo_wine win_skip("Needed port functions are not available\n");
FreeLibrary(hntdll); FreeLibrary(hntdll);
return FALSE; return FALSE;
} }
......
...@@ -1133,7 +1133,7 @@ static void test_RtlIpv4StringToAddressEx(void) ...@@ -1133,7 +1133,7 @@ static void test_RtlIpv4StringToAddressEx(void)
if (!pRtlIpv4StringToAddressExA) if (!pRtlIpv4StringToAddressExA)
{ {
skip("RtlIpv4StringToAddressEx not available\n"); win_skip("RtlIpv4StringToAddressEx not available\n");
return; return;
} }
...@@ -1780,7 +1780,7 @@ static void test_RtlIpv6AddressToStringEx(void) ...@@ -1780,7 +1780,7 @@ static void test_RtlIpv6AddressToStringEx(void)
if (!pRtlIpv6AddressToStringExA) if (!pRtlIpv6AddressToStringExA)
{ {
skip("RtlIpv6AddressToStringExA not available\n"); win_skip("RtlIpv6AddressToStringExA not available\n");
return; return;
} }
...@@ -2066,13 +2066,13 @@ static void test_RtlIpv6StringToAddressEx(void) ...@@ -2066,13 +2066,13 @@ static void test_RtlIpv6StringToAddressEx(void)
if (!pRtlIpv6StringToAddressExW) if (!pRtlIpv6StringToAddressExW)
{ {
skip("RtlIpv6StringToAddressExW not available\n"); win_skip("RtlIpv6StringToAddressExW not available\n");
/* we can continue, just not test W */ /* we can continue, just not test W */
} }
if (!pRtlIpv6StringToAddressExA) if (!pRtlIpv6StringToAddressExA)
{ {
skip("RtlIpv6StringToAddressExA not available\n"); win_skip("RtlIpv6StringToAddressExA not available\n");
return; return;
} }
......
...@@ -2136,7 +2136,7 @@ static void test_RtlUnicodeToUTF8N(void) ...@@ -2136,7 +2136,7 @@ static void test_RtlUnicodeToUTF8N(void)
if (!pRtlUnicodeToUTF8N) if (!pRtlUnicodeToUTF8N)
{ {
skip("RtlUnicodeToUTF8N unavailable\n"); win_skip("RtlUnicodeToUTF8N is not available\n");
return; return;
} }
...@@ -2469,7 +2469,7 @@ static void test_RtlUTF8ToUnicodeN(void) ...@@ -2469,7 +2469,7 @@ static void test_RtlUTF8ToUnicodeN(void)
if (!pRtlUTF8ToUnicodeN) if (!pRtlUTF8ToUnicodeN)
{ {
skip("RtlUTF8ToUnicodeN unavailable\n"); win_skip("RtlUTF8ToUnicodeN is not available\n");
return; return;
} }
......
...@@ -1658,7 +1658,7 @@ static void test_user_shared_data(void) ...@@ -1658,7 +1658,7 @@ static void test_user_shared_data(void)
if (!pRtlGetEnabledExtendedFeatures) if (!pRtlGetEnabledExtendedFeatures)
{ {
skip("RtlGetEnabledExtendedFeatures is not available.\n"); win_skip("RtlGetEnabledExtendedFeatures is not available.\n");
return; return;
} }
......
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