Changeset: f7ae9066f0e0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f7ae9066f0e0
Modified Files:
testing/Mtest.py.in
Branch: Aug2011
Log Message:
Mtest: if no tests specified, test all.
In other words, no need to always specify --recursive (-r) on the
command line.
diffs (27 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -3128,7 +3128,7 @@ def main(argv) :
if config:
config = ' "--config=%s"' % config
- par['RECURSIVE'] = opts.get('recursive', 0)
+ recursive = opts.get('recursive', False)
global quiet
quiet = opts.get('quiet', 0)
global verbose
@@ -3477,9 +3477,13 @@ def main(argv) :
# Warn: dirlist => ignore testlist, assume All
#else:
# Warn: All => ignore testlist
+ else:
+ # len(args) == 0: no explicit tests specified so do all
+ recursive = True
+
if not dirlist:
dirlist.append(os.getcwd())
- if par['RECURSIVE']:
+ if recursive:
#TODO
#if testlist:
# WARNING
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list