media-libs/openexr: 3.2.2 rework x86 test skip

Closes: https://bugs.gentoo.org/927173
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35800
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander
2024-03-17 13:35:26 +01:00
committed by Sam James
parent 2e16720414
commit 4351c64bb2

View File

@@ -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"