From: Mark Wielaard Date: Thu, 18 Dec 2025 15:35:06 +0000 (+0100) Subject: tests: Disable valgrind for run-large-elf-file and run-compress-test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00504f89a8900951b7e5e56bada50e0740ad19c7;p=thirdparty%2Felfutils.git tests: Disable valgrind for run-large-elf-file and run-compress-test Both run-compress-test and run-large-elf-file create really big files. Processing these under valgrind take a very long time. To encourage more testing under valgrind memcheck or helgrind disable valgrind for these two test so people don't have to wait 10 minutes for make check results. * tests/run-compress-test.sh: Unset VALGRIND_CMD. * tests/run-large-elf-file.sh: Likewise. Signed-off-by: Mark Wielaard --- diff --git a/tests/run-compress-test.sh b/tests/run-compress-test.sh index 2d4eebd6..a57feadd 100755 --- a/tests/run-compress-test.sh +++ b/tests/run-compress-test.sh @@ -17,6 +17,9 @@ . $srcdir/test-subr.sh +# This test just takes way too long under valgrind +unset VALGRIND_CMD + # uncompress -> gnucompress -> uncompress -> elfcompress -> uncompress testrun_elfcompress_file() { diff --git a/tests/run-large-elf-file.sh b/tests/run-large-elf-file.sh index 249ecd99..8044cc7b 100755 --- a/tests/run-large-elf-file.sh +++ b/tests/run-large-elf-file.sh @@ -18,6 +18,9 @@ . $srcdir/test-subr.sh +# This test just takes way too long under valgrind +unset VALGRIND_CMD + # Only run on 64bit systems, 32bit systems don't support > 4GB # ELF files. long_bit=$(getconf LONG_BIT)