From d1b3b5b73da9a87991246ec40f6fd64e70b4e33a Mon Sep 17 00:00:00 2001 From: Jack Hill Date: Fri, 21 May 2021 15:40:39 -0400 Subject: gnu: botan: Respect #:tests?. * gnu/packages/crypto.scm (botan)[arguments]: Respect #:tests? in the custom 'check' phase. Signed-off-by: Leo Famulari --- gnu/packages/crypto.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index f333aced1b..674cb05801 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -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))) -- cgit v1.2.3