me
/
guix
Archived
1
0
Fork 0

gnu: libolm: Respect "--without-tests".

* gnu/packages/libolm.scm
  (libolm)[arguments]<#:phases>{check}: Respect #:tests?.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
master
Maxime Devos 2021-07-08 18:38:25 +02:00 committed by Mathieu Othacehe
parent f78975c8e0
commit f78a09f0c4
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 5 additions and 3 deletions
gnu/packages

View File

@ -20,6 +20,7 @@
;;; Copyright © 2020 Hendur Saga <hendursaga@yahoo.com> ;;; Copyright © 2020 Hendur Saga <hendursaga@yahoo.com>
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net> ;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
;;; Copyright © 2021 Ellis Kenyő <me@elken.dev> ;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -1314,9 +1315,10 @@ Trusted comments are signed, thus verified, before being displayed.")
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda* (#:key tests? #:allow-other-keys)
(with-directory-excursion "tests" (when tests?
(invoke "ctest" "."))))))) (with-directory-excursion "tests"
(invoke "ctest" "."))))))))
(synopsis "Implementation of the olm and megolm cryptographic ratchets") (synopsis "Implementation of the olm and megolm cryptographic ratchets")
(description "The libolm library implements the Double Ratchet (description "The libolm library implements the Double Ratchet
cryptographic ratchet. It is written in C and C++11, and exposed as a C cryptographic ratchet. It is written in C and C++11, and exposed as a C