summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrennan Vincent <brennan@umanwizard.com>2025-07-20 10:31:52 -0700
committerAndreas Enge <andreas@enge.fr>2025-07-20 21:18:49 +0200
commitb40ea89f3d1a64cc3c336e58aa522a796077952e (patch)
tree83ed69b09fa9d22dc977f5195ba25c9f32cf9b63
parent4c4451b9232ff22eef8bb2f8b512fd8a5e6b766c (diff)
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>
-rw-r--r--gnu/packages/graphics.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 519a341a1b..25fe072936 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -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.