diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-06 22:04:07 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-07 00:21:12 -0300 |
commit | cab5c25c70b884fe5428c4bfbd043316ff642518 (patch) | |
tree | b12a7e6ee71016a08e18dc32e0bd61fa970676a6 /scripts/travis.sh | |
parent | 1b5c3331dc708c335001d079b2ecf27a5ab30cd3 (diff) | |
download | rneovim-cab5c25c70b884fe5428c4bfbd043316ff642518.tar.gz rneovim-cab5c25c70b884fe5428c4bfbd043316ff642518.tar.bz2 rneovim-cab5c25c70b884fe5428c4bfbd043316ff642518.zip |
Fix memory leak and enable valgrind on travis
Diffstat (limited to 'scripts/travis.sh')
-rwxr-xr-x | scripts/travis.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh index 05747a18aa..c493da29b5 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -1,11 +1,11 @@ #!/bin/sh -e -# export VALGRIND_CHECK=1 +export VALGRIND_CHECK=1 make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist" make make unittest echo "Running tests with valgrind..." -if ! make test > /dev/null; then +if ! make test; then if ls src/testdir/valgrind.* > /dev/null 2>&1; then echo "Memory leak detected" >&2 cat src/testdir/valgrind.* |