commit:     bb72165511c977b2a2bd44e4733583d0f51b32b6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 05:32:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 05:32:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb721655

sys-devel/mold: skip test failing w/ C23

I can't rebuild to test a fix to the test right now, so skip it instead.

Bug: https://github.com/rui314/mold/issues/1370
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/mold/mold-2.35.0.ebuild | 5 +++++
 sys-devel/mold/mold-9999.ebuild   | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/sys-devel/mold/mold-2.35.0.ebuild 
b/sys-devel/mold/mold-2.35.0.ebuild
index d7e4c65e6171..29ba8bfdb0b4 100644
--- a/sys-devel/mold/mold-2.35.0.ebuild
+++ b/sys-devel/mold/mold-2.35.0.ebuild
@@ -84,6 +84,11 @@ src_configure() {
 }
 
 src_test() {
+       local CMAKE_SKIP_TESTS=(
+               # https://github.com/rui314/mold/issues/1370
+               x86_64-range-extension-thunk2
+       )
+
        export TEST_CC="$(tc-getCC)" TEST_GCC="$(tc-getCC)" \
                TEST_CXX="$(tc-getCXX)" TEST_GXX="$(tc-getCXX)"
        cmake_src_test

diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
index d7e4c65e6171..29ba8bfdb0b4 100644
--- a/sys-devel/mold/mold-9999.ebuild
+++ b/sys-devel/mold/mold-9999.ebuild
@@ -84,6 +84,11 @@ src_configure() {
 }
 
 src_test() {
+       local CMAKE_SKIP_TESTS=(
+               # https://github.com/rui314/mold/issues/1370
+               x86_64-range-extension-thunk2
+       )
+
        export TEST_CC="$(tc-getCC)" TEST_GCC="$(tc-getCC)" \
                TEST_CXX="$(tc-getCXX)" TEST_GXX="$(tc-getCXX)"
        cmake_src_test

Reply via email to