guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: python-pysam: Fix tests, again.


From: Ricardo Wurmus
Subject: 01/01: gnu: python-pysam: Fix tests, again.
Date: Mon, 24 Apr 2017 12:46:44 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit b2955e224ece2cc24582bb1f87f4ac6b27aa0025
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Apr 24 18:43:52 2017 +0200

    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 027d0ea..3eabcf8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]