[Asterisk-code-review] Check for core dumps in /tmp. (testsuite[16])

Jenkins2 asteriskteam at digium.com
Thu Oct 4 07:33:17 CDT 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/10419 )

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(-)

Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



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/10419
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-MessageType: merged
Gerrit-Change-Id: I5ca0f7e519655b2ab4474523ebbb23a95ee16345
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181004/80f34487/attachment.html>


More information about the asterisk-code-review mailing list