diff options
author | Wojtek Kosior <koszko@koszko.org> | 2023-12-20 19:30:44 +0100 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-09 22:10:13 -0500 |
commit | 693a4785be0d84f3dacee49f071a33b852f7cd8a (patch) | |
tree | 3c4a22f1e418d9ba2e5690cc29fe5012a4f92adf /gnu/tests/telephony.scm | |
parent | c5fb46685f4d6defd122efb3dcbcd8baf3612e17 (diff) | |
download | guix-693a4785be0d84f3dacee49f071a33b852f7cd8a.tar guix-693a4785be0d84f3dacee49f071a33b852f7cd8a.tar.gz |
tests: telephony: Fix VPATH builds.
* gnu/tests/telephony.scm (%jami-account-content-sexp): New variable. Compute
its value with `read` instead of using `include`.
* gnu/tests/data/jami-dummy-account.dat (%jami-account-content-sexp): Remove
variable. Make the file contain just the S-expression.
Change-Id: I8d37aaf7b739f5f39715bfb8a9b8c9536385fd09
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/tests/telephony.scm')
-rw-r--r-- | gnu/tests/telephony.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/tests/telephony.scm b/gnu/tests/telephony.scm index f7d9c73767..396e473756 100644 --- a/gnu/tests/telephony.scm +++ b/gnu/tests/telephony.scm @@ -38,7 +38,10 @@ ;;; Jami daemon. ;;; -(include "data/jami-dummy-account.dat") ;defines %jami-account-content-sexp +(define %jami-account-content-sexp + (call-with-input-file + (search-path %load-path "gnu/tests/data/jami-dummy-account.dat") + read)) (define %dummy-jami-account-archive ;; A Jami account archive is a gzipped JSON file. |