Update of /cvsroot/monetdb/geom
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29990/geom

Modified Files:
        RunMtest.in 
Log Message:

adding "-4"/"-5" command line switch to RunMtest to choose between M4 & M5 
server;
M4 remains default


Index: RunMtest.in
===================================================================
RCS file: /cvsroot/monetdb/geom/RunMtest.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- RunMtest.in 22 Aug 2007 20:48:38 -0000      1.4
+++ RunMtest.in 23 Aug 2007 21:50:38 -0000      1.5
@@ -21,13 +21,21 @@
 srcdir=`cd '@srcdir@'; pwd`
 uname=`uname`
 
-# set MonetDB-server version: 4 or 5
+# default is MonetDB4
 V=4
+conffile=MonetDB.conf
 
-case "$V" in
-4) conffile=MonetDB.conf;;
-5) conffile=monetdb5.conf;;
-esac
+for arg
+do
+    case "$arg" in
+    -4)
+        V=4
+        conffile=MonetDB.conf;;
+    -5)
+        V=5
+        conffile=monetdb5.conf;;
+    esac
+done
 
 # where compiled modules are to be found
 
MOD_PATH="${builddir}/src/monetdb$V/.libs:${builddir}/src/monetdb$V:${srcdir}/src/monetdb$V:`monetdb$V-config
 --modpath`:`monetdb-sql-config --modpath$V`"
@@ -67,4 +75,4 @@
 # if the environment variable MTEST_AT is set (value does not matter),
 # pass the --at flag to Mtest.py so that it uses the at command as a
 # watchdog.
-exec Mtest.py -$V --config="`monetdb$V-config --sysconfdir`/$conffile" 
--monet_mod_path="$MOD_PATH" --dbfarm="${builddir}/dbfarm" 
--sql_logdir="${builddir}/sql_logs" --xquery_logdir="${builddir}/xquery_logs" 
--TSTSRCBASE="$srcdir" --TSTBLDBASE="$builddir" --TSTTRGBASE="${builddir}" 
${MTEST_AT+--at} "[EMAIL PROTECTED]"
+exec Mtest.py --config="`monetdb$V-config --sysconfdir`/$conffile" 
--monet_mod_path="$MOD_PATH" --dbfarm="${builddir}/dbfarm" 
--sql_logdir="${builddir}/sql_logs" --xquery_logdir="${builddir}/xquery_logs" 
--TSTSRCBASE="$srcdir" --TSTBLDBASE="$builddir" --TSTTRGBASE="${builddir}" 
${MTEST_AT+--at} "[EMAIL PROTECTED]"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to