[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: libolm: Respect "--without-tests".
From: |
guix-commits |
Subject: |
07/07: gnu: libolm: Respect "--without-tests". |
Date: |
Thu, 8 Jul 2021 15:23:15 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit f78a09f0c4f73073109e7b7ab2cb7b66c48599e6
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Jul 8 18:38:25 2021 +0200
gnu: libolm: Respect "--without-tests".
* gnu/packages/libolm.scm
(libolm)[arguments]<#:phases>{check}: Respect #:tests?.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/crypto.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 99455dc..bd2c462 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2020 Hendur Saga <hendursaga@yahoo.com>
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
+;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1314,9 +1315,10 @@ Trusted comments are signed, thus verified, before being
displayed.")
`(#: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
- branch master updated (beaa5df -> f78a09f), guix-commits, 2021/07/08
- 01/07: gnu: python-pymediainfo: Respect "--without-tests"., guix-commits, 2021/07/08
- 02/07: gnu: python-watchgod: Respect "--without-tests"., guix-commits, 2021/07/08
- 04/07: gnu: python-hpack: Respect "--without-tests"., guix-commits, 2021/07/08
- 03/07: gnu: python-hyperframe: Respect "--without-tests"., guix-commits, 2021/07/08
- 05/07: gnu: python-h11: Respect "--without-tests"., guix-commits, 2021/07/08
- 06/07: gnu: python-h2: Respect "--without-tests"., guix-commits, 2021/07/08
- 07/07: gnu: libolm: Respect "--without-tests".,
guix-commits <=