Add --gen-suppressions=all to valgrind options

* testenv/test/base_test.py: Add --gen-suppressions=all to valgrind options
* tests/Test-proxied-https-auth.px: Likewise
* tests/WgetTests.pm: Likewise
This commit is contained in:
Tim Rühsen 2020-02-21 22:40:59 +01:00
parent f4dfddfaf3
commit e1c4a2705f
3 changed files with 3 additions and 2 deletions

View File

@ -131,6 +131,7 @@ class BaseTest:
cmd_line = 'valgrind --error-exitcode=301 ' \
'--leak-check=yes ' \
'--track-origins=yes ' \
'--gen-suppressions=all ' \
'--suppressions=../valgrind-suppression-ssl ' \
'%s %s ' % (wget_path, wget_options)
elif valgrind not in ("", "0"):

View File

@ -166,7 +166,7 @@ if (!defined $valgrind || $valgrind eq "" || $valgrind == 0) {
} elsif ($valgrind == 1) {
$cmdline =
'valgrind --suppressions=' . $VALGRIND_SUPP_FILE
. ' --error-exitcode=301 --leak-check=yes --track-origins=yes '
. ' --error-exitcode=301 --leak-check=yes --track-origins=yes --gen-suppressions=all '
. $cmdline;
} else {
$cmdline = $valgrind . " " . $cmdline;

View File

@ -145,7 +145,7 @@ sub run
{
$cmdline =
'valgrind --suppressions=' . $VALGRIND_SUPP_FILE
. ' --error-exitcode=301 --leak-check=yes --track-origins=yes '
. ' --error-exitcode=301 --leak-check=yes --track-origins=yes --gen-suppressions=all '
. $cmdline;
}
elsif ($valgrind ne q{} && $valgrind ne "0")