diff options
author | Sam James <sam@gentoo.org> | 2024-06-02 04:26:48 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-02 04:27:16 +0100 |
commit | e054d2067ebd9514359229812ba66b29cc265f70 (patch) | |
tree | 75b36753c616f12129619219d3e5e6861dc2fec7 | |
parent | app-i18n/fcitx-chinese-addons: drop 5.1.4 (diff) | |
download | gentoo-e054d2067ebd9514359229812ba66b29cc265f70.tar.gz gentoo-e054d2067ebd9514359229812ba66b29cc265f70.tar.bz2 gentoo-e054d2067ebd9514359229812ba66b29cc265f70.zip |
media-libs/openexr: skip known-failing tests on arm64
Fedora are doing the same and it's a small subset of the total tests.
Not ideal, but it is what it is.
Bug: https://github.com/AcademySoftwareFoundation/openexr/issues/1460
Closes: https://bugs.gentoo.org/922247
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | media-libs/openexr/openexr-3.1.11.ebuild | 12 | ||||
-rw-r--r-- | media-libs/openexr/openexr-3.1.12.ebuild | 12 | ||||
-rw-r--r-- | media-libs/openexr/openexr-3.2.3.ebuild | 15 |
3 files changed, 34 insertions, 5 deletions
diff --git a/media-libs/openexr/openexr-3.1.11.ebuild b/media-libs/openexr/openexr-3.1.11.ebuild index 71969a113652..bf479a71c0ec 100644 --- a/media-libs/openexr/openexr-3.1.11.ebuild +++ b/media-libs/openexr/openexr-3.1.11.ebuild @@ -62,6 +62,18 @@ src_configure() { cmake_src_configure } +src_test() { + local CMAKE_SKIP_TESTS=() + + use arm64 && CMAKE_SKIP_TESTS+=( + # bug #922247 + 'OpenEXRCore.testDWAACompression' + 'OpenEXRCore.testDWABCompression' + ) + + cmake_src_test +} + src_install() { use examples && docompress -x /usr/share/doc/${PF}/examples diff --git a/media-libs/openexr/openexr-3.1.12.ebuild b/media-libs/openexr/openexr-3.1.12.ebuild index bc37e4bd424e..de6cba52a4ee 100644 --- a/media-libs/openexr/openexr-3.1.12.ebuild +++ b/media-libs/openexr/openexr-3.1.12.ebuild @@ -62,6 +62,18 @@ src_configure() { cmake_src_configure } +src_test() { + local CMAKE_SKIP_TESTS=() + + use arm64 && CMAKE_SKIP_TESTS+=( + # bug #922247 + 'OpenEXRCore.testDWAACompression' + 'OpenEXRCore.testDWABCompression' + ) + + cmake_src_test +} + src_install() { use examples && docompress -x /usr/share/doc/${PF}/examples diff --git a/media-libs/openexr/openexr-3.2.3.ebuild b/media-libs/openexr/openexr-3.2.3.ebuild index 94f5c11c87d6..9a00c4974021 100644 --- a/media-libs/openexr/openexr-3.2.3.ebuild +++ b/media-libs/openexr/openexr-3.2.3.ebuild @@ -125,13 +125,18 @@ src_configure() { } src_test() { - local CMAKE_SKIP_TESTS=() + local CMAKE_SKIP_TESTS=() - use x86 && CMAKE_SKIP_TESTS+=( - '^OpenEXR.testDwaLookups$' - ) + use arm64 && CMAKE_SKIP_TESTS+=( + # bug #922247 + 'OpenEXRCore.testDWAACompression' + 'OpenEXRCore.testDWABCompression' + ) + use x86 && CMAKE_SKIP_TESTS+=( + '^OpenEXR.testDwaLookups$' + ) - cmake_src_test + cmake_src_test } src_install() { |