From 4edcbd65971b365f70e37ea61daa2716ebfe8b61 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Tue, 9 Jul 2019 15:45:22 -0500 Subject: [PATCH] Fix Travis after_failure --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cfc8f9ef7..c2e3ba4d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,7 @@ after_script: - if [ -n "$COVERAGE" ]; then coveralls --gcov-options '\-lp'; fi after_failure: - - 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 + - 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 gdb; do gdb -batch -x x `file "$core"|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` "$core"; done; fi compiler: