travis: Run the "all" test case with leak detective enabled

But disable the gcrypt plugin, as it causes leaks.

Also disable the backtraces by libunwind as they seem to cause
threads to get cleaned up after the leak detective already has been
disabled, which leads to invalid free()s.
This commit is contained in:
Tobias Brunner
2014-03-27 10:52:45 +01:00
parent 58d8c52190
commit 29b7377530
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@ env:
- TEST=printf-builtin LEAK_DETECTIVE=yes
- TEST=all
- TEST=all MONOLITHIC=yes
- TEST=all LEAK_DETECTIVE=yes
matrix:
include:
+6
View File
@@ -32,6 +32,12 @@ all)
--disable-dumm --disable-kernel-pfroute --disable-keychain
--disable-lock-profiler --disable-maemo --disable-padlock
--disable-osx-attr --disable-tkm --disable-uci"
if test "$LEAK_DETECTIVE" = "yes"; then
# libgcrypt can't be deinitialized
CONFIG="$CONFIG --disable-gcrypt"
# libunwind causes threads to be cleaned up after LD is disabled
CONFIG="$CONFIG --disable-unwind-backtraces"
fi
# not enabled on the build server
CONFIG="$CONFIG --disable-af-alg"
# TODO: enable? perhaps via coveralls.io (cpp-coveralls)?