]> git.ipfire.org Git - thirdparty/xz.git/commit
ci: test Valgrind
authorSam James <sam@gentoo.org>
Wed, 10 Apr 2024 10:43:10 +0000 (11:43 +0100)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 10 Apr 2024 21:15:35 +0000 (00:15 +0300)
commit6c095a98fbec70b790253a663173ecdb669108c4
treea552263a75af792981feb387210ba0238a39ee4f
parent6286c1900c2d2ca33d9b1b397122c7bcdb9a4d59
ci: test Valgrind

Using `--trace-children=yes` has a trade-off here, as it makes
`test_scripts.sh` pretty slow when calling various non-xz utilities.

But I also feel like it's not useless to have Valgrind used there and it's
not easy to exclude Valgrind just for that one test...

I did consider using AX_VALGRIND_CHECK [0][1] but I couldn't get it working
immediately with some conditionally-built tests and I wondered if it was
worth spending time on at least while we're debating xz's future build
system situation.

[0] https://www.gnu.org/software/autoconf-archive/ax_valgrind_check.html
[1] https://tecnocode.co.uk/2014/12/23/automatically-valgrinding-code-with-ax_valgrind_check/
.github/workflows/ci.yml
build-aux/ci_build.sh