Code

t/testwrapper: Let valgrind generate suppressions for all failures.
authorSebastian Harl <sh@tokkee.org>
Sat, 19 Jul 2014 11:35:19 +0000 (13:35 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 19 Jul 2014 11:35:50 +0000 (13:35 +0200)
These are printed to stdout.

t/testwrapper.sh

index 06592723cf16414c40a5fc8ad851d2ffcca63dd0..774449a883db63e14b524c5c02b4a020ec5858c5 100755 (executable)
@@ -10,6 +10,7 @@ MEMCHECK="valgrind --quiet --tool=memcheck --error-exitcode=1"
 MEMCHECK="$MEMCHECK --trace-children=yes"
 MEMCHECK="$MEMCHECK --leak-check=full"
 MEMCHECK="$MEMCHECK --suppressions=$( dirname "$0" )/valgrind.suppress"
+MEMCHECK="$MEMCHECK --gen-suppressions=all"
 
 case "$1" in
        *unit/*)