mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: botan: Respect #:tests?.
* gnu/packages/crypto.scm (botan)[arguments]: Respect #:tests? in the custom 'check' phase. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
5f1c4692a5
commit
d1b3b5b73d
1 changed files with 3 additions and 1 deletions
|
@ -976,7 +976,9 @@ (define-public botan
|
|||
(add-before 'check 'library-path-for-tests
|
||||
(lambda _ (setenv "LD_LIBRARY_PATH" (getcwd))))
|
||||
(replace 'check
|
||||
(lambda _ (invoke "./botan-test"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(if tests?
|
||||
(invoke "./botan-test")))))))
|
||||
(native-inputs
|
||||
`(("python" ,python-wrapper)
|
||||
("python-docutils" ,python-docutils)))
|
||||
|
|
Loading…
Reference in a new issue