This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b40ea89f3d gnu: openexr: Disable known to fail tests on aarch64.
b40ea89f3d is described below

commit b40ea89f3d1a64cc3c336e58aa522a796077952e
Author: Brennan Vincent <bren...@umanwizard.com>
AuthorDate: Sun Jul 20 10:31:52 2025 -0700

    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 <andr...@enge.fr>
---
 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 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.

Reply via email to