mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user