gnu: openexr@2: Skip failing test on i686.

* gnu/packages/graphics.scm (openexr-2)[arguments]: In
'disable-broken-test', skip 'testCompression' as well.
This commit is contained in:
Ludovic Courtès 2022-09-02 18:15:42 +02:00
parent 2c5c04eb2b
commit 7c1b82f256
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -1181,13 +1181,15 @@ with strong support for multi-part, multi-channel use cases.")
#t))
,@(if (not (target-64bit?))
`((add-after 'change-directory 'disable-broken-test
;; This test fails on i686. Upstream developers suggest that
;; this test is broken on i686 and can be safely disabled:
;; https://github.com/openexr/openexr/issues/67#issuecomment-21169748
(lambda _
(substitute* "IlmImfTest/main.cpp"
((".*testOptimizedInterleavePatterns.*") ""))
#t)))
;; This test fails on i686. Upstream developers suggest
;; that this test is broken on i686 and can be safely
;; disabled:
;; https://github.com/openexr/openexr/issues/67#issuecomment-21169748
((".*testOptimizedInterleavePatterns.*") "")
;; This one fails similarly on i686.
((".*testCompression.*") "")))))
'()))))
(native-inputs
(list pkg-config))