summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-03-22 12:20:18 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-03-22 12:21:39 +0100
commitd553cd6015d9e99226b5d89266edbc6df4c838b3 (patch)
treee1c5b7607cab32fb7d99338f87edcf16166a0912
parent611154efc8c0b11098fa9c32e57dc3ba935da7f0 (diff)
downloadguix-d553cd6015d9e99226b5d89266edbc6df4c838b3.tar.gz
gnu: python-pysam: Run tests in parallel.
* gnu/packages/bioinformatics.scm (python-pysam)[arguments]: Run nose tests in
parallel.
-rw-r--r--gnu/packages/bioinformatics.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 51f0e0c0b0..97380fc032 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1460,7 +1460,9 @@ multiple sequence alignments.")
                (setenv "HOME" "/tmp")
                (and (zero? (system* "make" "-C" "pysam_data"))
                     (zero? (system* "make" "-C" "cbcf_data"))
-                    (zero? (system* "nosetests" "-v")))))))))
+                    (zero? (system* "nosetests" "-v"
+                                    "--processes"
+                                    (number->string (parallel-job-count)))))))))))
     (propagated-inputs
      `(("htslib"            ,htslib))) ; Included from installed header files.
     (inputs