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

fix not catched exception drop sqllogic


diffs (30 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -3296,7 +3296,10 @@ def DoIt(env, SERVER, CALL, TST, EXT, Te
                         returncode = 'error'
                     else:
                         if not os.path.exists(TST+'.reqtests'):
-                            sql.drop()
+                            try:
+                                sql.drop()
+                            except:
+                                pass
                         try:
                             sql.parse(TST+EXT)
                         except sqllogictest.SQLLogicSyntaxError:
diff --git a/testing/Mz.py.in b/testing/Mz.py.in
--- a/testing/Mz.py.in
+++ b/testing/Mz.py.in
@@ -1706,7 +1706,10 @@ def RunSQLLogicTest(env, Test, TestOut, 
             else:
                 # if not required by any other test clean up
                 if not (is_reqtest or has_reqtests):
-                    sql.drop()
+                    try:
+                        sql.drop()
+                    except pymonetdb.Error as e:
+                        print(e, file=f)
                 try:
                     sql.parse(Test)
                 except sqllogictest.SQLLogicSyntaxError as e:
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to