diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-12-08 12:20:09 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-12-08 14:31:53 +0100 |
commit | 7c58677a290eecd894a1c1e97cd585c2c0f8d7c6 (patch) | |
tree | ac33d4ac9f3e22b4003bf4b9445d26d3192874ce /gnu | |
parent | 298a8d0b89bb44ccb6b7058ded17a55ae831c96a (diff) | |
download | guix-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.scm | 4 |
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")) |