From a5165384a7d03c1a33a6c0d67c46ccb526c82b79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martti=20Rannanj=C3=A4rvi?= Date: Mon, 23 Dec 2019 12:36:13 +0200 Subject: [PATCH] m4: Always generate suppressions with valgrind --- m4/dovecot.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/dovecot.m4 b/m4/dovecot.m4 index 3b483f06ec..2a157d3490 100644 --- a/m4/dovecot.m4 +++ b/m4/dovecot.m4 @@ -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 -- 2.47.3