~ruther/guix-local

b2955e224ece2cc24582bb1f87f4ac6b27aa0025 — Ricardo Wurmus 9 years ago c136240
gnu: python-pysam: Fix tests, again.

* gnu/packages/bioinformatics.scm (python-pysam)[arguments]: Run nosetests
explicitly with a single process.
1 files changed, 5 insertions(+), 2 deletions(-)

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +5 -2
@@ 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