diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-17 21:25:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-17 21:25:08 +0100 |
commit | 9e27217c489c6eca2bd98d1c9fa89c1b652ed792 (patch) | |
tree | 1af6949cec7101e331201915a35c302fca3e9cfc /.travis.yml | |
parent | 7567d0b115e332f61a9f390aaccdf7825b891227 (diff) | |
download | vim-git-9e27217c489c6eca2bd98d1c9fa89c1b652ed792.tar.gz |
patch 8.0.1306: ASAN error stack trace is not usefulv8.0.1306
Problem: ASAN error stack trace is not useful.
Solution: Add "asan_symbolize". (James McCoy, closes #2344)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index b3ecd091c..a2b074bde 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,6 +67,7 @@ addons: apt: packages: - autoconf + - clang - lcov - libperl-dev - python-dev @@ -102,9 +103,8 @@ script: - (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi) # Show Vim version and also if_xx versions. - if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-1.vim -c quit > /dev/null; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-2.vim -c quit > /dev/null; cat if_ver.txt; fi - - if [ -n "$ASAN_OPTIONS" ]; then export PATH=/usr/lib/llvm-$(clang -v 2>&1 | sed -n 's/.*version \([1-9]\.[0-9][0-9]*\).*/\1/p')/bin:$PATH; fi - make $SHADOWOPT $TEST - - if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do cat "$log"; err=1; done; fi + - if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do asan_symbolize < "$log"; err=1; done; fi - if [ -n "$err" ]; then exit 1; fi after_success: |