guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: botan: Respect #:tests?.


From: guix-commits
Subject: 02/02: gnu: botan: Respect #:tests?.
Date: Thu, 27 May 2021 13:55:43 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit d1b3b5b73da9a87991246ec40f6fd64e70b4e33a
Author: Jack Hill <jackhill@jackhill.us>
AuthorDate: Fri May 21 15:40:39 2021 -0400

    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>
---
 gnu/packages/crypto.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index f333ace..674cb05 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]