]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
m4: Always generate suppressions with valgrind
authorMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Mon, 23 Dec 2019 10:36:13 +0000 (12:36 +0200)
committerMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Mon, 23 Dec 2019 10:36:13 +0000 (12:36 +0200)
m4/dovecot.m4

index 3b483f06ec8ac475b4d3066e5facb3d576273857..2a157d3490442daa6332995712e81d1f3de38b47 100644 (file)
@@ -289,9 +289,9 @@ else
   trap "rm -f \$test_out" 0 1 2 3 15
   supp_path="\$top_srcdir/run-test-valgrind.supp"
   if test -r "\$supp_path"; then
-    valgrind -q \$trace_children --leak-check=full --suppressions="\$supp_path" --log-file=\$test_out \$noundef \$[*]
+    valgrind -q \$trace_children --leak-check=full --gen-suppressions=all --suppressions="\$supp_path" --log-file=\$test_out \$noundef \$[*]
   else
-    valgrind -q \$trace_children --leak-check=full --log-file=\$test_out \$noundef \$[*]
+    valgrind -q \$trace_children --leak-check=full --gen-suppressions=all --log-file=\$test_out \$noundef \$[*]
   fi
   ret=\$?
   if test -s \$test_out; then