3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

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