Enable stderr for test in travis

This is necessary to keep the build from 'erroring' since running the tests
with valgrind will take a long time
This commit is contained in:
Thiago de Arruda
2014-02-26 22:42:10 -03:00
parent a2ce1df772
commit 2c02f00b7c

View File

@ -4,7 +4,7 @@ export VALGRIND_CHECK=1
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
make
echo "Running tests with valgrind..."
if ! make test > /dev/null 2>&1; then
if ! make test > /dev/null; then
if ls src/testdir/valgrind.* > /dev/null 2>&1; then
echo "Memory leak detected" >&2
cat src/testdir/valgrind.*