guix-commits
[Top][All Lists]
Advanced

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

03/14: gnu: snap-aligner: Run tests conditionally.


From: guix-commits
Subject: 03/14: gnu: snap-aligner: Run tests conditionally.
Date: Wed, 8 Dec 2021 08:33:39 -0500 (EST)

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

commit 7c58677a290eecd894a1c1e97cd585c2c0f8d7c6
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Dec 8 12:20:09 2021 +0100

    gnu: snap-aligner: Run tests conditionally.
    
    * gnu/packages/bioinformatics.scm (snap-aligner)[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 d8fb302..b2dbe9b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -7189,7 +7189,9 @@ optionally compressed by gzip.")
      '(#:phases
        (modify-phases %standard-phases
          (delete 'configure)
-         (replace 'check (lambda _ (invoke "./unit_tests") #t))
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests? (invoke "./unit_tests"))))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))



reply via email to

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