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:
parent
c136240efc
commit
b2955e224e
1 changed files with 5 additions and 2 deletions
|
@ -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 a new issue