me
/
guix
Archived
1
0
Fork 0

gnu: snap-aligner: Run tests conditionally.

* gnu/packages/bioinformatics.scm (snap-aligner)[arguments]: Respect TESTS?
option.
master
Ricardo Wurmus 2021-12-08 12:20:09 +01:00
parent 298a8d0b89
commit 7c58677a29
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 1 deletions

View File

@ -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"))