diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 99455dc632..bd2c462b96 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2020 Hendur Saga ;;; Copyright © 2020 pukkamustard ;;; Copyright © 2021 Ellis Kenyő +;;; Copyright © 2021 Maxime Devos ;;; ;;; This file is part of GNU Guix. ;;; @@ -1314,9 +1315,10 @@ (define-public libolm `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (with-directory-excursion "tests" - (invoke "ctest" "."))))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "tests" + (invoke "ctest" ".")))))))) (synopsis "Implementation of the olm and megolm cryptographic ratchets") (description "The libolm library implements the Double Ratchet cryptographic ratchet. It is written in C and C++11, and exposed as a C