diff options
| author | sin-ack <sin-ack@protonmail.com> | 2024-11-13 00:06:43 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-11-23 14:00:58 +0000 |
| commit | 4ee090471c57f217670048c26980ba4ebc54f819 (patch) | |
| tree | de65a996350c124b07dae84b15a2bcd22c0b099a /dev-cpp | |
| parent | d02b4609c2e988640b11ab7fbd95cbef0650882a (diff) | |
| download | gentoo-4ee090471c57f217670048c26980ba4ebc54f819.tar.gz gentoo-4ee090471c57f217670048c26980ba4ebc54f819.tar.bz2 gentoo-4ee090471c57f217670048c26980ba4ebc54f819.zip | |
dev-cpp/edencommon: skip a test with GCC 13
There seems to be some optimization-related assumptions in this test
which doesn't happen on GCC 13.
Signed-off-by: sin-ack <sin-ack@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39296
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild b/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild index c53780c9b1f9..203196b92ee9 100644 --- a/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild +++ b/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild @@ -13,7 +13,7 @@ EAPI=8 # dev-cpp/wangle # dev-util/watchman -inherit cmake +inherit cmake toolchain-funcs DESCRIPTION="Shared library for Watchman and Eden projects" HOMEPAGE="https://github.com/facebookexperimental/edencommon" @@ -47,3 +47,15 @@ src_configure() { cmake_src_configure } + +src_test() { + CMAKE_SKIP_TESTS=() + + # This test fails on GCC 13. + # https://github.com/facebookexperimental/edencommon/issues/22 + if tc-is-gcc && ver_test $(gcc-version) -lt 14.0.0; then + CMAKE_SKIP_TESTS+=(PathFuncs.move_or_copy) + fi + + cmake_src_test +} |
