commit: 4351c64bb21453c4774944c1e6e714b08ffbee95 Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> AuthorDate: Sun Mar 17 12:35:26 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 17 12:38:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4351c64b
media-libs/openexr: 3.2.2 rework x86 test skip Closes: https://bugs.gentoo.org/927173 Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35800 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/openexr/openexr-3.2.2.ebuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/media-libs/openexr/openexr-3.2.2.ebuild b/media-libs/openexr/openexr-3.2.2.ebuild index 71b9a4937dcb..84a97d580e9f 100644 --- a/media-libs/openexr/openexr-3.2.2.ebuild +++ b/media-libs/openexr/openexr-3.2.2.ebuild @@ -52,10 +52,6 @@ src_prepare() { sed -e "s:if(INSTALL_DOCS):if(OPENEXR_INSTALL_DOCS):" \ -i docs/CMakeLists.txt || die - if use x86; then - eapply "${FILESDIR}/${PN}-3.1.5-drop-failing-testDwaLookups.patch" - fi - cmake_src_prepare if use test; then @@ -123,6 +119,16 @@ src_configure() { cmake_src_configure } +src_test() { + local CMAKE_SKIP_TESTS=() + + use x86 && CMAKE_SKIP_TESTS+=( + '^OpenEXR.testDwaLookups$' + ) + + cmake_src_test +} + src_install() { use examples && docompress -x "/usr/share/doc/${PF}/examples"
