Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/mold/
Date: Sun, 26 Jun 2022 12:54:56
Message-Id: 1656248063.6eac8f2838eee9953bfc4ab0ece59cf396d6e026.matthew@gentoo
1 commit: 6eac8f2838eee9953bfc4ab0ece59cf396d6e026
2 Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 12:52:04 2022 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 12:54:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eac8f28
7
8 sys-devel/mold: fix tests
9
10 Fix LD_PRELOAD path in mold-wrapper tests, and delete more tests that
11 require QEMU.
12
13 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
14
15 sys-devel/mold/mold-9999.ebuild | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18 diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
19 index d5c163c1ba90..1fe9a5a08e35 100644
20 --- a/sys-devel/mold/mold-9999.ebuild
21 +++ b/sys-devel/mold/mold-9999.ebuild
22 @@ -53,10 +53,11 @@ src_prepare() {
23
24 # Heavy tests, need qemu
25 rm test/elf/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die
26 + rm test/elf/lto-{archive,dso,gcc,llvm,version-script}.sh || die
27
28 # Sandbox sadness
29 rm test/elf/run.sh || die
30 - sed -i 's|$mold-wrapper.so|"& ${LD_PRELOAD}"|' \
31 + sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \
32 test/elf/mold-wrapper{,2}.sh || die
33
34 # static-pie tests require glibc built with static-pie support