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

rekado pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 4677dd0413 gnu: lib2geom: Disable broken test on aarch64.
4677dd0413 is described below

commit 4677dd04136b7dc7d4d89faa2aa813565c52ea6c
Author: Ricardo Wurmus <rek...@elephly.net>
AuthorDate: Wed Jul 24 21:02:34 2024 +0200

    gnu: lib2geom: Disable broken test on aarch64.
    
    * gnu/packages/graphics.scm (lib2geom)[arguments]: Conditionally disable
    "elliptical-arc-test".
    
    Change-Id: Id6bbcb9c94831daa65c9596f080c194392d08b42
---
 gnu/packages/graphics.scm | 28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 7286d27b27..b70b8aadc5 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -920,16 +920,24 @@ exception-handling library.")
                 (("PYTHON_LIB_INSTALL \"[^\"]*\"")
                  (format #f "PYTHON_LIB_INSTALL ~s"
                          (python:site-packages inputs outputs))))))
-          #$@(if (target-x86-32?)
-                 #~((add-after 'unpack 'skip-faulty-test
-                      (lambda _
-                        ;; This test fails on i686 when comparing floating 
point
-                        ;; values, probably due to excess precision.  However,
-                        ;; '-fexcess-precision' is not implemented for C++ in
-                        ;; GCC 10 so just skip it.
-                        (substitute* "tests/CMakeLists.txt"
-                          (("bezier-test") "")))))
-                 #~()))))
+          #$@(cond
+              ((target-x86-32?)
+               #~((add-after 'unpack 'skip-faulty-test
+                    (lambda _
+                      ;; This test fails on i686 when comparing floating point
+                      ;; values, probably due to excess precision.  However,
+                      ;; '-fexcess-precision' is not implemented for C++ in
+                      ;; GCC 10 so just skip it.
+                      (substitute* "tests/CMakeLists.txt"
+                        (("bezier-test") ""))))))
+              ;; See https://gitlab.com/inkscape/lib2geom/-/issues/63
+              ((target-aarch64?)
+               #~((add-after 'unpack 'fix-aarch64-faulty-test
+                    (lambda _
+                      (substitute* "tests/CMakeLists.txt"
+                        (("elliptical-arc-test") ""))))))
+              (else
+               #~())))))
     (native-inputs (list python-wrapper googletest pkg-config))
     (inputs (list cairo python-pycairo double-conversion glib gsl))
     (propagated-inputs (list boost))    ;included in 2geom/pathvector.h

Reply via email to