guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/15: gnu: imath: Skip tests when cross-compiling.


From: guix-commits
Subject: 07/15: gnu: imath: Skip tests when cross-compiling.
Date: Sun, 9 Jul 2023 08:00:55 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit ee8cdd3b58a00f0285cb1ac304c930c9311ce923
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jul 9 10:22:36 2023 +0300

    gnu: imath: Skip tests when cross-compiling.
    
    * gnu/packages/graphics.scm (imath)[arguments]: Adjust #:tests? to skip
    tests when cross-compiling.
---
 gnu/packages/graphics.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 236b92d023..85e7b03a33 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -824,7 +824,8 @@ many more.")
      ;; precision), as was discussed and patched long ago:
      ;; <https://issues.guix.gnu.org/22049>.  It seems the relevant fixes
      ;; didn't make it upstream, so skip tests.
-     (list #:tests? (not (target-x86-32?))))
+     (list #:tests? (not (or (target-x86-32?)
+                             (%current-target-system)))))
     (home-page "https://github.com/AcademySoftwareFoundation/Imath";)
     (synopsis "Library of math operations for computer graphics")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]