guix-commits
[Top][All Lists]
Advanced

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

35/48: HACK gnu: python: Disable tests on the Hurd.


From: guix-commits
Subject: 35/48: HACK gnu: python: Disable tests on the Hurd.
Date: Sun, 19 Apr 2020 10:22:16 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit be6c7f72ab8c4893a1acdc05f2472e063965098e
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Thu Apr 16 21:13:12 2020 +0200

    HACK gnu: python: Disable tests on the Hurd.
    
    * gnu/packages/python.scm: When compiling for the Hurd, use #:tests? #f.
---
 gnu/packages/python.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a30ad6f..2d1fdee 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -382,7 +382,8 @@ data types.")
                     (("^#pyexpat.*") "pyexpat pyexpat.c -lexpat\n"))
                   #t))))
     (arguments
-     (substitute-keyword-arguments (package-arguments python-2)
+     `(,@(if (hurd-system?) '(#:tests? #f) '())
+       ,@(substitute-keyword-arguments (package-arguments python-2)
        ((#:make-flags _)
         `(list (string-append
                 (format #f "TESTOPTS=-j~d" (parallel-job-count))
@@ -446,7 +447,7 @@ data types.")
                         (invoke "patch" "-p1" "--force" "--input"
                                 (assoc-ref (or native-inputs inputs)
                                            "arm-alignment.patch")))))
-                   '()))))))
+                   '())))))))
     (native-inputs
      `(("tzdata" ,tzdata-for-tests)
 



reply via email to

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