gnu: python-pysam: Fix tests, again.

* gnu/packages/bioinformatics.scm (python-pysam)[arguments]: Run nosetests
explicitly with a single process.
This commit is contained in:
Ricardo Wurmus 2017-04-24 18:43:52 +02:00
parent c136240efc
commit b2955e224e
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 2 deletions

View File

@ -1460,9 +1460,12 @@ multiple sequence alignments.")
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
(and (zero? (system* "make" "-C" "pysam_data")) (and (zero? (system* "make" "-C" "pysam_data"))
(zero? (system* "make" "-C" "cbcf_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" (zero? (system* "nosetests" "-v"
"--processes" "--processes" "1")))))))))
(number->string (parallel-job-count)))))))))))
(propagated-inputs (propagated-inputs
`(("htslib" ,htslib))) ; Included from installed header files. `(("htslib" ,htslib))) ; Included from installed header files.
(inputs (inputs