Allow native dlls in runtest

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Feb 15 12:23:45 CST 2003


Changelog
	tools/runtest:
	Allow to specify native dlls to be used
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/tools/runtest
===================================================================
RCS file: /home/wine/wine/tools/runtest,v
retrieving revision 1.3
diff -u -r1.3 runtest
--- wine/tools/runtest	16 Dec 2002 22:11:51 -0000	1.3
+++ wine/tools/runtest	15 Feb 2003 18:20:20 -0000
@@ -35,6 +35,7 @@
     -p prog  name of the program to run for C tests
     -P name  set the current platform name
     -M names set the module names to be tested
+    -N names set the module names to be used native
     -T dir   set Wine tree top directory (autodetected if not specified)
 
 EOF
@@ -70,6 +71,9 @@
     -M)
 	shift; modules="$1"
     ;;
+    -N)
+	shift; natives="$1"
+    ;;
     -T)
 	shift; topobjdir="$1"
 	if [ ! -d "$topobjdir" ]; then usage; fi
@@ -113,6 +117,11 @@
     WINEOPTIONS="$WINEOPTIONS --dll $modules=b"
     export WINEOPTIONS
 fi
+if [ -n "$natives" ]; then 
+    WINEOPTIONS="$WINEOPTIONS --dll $natives=n"
+    export WINEOPTIONS
+fi
+
 WINETEST_PLATFORM=${platform:-wine}
 export WINETEST_PLATFORM WINETEST_DEBUG
 



More information about the wine-patches mailing list