localspl/tests: Use skip if localspl can't be loaded.

This commit is contained in:
Paul Vriens 2007-07-27 21:41:32 +02:00 committed by Alexandre Julliard
parent 9089835c35
commit b893575cb9
1 changed files with 4 additions and 1 deletions

View File

@ -1086,7 +1086,10 @@ START_TEST(localmon)
/* This DLL does not exist on Win9x */
hdll = LoadLibraryA("localspl.dll");
if (!hdll) return;
if (!hdll) {
skip("localspl.dll cannot be loaded, most likely running on Win9x\n");
return;
}
tempdirW[0] = '\0';
tempfileW[0] = '\0';