Module: wine Branch: master Commit: 1010768d8e12ca71c5ce5b680294cb4a79fa02de URL: http://source.winehq.org/git/wine.git/?a=commit;h=1010768d8e12ca71c5ce5b6802...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Sun Sep 21 20:17:16 2008 +0200
ntdll/tests: 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");