~ruther/guix-local

b40ea89f3d1a64cc3c336e58aa522a796077952e — Brennan Vincent 1 year, 3 months ago 4c4451b
gnu: openexr: Disable known to fail tests on aarch64.

This is being discussed on
https://github.com/AcademySoftwareFoundation/openexr/issues/1460
but is not yet fixed upstream. Various other distros have also disabled
these two tests.

* gnu/packages/graphics.scm (openexr)[arguments]<#:phases>:
Add 'disable-broken-aarch64-tests on aarch64.

Change-Id: I0daa83968464f5f8b8a50fd8d3ec7a60bdd5b0f5
Signed-off-by: Andreas Enge <andreas@enge.fr>
1 files changed, 13 insertions(+), 1 deletions(-)

M gnu/packages/graphics.scm
M gnu/packages/graphics.scm => gnu/packages/graphics.scm +13 -1
@@ 1561,7 1561,19 @@ graphics.")
                               (("TEST\\( testB44ACompression, \"core_compression\" \\);")
                                "")
                               (("TEST \\(testOptimizedInterleavePatterns, \"basic\"\\);")
                                "")))))))))
                                ""))))))
               #$@(if (target-aarch64?)
                      #~((add-after 'patch-test-directory 'disable-broken-aarch64-tests
                           ;; Disable tests known to fail on aarch64. Remove once
                           ;; https://github.com/AcademySoftwareFoundation/openexr/issues/1460
                           ;; is fixed.
                           (lambda _
                             (substitute* '("src/test/OpenEXRCoreTest/main.cpp")
                               (("TEST \\(testDWAACompression, \"core_compression\"\\);")
                                "")
                               (("TEST \\(testDWABCompression, \"core_compression\"\\);")
                                "")))))
                      #~()))))
    (inputs (list imath))
    (propagated-inputs
     (list libdeflate ; Marked as Requires.private in OpenEXR.pc.