Module: wine Branch: master Commit: e9f5fbc4196c63c4bd3cab457ffc5342a230c108 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e9f5fbc4196c63c4bd3cab457f...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Sun Sep 21 20:21:58 2008 +0200
ntdll/tests: Show that we are skipping tests.
---
dlls/ntdll/tests/path.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/path.c b/dlls/ntdll/tests/path.c index bf1271a..e1b1767 100644 --- a/dlls/ntdll/tests/path.c +++ b/dlls/ntdll/tests/path.c @@ -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");