diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-12-07 15:12:15 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-12-07 15:12:15 +0100 |
commit | 00ba04020e9c4f807a50aa4c9c2b82194db2011c (patch) | |
tree | d78fddd72b50ef5d73c4a2fa14bb34c6ae31dc9d | |
parent | 58fecfd18e55e55669fb0051e43e6ec8a2635076 (diff) | |
download | guix-00ba04020e9c4f807a50aa4c9c2b82194db2011c.tar.gz |
gnu: taxtastic: Run tests conditionally.
* gnu/packages/bioinformatics.scm (taxtastic)[arguments]: Respect TESTS? option.
-rw-r--r-- | gnu/packages/bioinformatics.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index a827bdeb14..b96514c2e4 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7466,7 +7466,9 @@ Cuffdiff or Ballgown programs.") (replace 'check ;; Note, this fails to run with "-v" as it tries to write to a ;; closed output stream. - (lambda _ (invoke "python" "-m" "unittest") #t))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest"))))))) (propagated-inputs `(("python-sqlalchemy" ,python-sqlalchemy) ("python-decorator" ,python-decorator) |