mirror of
https://github.com/mirror/wget.git
synced 2025-01-26 20:30:40 +08:00
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:
parent
f4dfddfaf3
commit
e1c4a2705f
@ -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"):
|
||||
|
@ -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;
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user