kernel32/tests: Use skip.

oldstable
Paul Vriens 2007-03-12 11:41:23 +01:00 committed by Alexandre Julliard
parent e343652338
commit 281ebbb5d6
1 changed files with 5 additions and 1 deletions

View File

@ -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));