From 00ba04020e9c4f807a50aa4c9c2b82194db2011c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 Dec 2021 15:12:15 +0100 Subject: gnu: taxtastic: Run tests conditionally. * gnu/packages/bioinformatics.scm (taxtastic)[arguments]: Respect TESTS? option. --- gnu/packages/bioinformatics.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3