guix-commits
[Top][All Lists]
Advanced

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

06/06: gnu: swig: Skip tests when cross-compiling.


From: guix-commits
Subject: 06/06: gnu: swig: Skip tests when cross-compiling.
Date: Fri, 21 Jul 2023 06:23:07 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 6bda806416b8e6032ef1047c5feed776b6cc0493
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 20 17:46:27 2023 +0300

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

diff --git a/gnu/packages/swig.scm b/gnu/packages/swig.scm
index 42996fa812..3f38cd9f9f 100644
--- a/gnu/packages/swig.scm
+++ b/gnu/packages/swig.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2013, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2018, 2021 Marius Bakke <marius@gnu.org>
-;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019, 2023 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
@@ -56,7 +56,8 @@
                          perl))
                      ;;("python" ,python-wrapper)
     (inputs (list pcre))
-    (arguments (list #:tests? (not (target-hurd?))))
+    (arguments (list #:tests? (not (or (target-hurd?)
+                                       (%current-target-system)))))
     (home-page "https://swig.org/";)
     (synopsis
      "Interface compiler that connects C/C++ code to higher-level languages")



reply via email to

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