[Asterisk-code-review] Check for core dumps in /tmp. (testsuite[master])
Corey Farrell
asteriskteam at digium.com
Wed Oct 3 15:58:23 CDT 2018
Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/10418
Change subject: Check for core dumps in /tmp.
......................................................................
Check for core dumps in /tmp.
Jenkins is configured for core dumps to be saved in /tmp. Add a check
for that path.
Change-Id: I5ca0f7e519655b2ab4474523ebbb23a95ee16345
---
M runtests.py
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/18/10418/1
diff --git a/runtests.py b/runtests.py
index 3f6ef9c..3f2d0c2 100755
--- a/runtests.py
+++ b/runtests.py
@@ -225,6 +225,11 @@
if item.startswith('core') or item.startswith('vgcore'):
core_files.append(item)
+ contents = os.listdir('/tmp')
+ for item in contents:
+ if item.startswith('core') or item.startswith('vgcore'):
+ core_files.append(item)
+
contents = os.listdir(self.test_name)
for item in contents:
if item.startswith('core') or item.startswith('vgcore'):
--
To view, visit https://gerrit.asterisk.org/10418
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ca0f7e519655b2ab4474523ebbb23a95ee16345
Gerrit-Change-Number: 10418
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181003/98fee58d/attachment.html>
More information about the asterisk-code-review
mailing list