From e1c4a2705f4a09f4c4e20ef50144e50b748be139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 21 Feb 2020 22:40:59 +0100 Subject: [PATCH] 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 --- testenv/test/base_test.py | 1 + tests/Test-proxied-https-auth.px | 2 +- tests/WgetTests.pm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/testenv/test/base_test.py b/testenv/test/base_test.py index dbf4678f..0d2624ad 100644 --- a/testenv/test/base_test.py +++ b/testenv/test/base_test.py @@ -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"): diff --git a/tests/Test-proxied-https-auth.px b/tests/Test-proxied-https-auth.px index 878114e7..81c93c1a 100755 --- a/tests/Test-proxied-https-auth.px +++ b/tests/Test-proxied-https-auth.px @@ -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; diff --git a/tests/WgetTests.pm b/tests/WgetTests.pm index 92bab4ef..657b69b5 100644 --- a/tests/WgetTests.pm +++ b/tests/WgetTests.pm @@ -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")