]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Disable valgrind for run-large-elf-file and run-compress-test
authorMark Wielaard <mark@klomp.org>
Thu, 18 Dec 2025 15:35:06 +0000 (16:35 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 18 Dec 2025 23:11:53 +0000 (00:11 +0100)
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 <mark@klomp.org>
tests/run-compress-test.sh
tests/run-large-elf-file.sh

index 2d4eebd61894ab974149c9ec333a08b701d57794..a57feadd7e5381e8f20d1fa6791725956ef73112 100755 (executable)
@@ -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()
 {
index 249ecd99cbfb1d6bd620d6bc64a320fad83a6a66..8044cc7b03e22e11d5d65946b33e9200091fc7cb 100755 (executable)
@@ -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)