Changeset: 89ec974b80f1 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=89ec974b80f1
Modified Files:
testing/Mtest.py.in
Branch: nospare
Log Message:
re-enable core dumps
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
@@ -140,7 +140,7 @@ if isatty:
finally:
scta(handle, reset)
-if os.path.exists('/usr/bin/coredumpctl') and False:
+if os.path.exists('/usr/bin/coredumpctl'):
# probably Linux if /usr/bin/coredumpctl exists
# try raising the core dump size limit to infinite so that when we
# get a crash we have a chance to retrieve the stack trace
@@ -1551,7 +1551,7 @@ def returnCode(proc, f = None):
if proc.returncode == -signal.SIGSEGV:
if f is not None:
f.write('\nSegmentation fault\n')
- if os.path.exists('/usr/bin/coredumpctl') and False:
+ if os.path.exists('/usr/bin/coredumpctl'):
# wait a few seconds for the core to be dumped
time.sleep(10)
out, err = coredumpctl(proc.pid)
@@ -1567,7 +1567,7 @@ def returnCode(proc, f = None):
if proc.returncode == -signal.SIGABRT:
if f is not None:
f.write('\nAborted\n')
- if os.path.exists('/usr/bin/coredumpctl') and False:
+ if os.path.exists('/usr/bin/coredumpctl'):
# wait a few seconds for the core to be dumped
time.sleep(10)
out, err = coredumpctl(proc.pid)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list