Changeset: d84d6575ad4e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d84d6575ad4e
Modified Files:
        java/Makefile.ag
        java/RunMapprove.bat.in
        java/RunMapprove.in
        java/RunMtest.bat.in
        java/RunMtest.in
Branch: default
Log Message:

Merge with Mar2011 branch.


diffs (174 lines):

diff --git a/java/Makefile.ag b/java/Makefile.ag
--- a/java/Makefile.ag
+++ b/java/Makefile.ag
@@ -17,9 +17,7 @@
 
 SUBDIRS = HAVE_JAVAJDBC?tests
 
-EXTRA_DIST = RunMtest.in RunMtest.bat.in \
-               RunMapprove.in \
-               build.xml build.properties release.txt
+EXTRA_DIST = build.xml build.properties release.txt
 
 EXTRA_DIST_DIR = src \
                 example
@@ -42,8 +40,6 @@
        FILES = merocontrol.jar
 }
 
-TESTS = RunMtest
-TESTS_ENVIRONMENT = $(SHELL)
 JAVA_HOME = @JAVA_HOME@
 
 # vim: ft=automake :
diff --git a/java/RunMapprove.bat.in b/java/RunMapprove.bat.in
deleted file mode 100644
--- a/java/RunMapprove.bat.in
+++ /dev/null
@@ -1,26 +0,0 @@
-@echo off
-
-if not "%1"=="" goto skip
-call %0 -r
-goto end
-
-:skip
-
-setlocal
-
-set pkg=java
-set buildbase=@XBUILD@
-set builddir=%buildbase%\java
-set srcdir=@XSOURCE@\java
-
-set PYTHONPATH=%buildbase%\testing;%srcdir%\..\testing;%PYTHONPATH%
-
-REM execute Mapprove.py in the source directory
-pushd %srcdir%
-
-call "%buildbase%\testing\Mapprove.py" --package=%pkg% 
"--TSTTRGBASE=%builddir%" %*
-
-popd
-endlocal
-
-:end
diff --git a/java/RunMapprove.in b/java/RunMapprove.in
deleted file mode 100755
--- a/java/RunMapprove.in
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-# The contents of this file are subject to the MonetDB Public License
-# Version 1.1 (the "License"); you may not use this file except in
-# compliance with the License. You may obtain a copy of the License at
-# http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
-#
-# Software distributed under the License is distributed on an "AS IS"
-# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-# License for the specific language governing rights and limitations
-# under the License.
-#
-# The Original Code is the MonetDB Database System.
-#
-# The Initial Developer of the Original Code is CWI.
-# Portions created by CWI are Copyright (C) 1997-July 2008 CWI.
-# Copyright August 2008-2011 MonetDB B.V.
-# All Rights Reserved.
-
-pkg=java
-buildbase=@QBUILD@
-builddir="${buildbase}/java"
-# make sure srcdir contains absolute path name
-srcdir=`cd '@srcdir@'; pwd`
-
-PYTHONPATH="${buildbase}/testing:${srcdir}/../testing:${PYTHONPATH}"
-export PYTHONPATH
-
-# execute Mapprove.py in the source directory
-cd "$srcdir"
-
-# execute the script.
-# if no arguments, do a recursive approve (Mapprove.py -r), else pass
-# on the arguments
-exec python "${buildbase}/testing/Mapprove.py" --package=${pkg} 
--TSTTRGBASE="${builddir}" "${@--r}"
diff --git a/java/RunMtest.bat.in b/java/RunMtest.bat.in
deleted file mode 100644
--- a/java/RunMtest.bat.in
+++ /dev/null
@@ -1,28 +0,0 @@
-@echo off
-
-if not "%1"=="" goto skip
-call %0 -rq
-goto end
-
-:skip
-
-setlocal
-
-set pkg=java
-set buildbase=@XBUILD@
-set builddir=%buildbase%\java
-set srcdir=@XSOURCE@\java
-
-set PATH=%buildbase%\clients\mapiclient;%buildbase%\testing;%PATH%
-
-set PYTHONPATH=%buildbase%\testing;%srcdir%\..\testing;%PYTHONPATH%
-
-REM execute Mtest.py in the source directory
-pushd %srcdir%
-
-call "%buildbase%\testing\Mtest.py" --package=%pkg% 
"--dbfarm=%builddir%\dbfarm" "--TSTTRGBASE=%builddir%" %*
-
-popd
-endlocal
-
-:end
diff --git a/java/RunMtest.in b/java/RunMtest.in
deleted file mode 100755
--- a/java/RunMtest.in
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-# The contents of this file are subject to the MonetDB Public License
-# Version 1.1 (the "License"); you may not use this file except in
-# compliance with the License. You may obtain a copy of the License at
-# http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
-#
-# Software distributed under the License is distributed on an "AS IS"
-# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-# License for the specific language governing rights and limitations
-# under the License.
-#
-# The Original Code is the MonetDB Database System.
-#
-# The Initial Developer of the Original Code is CWI.
-# Portions created by CWI are Copyright (C) 1997-July 2008 CWI.
-# Copyright August 2008-2011 MonetDB B.V.
-# All Rights Reserved.
-
-pkg=java
-buildbase=@QBUILD@
-builddir="${buildbase}/java"
-# make sure srcdir contains absolute path name
-srcdir=`cd '@srcdir@'; pwd`
-uname=`uname`
-
-# enhance various paths to find our stuff
-PATH="${buildbase}/clients/mapiclient:${buildbase}/testing:$PATH"
-export PATH
-
-PYTHONPATH="${buildbase}/testing:${srcdir}/../testing:${PYTHONPATH}"
-export PYTHONPATH
-
-# execute Mtest.py in the source directory
-cd "$srcdir"
-
-# execute the script.
-# if no arguments, do a recursive test (Mtest.py -r), else pass on the
-# arguments.
-# 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 python "${buildbase}/testing/Mtest.py" --package=${pkg} 
--dbfarm="${builddir}/dbfarm" --TSTTRGBASE="${builddir}" ${MTEST_AT+--at} 
"${@--rq}"
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to