>From ab8681b36eed0c22cf3d0779cc310395e24cadad Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Sun, 21 Sep 2008 20:17:16 +0200 Subject: [PATCH] Show that we are skipping tests --- dlls/ntdll/tests/env.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/dlls/ntdll/tests/env.c b/dlls/ntdll/tests/env.c index aab9368..92f654e 100644 --- a/dlls/ntdll/tests/env.c +++ b/dlls/ntdll/tests/env.c @@ -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"); -- 1.5.5.1