From 9a6436fe3c67ac364e01ebc54917fc79393ff2e0 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Fri, 4 Jan 2019 01:23:26 -0600 Subject: [PATCH] Fix Travis core analysis; do not cat config.log --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c0789030e..4147ec6e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,10 +48,9 @@ after_script: - if [ -n "$COVERAGE" ]; then coveralls --gcov-options '\-lp'; fi after_failure: - - cat config.log - find . -name "*.trs" -print0| xargs -0 grep -l '^:test-result: FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done - if [ $TRAVIS_OS_NAME = linux ]; then echo "thread apply all bt" > x; find . -name core -print0 | xargs -0 gdb -batch -x x `file core|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` core; fi - - if [ $TRAVIS_OS_NAME = linux ]; then echo "thread apply all bt" > x; find . -name core.\* -print | while read gdb; do gdb -batch -x x `file "$core"|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` "$core"; fi + - if [ $TRAVIS_OS_NAME = linux ]; then echo "thread apply all bt" > x; find . -name core.\* -print | while read gdb; do gdb -batch -x x `file "$core"|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` "$core"; done compiler: - clang