summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--9999/0011-Gentoo-Disable-valgrind-based-tests-too-unreliable.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/9999/0011-Gentoo-Disable-valgrind-based-tests-too-unreliable.patch b/9999/0011-Gentoo-Disable-valgrind-based-tests-too-unreliable.patch
new file mode 100644
index 0000000..4d2931f
--- /dev/null
+++ b/9999/0011-Gentoo-Disable-valgrind-based-tests-too-unreliable.patch
@@ -0,0 +1,38 @@
+From d63e3913e62114f4fc71862f2d57b454a5746a24 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
+Date: Sat, 23 Dec 2023 22:56:11 +0100
+Subject: [PATCH] Gentoo: Disable valgrind-based tests, too unreliable
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
+---
+ elf/Makefile | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/elf/Makefile b/elf/Makefile
+index 1a05a6aaca..5910453e1c 100644
+--- a/elf/Makefile
++++ b/elf/Makefile
+@@ -470,7 +470,6 @@ tests += \
+ unload6 \
+ unload7 \
+ unload8 \
+- valgrind-test \
+ # tests
+ tests-cxx = \
+ tst-dlopen-nodelete-reloc \
+@@ -601,9 +600,6 @@ $(objpfx)tst-relro-libc.out: tst-relro-symbols.py $(..)/scripts/glibcelf.py \
+ --required=__io_vtables \
+ > $@ 2>&1; $(evaluate-test)
+
+-ifeq ($(run-built-tests),yes)
+-tests-special += $(objpfx)tst-valgrind-smoke.out
+-endif
+ $(objpfx)tst-valgrind-smoke.out: tst-valgrind-smoke.sh $(objpfx)ld.so $(objpfx)valgrind-test
+ $(SHELL) $< $(objpfx)ld.so $(rtlddir)/$(rtld-installed-name) '$(test-wrapper-env)' \
+ '$(run-program-env)' '$(rpath-link)' $(objpfx)valgrind-test > $@; $(evaluate-test)
+--
+2.41.0
+