Changeset: af33e9e6ac9a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/af33e9e6ac9a
Modified Files:
        testing/Mtest.py.in
Branch: Aug2024
Log Message:

Always skip known-to-fail tests unless --alltests is passed as argument.
I.e. when a specific tests is given as argument, we no longer assume
--alltests, but instead that argument has to be given explicitly.


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
@@ -3992,7 +3992,6 @@ def main(argv) :
                     ErrXit("%s: not a valid test name" % args[0])
                 args = [head]
                 if tail != 'All':
-                    CONDITIONALS['KNOWNFAIL'] = True
                     for ext in ('.test', '.maltest', 'MAL.py', '.SQL.py',
                                 '.sql', '.py', '.R', '.rb', ''):
                         # extensions .in and .src are never combined
@@ -4008,7 +4007,6 @@ 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'] = True
                 args = [head, tail]
 
         if len(args) == 1:
@@ -4024,7 +4022,6 @@ def main(argv) :
             elif args[0] != "All":
                 #TODO:
                 # check, whether args[0] in All
-                CONDITIONALS['KNOWNFAIL'] = True
                 testlist.append(args[0])
         elif len(args) > 1:
             i = 0
@@ -4037,7 +4034,6 @@ def main(argv) :
                     # WARNING/ERROR
                 i = i + 1
             if len(dirlist) == 1  and  i < len(args)  and  args[i] != "All":
-                CONDITIONALS['KNOWNFAIL'] = True
                 while i < len(args):
                     if os.sep not in args[i]:
                         #TODO:
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to