From 7c1b82f256e445214c64182405649b4b3ff2d1de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 2 Sep 2022 18:15:42 +0200 Subject: [PATCH] gnu: openexr@2: Skip failing test on i686. * gnu/packages/graphics.scm (openexr-2)[arguments]: In 'disable-broken-test', skip 'testCompression' as well. --- gnu/packages/graphics.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index d9e0b5b859..3f6e7d64a5 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -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))