Changeset: 479db4710389 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=479db4710389
Modified Files:
        testing/Mtest.py.in
Branch: mtest
Log Message:

Don't complain about missing stable output when testing a .test file.


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
@@ -2292,14 +2292,15 @@ def RunTest(env, TST, BusyPorts, COND, o
         ACCURACYerr = par['ACCURACY']
         STABLEout,STABLEerr = 
StableOutErr(env,par,TST,SYST,RELEASE,DIST,VERSION)
         outmissing = errmissing = False
-        if not os.path.isfile(TST+STABLEout):
-            openutf8(TST+STABLEout,"w").close()
-            ACCURACYout = 0
-            outmissing = True
-        if not os.path.isfile(TST+STABLEerr):
-            openutf8(TST+STABLEerr,"w").close()
-            ACCURACYerr = 0
-            errmissing = True
+        if CALL not in ('sqltest', 'maltest'):
+            if not os.path.isfile(TST+STABLEout):
+                openutf8(TST+STABLEout,"w").close()
+                ACCURACYout = 0
+                outmissing = True
+            if not os.path.isfile(TST+STABLEerr):
+                openutf8(TST+STABLEerr,"w").close()
+                ACCURACYerr = 0
+                errmissing = True
         if (outmissing or errmissing) and not CONDITIONALS['KNOWNFAIL']:
             # no stable output, so known to fail
             reason = "as conditional 'KNOWNFAIL' does not hold."
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to