Changeset: 55a486691544 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=55a486691544
Modified Files:
        testing/Mtest.py.in
Branch: Dec2011
Log Message:

leave a crash marker for TestTools


diffs (19 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -1883,6 +1883,15 @@ def RunTest(env, TST, BusyPorts, COND, o
                     os.rename(corefile, os.path.join(env['GDK_DBFARM'],
                         env['TSTDB'], 'core-%s' % (TST)))
                 except:
+                    corefile = None
+            # leave a marker for TestTools
+            if corefile is None:
+                try:
+                    f = open(os.path.join(env['GDK_DBFARM'], env['TSTDB'],
+                        'crash-%s' % (TST)))
+                    f.write("crash without core file, or renaming it failed\n")
+                    f.close()
+                except:
                     pass
 
         t1 = time.time()
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to