guix-commits
[Top][All Lists]
Advanced

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

31/43: HACK gnu: python: Disable tests on the Hurd.


From: guix-commits
Subject: 31/43: HACK gnu: python: Disable tests on the Hurd.
Date: Mon, 20 Apr 2020 07:34:09 -0400 (EDT)

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

commit da64999057d8d021f40575b71f0eee08040c3ada
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]