From b0ff82461c81560eb7e215c4a435a2dd4882e6bb Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 16 Nov 2020 04:06:37 +0100 Subject: gnu: libolm: Fix (run) the tests. * gnu/packages/crypto.scm (libolm)[arguments]: Invoke ctest from within the right directory. --- gnu/packages/crypto.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crypto.scm') diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index c5aa1f53f9..aa6f80f731 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1240,13 +1240,14 @@ Trusted comments are signed, thus verified, before being displayed.") (base32 "14b5cplcnbf2baq0lvz4f97m6swxpb13rvxdajxyw3s4mbvasia4")) (file-name (git-file-name name version)))) + (build-system cmake-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ - (invoke "ctest" "build/tests")))))) - (build-system cmake-build-system) + (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 -- cgit v1.2.3