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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 30 08:55:37 CDT 2007


Module: wine
Branch: master
Commit: b893575cb9df15871dd847d3b8ea5b78a879c0bb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b893575cb9df15871dd847d3b8ea5b78a879c0bb

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Fri Jul 27 21:41:32 2007 +0200

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

---

 dlls/localspl/tests/localmon.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/localspl/tests/localmon.c b/dlls/localspl/tests/localmon.c
index ff358ca..535a76b 100644
--- a/dlls/localspl/tests/localmon.c
+++ b/dlls/localspl/tests/localmon.c
@@ -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';




More information about the wine-cvs mailing list