aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-04-24 18:43:52 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-04-24 18:46:28 +0200
commitb2955e224ece2cc24582bb1f87f4ac6b27aa0025 (patch)
tree1fc123be2157e0d3babed3af0a77ca4596c8e073
parentc136240efc7753124f8f9e99025bd69f6c4ceaf3 (diff)
downloadguix-b2955e224ece2cc24582bb1f87f4ac6b27aa0025.tar
guix-b2955e224ece2cc24582bb1f87f4ac6b27aa0025.tar.gz
gnu: python-pysam: Fix tests, again.
* gnu/packages/bioinformatics.scm (python-pysam)[arguments]: Run nosetests explicitly with a single process.
-rw-r--r--gnu/packages/bioinformatics.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 027d0eaf1b..3eabcf8412 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1460,9 +1460,12 @@ multiple sequence alignments.")
(setenv "HOME" "/tmp")
(and (zero? (system* "make" "-C" "pysam_data"))
(zero? (system* "make" "-C" "cbcf_data"))
+ ;; Running nosetests without explicitly asking for a
+ ;; single process leads to a crash. Running with multiple
+ ;; processes fails because the tests are not designed to
+ ;; run in parallel.
(zero? (system* "nosetests" "-v"
- "--processes"
- (number->string (parallel-job-count)))))))))))
+ "--processes" "1")))))))))
(propagated-inputs
`(("htslib" ,htslib))) ; Included from installed header files.
(inputs