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

View file

@ -1181,13 +1181,15 @@ (define-public openexr-2
#t)) #t))
,@(if (not (target-64bit?)) ,@(if (not (target-64bit?))
`((add-after 'change-directory 'disable-broken-test `((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 _ (lambda _
(substitute* "IlmImfTest/main.cpp" (substitute* "IlmImfTest/main.cpp"
((".*testOptimizedInterleavePatterns.*") "")) ;; This test fails on i686. Upstream developers suggest
#t))) ;; 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 (native-inputs
(list pkg-config)) (list pkg-config))