ntdll/tests: Show that we are skipping tests.

This commit is contained in:
Paul Vriens 2008-09-21 20:21:58 +02:00 committed by Alexandre Julliard
parent 1010768d8e
commit e9f5fbc419
1 changed files with 6 additions and 0 deletions

View File

@ -314,6 +314,12 @@ static void test_RtlGetFullPathName_U(void)
START_TEST(path)
{
HMODULE mod = GetModuleHandleA("ntdll.dll");
if (!mod)
{
win_skip("Not running on NT, skipping tests\n");
return;
}
pRtlMultiByteToUnicodeN = (void *)GetProcAddress(mod,"RtlMultiByteToUnicodeN");
pRtlUnicodeToMultiByteN = (void *)GetProcAddress(mod,"RtlUnicodeToMultiByteN");
pRtlDetermineDosPathNameType_U = (void *)GetProcAddress(mod,"RtlDetermineDosPathNameType_U");