Fix Travis after_failure

This commit is contained in:
Nicolas Williams
2019-07-09 15:45:22 -05:00
parent 9c51900238
commit 4edcbd6597

View File

@@ -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: