From: Eric Wong Date: Sun, 26 Oct 2025 00:16:46 +0000 (+0000) Subject: Makefile.PL: allow VG_EXTRA to specify extra knobs X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b773f02ae315f1d7e9f92cd5b878255f67974ff0;p=thirdparty%2Fpublic-inbox.git Makefile.PL: allow VG_EXTRA to specify extra knobs Users may wish to generate suppression files using --gen-suppressions= or add other switches documented in valgrind(1). --- diff --git a/Makefile.PL b/Makefile.PL index 27fe02ff2..ae6ba31b7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -300,6 +300,7 @@ test-asan : pure_all VG_OPT = -v --trace-children=yes --track-fds=yes VG_OPT += --leak-check=yes --track-origins=yes +VG_OPT += \$(VG_EXTRA) test-valgrind : pure_all TEST_XH_CXX_ONLY=1 VALGRIND="valgrind \$(VG_OPT)" \\ prove -bvw \$(XH_TESTS)