guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/08: gnu: libolm: Fix (run) the tests.


From: guix-commits
Subject: 04/08: gnu: libolm: Fix (run) the tests.
Date: Sun, 15 Nov 2020 22:12:40 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit b0ff82461c81560eb7e215c4a435a2dd4882e6bb
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Nov 16 04:06:37 2020 +0100

    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(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index c5aa1f5..aa6f80f 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]