Archived
1
0
Fork 0

gnu: libolm: Fix (run) the tests.

* gnu/packages/crypto.scm (libolm)[arguments]: Invoke ctest from within
the right directory.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-16 04:06:37 +01:00
parent 675c520c40
commit b0ff82461c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1240,13 +1240,14 @@ Trusted comments are signed, thus verified, before being displayed.")
(base32 (base32
"14b5cplcnbf2baq0lvz4f97m6swxpb13rvxdajxyw3s4mbvasia4")) "14b5cplcnbf2baq0lvz4f97m6swxpb13rvxdajxyw3s4mbvasia4"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
(invoke "ctest" "build/tests")))))) (with-directory-excursion "tests"
(build-system cmake-build-system) (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