janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit da64999057d8d021f40575b71f0eee08040c3ada
Author: Jan (janneke) Nieuwenhuizen <[email protected]>
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)