]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
Makefile.PL: allow VG_EXTRA to specify extra knobs
authorEric Wong <e@80x24.org>
Sun, 26 Oct 2025 00:16:46 +0000 (00:16 +0000)
committerEric Wong <e@80x24.org>
Mon, 27 Oct 2025 17:40:53 +0000 (17:40 +0000)
Users may wish to generate suppression files using --gen-suppressions=
or add other switches documented in valgrind(1).

Makefile.PL

index 27fe02ff27135869a4e4fd11a64afcfc58048ff3..ae6ba31b71891eb94b2c902d7778847ad508deab 100644 (file)
@@ -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)