From b40ea89f3d1a64cc3c336e58aa522a796077952e Mon Sep 17 00:00:00 2001 From: Brennan Vincent Date: Sun, 20 Jul 2025 10:31:52 -0700 Subject: [PATCH] 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 --- gnu/packages/graphics.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 519a341a1b9..25fe0729364 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.