Update of /cvsroot/monetdb/geom
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21100/geom

Modified Files:
        RunMapprove.bat.in 
Log Message:

cleaning up RunMapprove.bat script:
no need to set --monet_mod_path, --dbfarm, --sql_logdir, --xquery_logdir with 
Mapprove


U RunMapprove.bat.in
Index: RunMapprove.bat.in
===================================================================
RCS file: /cvsroot/monetdb/geom/RunMapprove.bat.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- RunMapprove.bat.in  1 Jun 2007 08:01:46 -0000       1.1.1.1
+++ RunMapprove.bat.in  28 Oct 2008 16:32:22 -0000      1.2
@@ -1,28 +1,28 @@
 @echo off
 
+if not "%1"=="" goto skip
+call %0 -r
+goto end
+
+:skip
+
 setlocal
 
-set tests=%1
-if not "%tests%"=="" goto tests_set
-       rem Ask which tests to approve
-       echo Which tests do you want to approve?
-       echo   "[<dir> ]<tests> | <dirs> | -r | <Enter> for default | -? for 
help"
-       echo   add -f option to force approval of error messages
-       set /p tests="Mapprove> "
-:tests_set
+rem default back end is MonetDB5
+set V=5
+if "%1" == "-4" set V=4& shift
+if "%1" == "-5" set V=5& shift
 
-set [EMAIL PROTECTED]@
-set [EMAIL PROTECTED]@
-set [EMAIL PROTECTED]@
+set pkg=monetdb-sql
+set [EMAIL PROTECTED]@
+set [EMAIL PROTECTED]@
 
-set 
PATH=%prefix%\src\testing;%prefix%\src\tools;%prefix%\src\mapi\clients\C;%prefix%\src\mapi\clients\python;%PATH%
-set 
PYTHONPATH=%prefix%\src\testing;%srcdir%\src\testing;%prefix%\src\common;%srcdir%\src\mapi\clients\python
-set 
PATH=%prefix%\src\common;%prefix%\src\gdk;%prefix%\src\mapi\clients\C;%prefix%\src\modules\plain\stream;%prefix%\src\monet;%PATH%
+set PATH=%builddir%\conf;%PATH%
 
 REM execute Mapprove.py in the source directory
-pushd %srcdir%\src
+pushd %srcdir%
 
-call python "%prefix%\src\testing\Mapprove.py" 
"--config=%prefix%\conf\MonetDB.conf" "--TSTSRCBASE=%srcdir%" 
"--TSTBLDBASE=%builddir%" "--TSTTRGBASE=%builddir%" %tests%
+call Mapprove.py -%V% "--package=%pkg%" "--TSTTRGBASE=%builddir%" %1 %2 %3 %4 
%5 %6 %7 %8 %9
 
 popd
 endlocal


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to