gnu: snap-aligner: Run tests conditionally.
* gnu/packages/bioinformatics.scm (snap-aligner)[arguments]: Respect TESTS? option.master
parent
298a8d0b89
commit
7c58677a29
|
@ -7189,7 +7189,9 @@ optionally compressed by gzip.")
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'check (lambda _ (invoke "./unit_tests") #t))
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests? (invoke "./unit_tests"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Reference in New Issue