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>
This commit is contained in:
Brennan Vincent 2025-07-20 10:31:52 -07:00 committed by Andreas Enge
parent 4c4451b923
commit b40ea89f3d
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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.