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

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';