Allow native dlls and debugmsg in runtest
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Sat Feb 15 18:51:07 CST 2003
Changelog
tools/runtest
Allow the use of native dlls and debugmessages
(Includes " Allow native dlls in runtest")
--
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 16 Feb 2003 00:41:44 -0000
@@ -35,7 +35,9 @@
-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)
+ -d args Emit debugmessages (e.g. +relay,+msvcrt)
EOF
exit 1
@@ -70,6 +72,12 @@
-M)
shift; modules="$1"
;;
+ -N)
+ shift; natives="$1"
+ ;;
+ -d)
+ shift; debugargs="$1"
+ ;;
-T)
shift; topobjdir="$1"
if [ ! -d "$topobjdir" ]; then usage; fi
@@ -113,6 +121,15 @@
WINEOPTIONS="$WINEOPTIONS --dll $modules=b"
export WINEOPTIONS
fi
+if [ -n "$natives" ]; then
+ WINEOPTIONS="$WINEOPTIONS --dll $natives=n"
+ export WINEOPTIONS
+fi
+if [ -n "$debugargs" ]; then
+ WINEOPTIONS="$WINEOPTIONS --debugmsg $debugargs"
+ export WINEOPTIONS
+fi
+
WINETEST_PLATFORM=${platform:-wine}
export WINETEST_PLATFORM WINETEST_DEBUG
More information about the wine-patches
mailing list