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

Make sure directory exists.
It may not when using --testweb.


diffs (12 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -4167,6 +4167,8 @@ def main(argv) :
             pass
         body = body_bad + body_good
 
+        if not os.path.exists(os.path.join(TSTTRGBASE, TSTPREF)):
+            os.mkdir(os.path.join(TSTTRGBASE, TSTPREF))
         fn = os.path.join(TSTTRGBASE, TSTPREF, "times.")
         fl = openutf8(fn+"lst","w")
         Failure = [[] for i in FAILURES]
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to