Changeset: 16bf5ff138c8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=16bf5ff138c8
Modified Files:
        testing/helpers.py
Branch: mtest
Log Message:

added timeout, nomito


diffs (16 lines):

diff --git a/testing/helpers.py b/testing/helpers.py
--- a/testing/helpers.py
+++ b/testing/helpers.py
@@ -78,7 +78,11 @@ def process_test_dir(dir_path:str, ctx={
                 else:
                     missing_reqtests.append(r)
             test['missing_reqtests'] = missing_reqtests
-        # TODO .timeout and .nomito
+        if os.path.isfile(test_path + '.nomito'):
+            test['nomito'] = True
+        if os.path.isfile(test_path + '.timeout'):
+            with open(test_path + '.timeout', 'r') as f:
+                test['timeout'] = int(f.read().strip())
         for ext, call, server in lookup:
             if os.path.isfile(test_path + ext):
                 test['ext'] = ext
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to