summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-08 12:20:09 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-08 14:31:53 +0100
commit7c58677a290eecd894a1c1e97cd585c2c0f8d7c6 (patch)
treeac33d4ac9f3e22b4003bf4b9445d26d3192874ce /gnu
parent298a8d0b89bb44ccb6b7058ded17a55ae831c96a (diff)
downloadguix-7c58677a290eecd894a1c1e97cd585c2c0f8d7c6.tar.gz
gnu: snap-aligner: Run tests conditionally.
* gnu/packages/bioinformatics.scm (snap-aligner)[arguments]: Respect TESTS?
option.
Diffstat (limited to 'gnu')
-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 d8fb3024ad..b2dbe9bf75 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"))