From 432af0b078cb2cf5b7a2dce54180b0685ed3988c Mon Sep 17 00:00:00 2001 From: vslg Date: Sun, 4 Jul 2021 11:31:37 -0300 Subject: [PATCH] gnu: libolm: Make tests conditional * gnu/packages/crypto.scm (libolm): Make tests conditional --- gnu/packages/crypto.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index c28b563651..13dea466a8 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1319,9 +1319,10 @@ Trusted comments are signed, thus verified, before being displayed.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ + (lambda* (#:key tests? #:allow-other-keys) (with-directory-excursion "tests" - (invoke "ctest" ".")))) + (when tests? + (invoke "ctest" "."))))) (add-after 'install 'install-python-binding (lambda* (#:key outputs #:allow-other-keys) (with-directory-excursion "../source/python" -- 2.32.0