From 281ebbb5d6c09cb7238288b4250383cd24be3188 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Mon, 12 Mar 2007 11:41:23 +0100 Subject: [PATCH] kernel32/tests: Use skip. --- dlls/kernel32/tests/version.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/tests/version.c b/dlls/kernel32/tests/version.c index 4fcef79b7d2..84d081b3e4f 100644 --- a/dlls/kernel32/tests/version.c +++ b/dlls/kernel32/tests/version.c @@ -49,7 +49,11 @@ START_TEST(version) BOOL ret; init_function_pointers(); - if(!pVerifyVersionInfoA || !pVerSetConditionMask) return; + if(!pVerifyVersionInfoA || !pVerSetConditionMask) + { + skip("Needed functions not available\n"); + return; + } ret = pVerifyVersionInfoA(&info, VER_MAJORVERSION | VER_MINORVERSION, pVerSetConditionMask(0, VER_MAJORVERSION, VER_GREATER_EQUAL));