summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-12-23 22:58:07 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-12-23 22:58:07 +0100
commit8bf060fba08ca3bb9f7a368bb5ee79d3a5993a6c (patch)
tree330a4c9211634e3f6b3cdac38f546b7b10551283
parentAdd patch from altlinux that disables tunable parsing on setuid (diff)
downloadglibc-patches-8bf060fba08ca3bb9f7a368bb5ee79d3a5993a6c.tar.gz
glibc-patches-8bf060fba08ca3bb9f7a368bb5ee79d3a5993a6c.tar.bz2
glibc-patches-8bf060fba08ca3bb9f7a368bb5ee79d3a5993a6c.zip
Disable valgrind tests
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-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
+