Update of /cvsroot/monetdb/clients
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2110/clients
Modified Files:
Makefile.ag
Added Files:
RunMtest.bat.in RunMtest.in
Log Message:
Moved "usage" tests of MAPI clients tools and scripts to where they belong:
the clients repository.
Split-up collective "usage" test into individual "*--help" tests.
Added test MonetDB4/src/tools/Tests/Mbeddedmil--help.
Stable output of the following tests need to be checked/fixed/provided by the
respective tools/script maintainer(s):
clients/src/java/scripts/Tests/mjclient--help
clients/src/mapiclient/Tests/MapiClient--help
MonetDB4/src/tools/Tests/Mbeddedmil--help
--- NEW FILE: RunMtest.in ---
#!/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-2007 CWI.
# All Rights Reserved.
[EMAIL PROTECTED]@
# make sure srcdir contains absolute path name
srcdir=`cd '@Xsrcdir@'; pwd`
uname=`uname`
# enhance various paths to find our stuff
for x in "${builddir}/conf/monetdb-clients-config"
"${builddir}/src/java/scripts/mjclient" "${builddir}/src/python/MapiClient.py"
; do
if [ -s $x ] ; then
chmod +x $x
fi
done
PATH="${builddir}/conf:${builddir}/src/java/scripts:${builddir}/src/mapiclient:${builddir}/src/python:$PATH"
export PATH
# execute Mtest.py in the source directory
cd "$srcdir"
# check python version
type -a @PYTHON@
@PYTHON@ -V
# 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 Mtest.py --TSTSRCBASE="${srcdir}" --TSTBLDBASE="${builddir}"
--TSTTRGBASE="${builddir}" ${MTEST_AT+--at} "[EMAIL PROTECTED]"
Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/clients/Makefile.ag,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile.ag 20 Feb 2007 10:48:05 -0000 1.6
+++ Makefile.ag 18 Aug 2007 23:30:56 -0000 1.7
@@ -18,8 +18,12 @@
EXTRA_DIST = configure.ag rpm.mk.in \
MonetDB-client.spec MonetDB-client.spec.in \
+ RunMtest.in RunMtest.bat.in \
RunMapiClient.bat.in
EXTRA_DIST_DIR = NT
#EXTRA_HEADERS = clients_config.h
+
+TESTS = RunMtest
+TESTS_ENVIRONMENT = $(SHELL)
--- NEW FILE: RunMtest.bat.in ---
@echo off
if not "%1"=="" goto skip
call %0 -rq
goto end
:skip
setlocal
set [EMAIL PROTECTED]@
set [EMAIL PROTECTED]@
set [EMAIL PROTECTED]@\bin;%PATH%
set PATH=%builddir%\conf;%PATH%
set PATH=%builddir%\src\java\scripts;%PATH%
set PATH=%builddir%\src\mapiclient;%PATH%
set PATH=%builddir%\src\python;%PATH%
set [EMAIL PROTECTED]@\share\MonetDB\python;%PYTHONPATH%
REM execute Mtest.py in the source directory
pushd %srcdir%
call Mtest.py "--TSTSRCBASE=%srcdir%" "--TSTBLDBASE=%builddir%"
"--TSTTRGBASE=%builddir%" %*
popd
endlocal
:end
-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins