ntdll/tests: Show that we are skipping tests.

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

View File

@ -275,6 +275,11 @@ static void testExpand(void)
START_TEST(env)
{
HMODULE mod = GetModuleHandleA("ntdll.dll");
if (!mod)
{
win_skip("Not running on NT, skipping tests\n");
return;
}
pRtlMultiByteToUnicodeN = (void *)GetProcAddress(mod,"RtlMultiByteToUnicodeN");
pRtlCreateEnvironment = (void*)GetProcAddress(mod, "RtlCreateEnvironment");