From a7ba8855cc6feabe89d1576d6c5cb0bc99cd846d Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Fri, 9 Oct 2020 21:42:46 -0500 Subject: [PATCH] travis: get stack traces from cores on OS X too --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4c1a8ebb8..93541c6ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,6 +61,7 @@ after_script: after_failure: - find . -name test-suite.log -print0 | xargs -0 cat - if [ $TRAVIS_OS_NAME = linux ]; then echo "thread apply all bt" > x; find . -name core -print | while read core; do gdb -batch -x x `file "$core"|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` "$core"; done; fi + - if [ $TRAVIS_OS_NAME = osx ]; then find . -name core -print | while read core; do echo bt | lldb --core "$core" `file "$core"|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` "$core"; done; fi compiler: - clang