mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
Fix travis script
It was broke because the ls command failed when no valgrind.* file were found
This commit is contained in:
parent
a97c1754ad
commit
c492c5e36d
@ -5,7 +5,7 @@ make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
|
||||
make
|
||||
echo "Running tests with valgrind..."
|
||||
if ! make test > /dev/null 2>&1; then
|
||||
failed=$(ls src/testdir/valgrind.*)
|
||||
failed=$(ls src/testdir/valgrind.* || true)
|
||||
if [ -n "$failed" ]; then
|
||||
echo "Memory leak detected" >&2
|
||||
cat src/testdir/valgrind.*
|
||||
|
Loading…
Reference in New Issue
Block a user