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:
parent
c136240efc
commit
b2955e224e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue