Module: wine Branch: master Commit: 63092712c98b68a38011673d19d47f3699bac73b URL: http://source.winehq.org/git/wine.git/?a=commit;h=63092712c98b68a38011673d19...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Oct 15 18:37:05 2013 +0200
ntdll/tests: Skip test if LdrAddRefDll is missing.
---
dlls/ntdll/tests/rtl.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c index 54e3db5..6eb6de3 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c @@ -1494,6 +1494,12 @@ static void test_LdrAddRefDll(void) NTSTATUS status; BOOL ret;
+ if (!pLdrAddRefDll) + { + win_skip( "LdrAddRefDll not supported\n" ); + return; + } + mod = LoadLibraryA("comctl32.dll"); ok(mod != NULL, "got %p\n", mod); ret = FreeLibrary(mod);