guix-commits
[Top][All Lists]
Advanced

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

04/09: gnu: taxtastic: Run tests conditionally.


From: guix-commits
Subject: 04/09: gnu: taxtastic: Run tests conditionally.
Date: Tue, 7 Dec 2021 09:52:23 -0500 (EST)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit 00ba04020e9c4f807a50aa4c9c2b82194db2011c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Dec 7 15:12:15 2021 +0100

    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 a827bde..b96514c 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)



reply via email to

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