Update of /cvsroot/monetdb/MonetDB/src/testing
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29140/src/testing
Modified Files:
Mtest.py.in
Log Message:
fix for clients tests in the TestTools environment:
do not rely on "SQL_LOGDIR" and/or "XQUERY_LOGDIR" being available in the
environment
(we do not need them for clients tests, anyway)
Index: Mtest.py.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/Mtest.py.in,v
retrieving revision 1.285
retrieving revision 1.286
diff -u -d -r1.285 -r1.286
--- Mtest.py.in 18 Aug 2007 23:20:12 -0000 1.285
+++ Mtest.py.in 20 Aug 2007 09:20:08 -0000 1.286
@@ -1654,8 +1654,10 @@
FILES = os.path.join(TSTTRGDIR,TST)+"
"+os.path.join(TSTTRGDIR,TST)+".*"
for f in ["bat/\\*", '.gdk_lock']:
FILES = FILES+" "+os.path.join(env['GDK_DBFARM'],TSTDB,path(f))
- FILES = FILES+"
"+os.path.join(env['SQL_LOGDIR'],TSTDB,'sql_logs\\*')
- FILES = FILES+"
"+os.path.join(env['XQUERY_LOGDIR'],TSTDB,'xquery_logs\\*')
+ if env.has_key('SQL_LOGDIR'):
+ FILES = FILES+"
"+os.path.join(env['SQL_LOGDIR'],TSTDB,'sql_logs\\*')
+ if env.has_key('XQUERY_LOGDIR'):
+ FILES = FILES+"
"+os.path.join(env['XQUERY_LOGDIR'],TSTDB,'xquery_logs\\*')
WHAT0 = os.path.join(THISPATH,"MkillUsers")+" -l"+ME
WHAT1 = FILES+r"
\>\>"+os.path.join(TSTTRGDIR,TST+".KILLED.out")+r"
2\>\>"+os.path.join(TSTTRGDIR,TST+".KILLED.err")
WHAT = WHAT0+" -p"+ME+" "+WHAT1
-------------------------------------------------------------------------
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