From b2955e224ece2cc24582bb1f87f4ac6b27aa0025 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 24 Apr 2017 18:43:52 +0200 Subject: gnu: python-pysam: Fix tests, again. * gnu/packages/bioinformatics.scm (python-pysam)[arguments]: Run nosetests explicitly with a single process. --- gnu/packages/bioinformatics.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 027d0eaf1b..3eabcf8412 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1460,9 +1460,12 @@ (define-public python-pysam (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 -- cgit v1.2.3