rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 7c58677a290eecd894a1c1e97cd585c2c0f8d7c6
Author: Ricardo Wurmus <[email protected]>
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"))