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

Don't print -.--- for fast running, successful tests in times.lst.


diffs (31 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -1386,15 +1386,16 @@ def PerformDir(env, testdir, testlist, t
                     if not testweb:
                         print('\nGlobal testing timeout reached\n')
                         break
-                    tt, FtOut, FtErr, bodyline, reason = 
0,F_SKIP,F_SKIP,None,"as the global timeout has been reached"
+                    tt, FtOut, FtErr, bodyline, reason = 
-1,F_SKIP,F_SKIP,None,"as the global timeout has been reached"
                 else:
                     os.environ['TST'] = TST
                     tt, FtOut, FtErr, bodyline, reason, links = RunTest(env, 
TST, COND, oktests, length, pSrvr, total_tests, test_progress)
                     alllinks.extend(links)
-                if tt:
+                if tt >= 0:
                     t = "%7.3f" % tt
                 else:
                     t = '-.---'
+                    tt = 0
                 TIMES.append((TSTDIR, TST, t, tt, FtOut, FtErr, reason))
                 td += tt
                 FdOut = max(FdOut,FtOut)
@@ -1864,7 +1865,7 @@ def RunTest(env, TST, COND, oktests, len
     links = []                  # symlinks we make
     threads = None              # set if we override number of threads
 
-    TX = 0
+    TX = -1
     EXT = CALL = SERVER = ""
     x  = isexecutable(TST)
     if not x[0]:
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to