Changeset: 813ee090796b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=813ee090796b
Modified Files:
testing/Mtest.py.in
Branch: Nov2019
Log Message:
Ignore KNOWNFAIL condition if test explicitly requested.
diffs (35 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -4220,6 +4220,7 @@ def main(argv) :
ErrXit("%s: not a valid test name" % args[0])
args = [head]
if tail != 'All':
+ CONDITIONALS['KNOWNFAIL'] = 'execute'
for ext in ('_s00.malC', '_p00.malC', '_s00.sql',
'_p00.sql', '.MAL.py', '.SQL.py', '.malC',
'.sql', '.py', '.R', ''):
@@ -4236,6 +4237,7 @@ def main(argv) :
else:
ErrXit("%s: not a valid test name" % args[0])
elif head and tail and os.path.isdir(head) and tail != 'Tests' and
os.path.isdir(os.path.join(head, 'Tests')):
+ CONDITIONALS['KNOWNFAIL'] = 'execute'
args = [head, tail]
if len(args) == 1:
@@ -4251,6 +4253,7 @@ def main(argv) :
elif args[0] != "All":
#TODO:
# check, whether args[0] in All
+ CONDITIONALS['KNOWNFAIL'] = 'execute'
testlist.append(args[0])
elif len(args) > 1:
i = 0
@@ -4263,6 +4266,7 @@ def main(argv) :
# WARNING/ERROR
i = i + 1
if len(dirlist) == 1 and i < len(args) and args[i] != "All":
+ CONDITIONALS['KNOWNFAIL'] = 'execute'
while i < len(args):
if os.sep not in args[i]:
#TODO:
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list