me
/
guix
Archived
1
0
Fork 0

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>
master
Jack Hill 2021-05-21 15:40:39 -04:00 committed by Leo Famulari
parent 5f1c4692a5
commit d1b3b5b73d
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 3 additions and 1 deletions

View File

@ -976,7 +976,9 @@ SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R
(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)))