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>master
parent
c5fb46685f
commit
693a4785be
|
@ -1,8 +1,7 @@
|
|||
;;; -*- mode: scheme; -*-
|
||||
;;; JSON extracted from an actual Jami account and processed with
|
||||
;;; Emacs/guile-json.
|
||||
(define %jami-account-content-sexp
|
||||
'(("RINGCAKEY" . "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUpRd0lCQURBTkJna3F\
|
||||
(("RINGCAKEY" . "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUpRd0lCQURBTkJna3F\
|
||||
oa2lHOXcwQkFRRUZBQVNDQ1Mwd2dna3BBZ0VBQW9JQ0FRQzBxWUozSkYvTzhQRGEKRnUwRnpRcHBCaD\
|
||||
gybGJMdURrNTlVU0I0MUJSaS9kdDZGV1BRN29YOVpsY25vNGZzM2dmUHQ0dU1hRVBkVFBGKwowbGN2Q\
|
||||
jc2cytQTEFlcjlOZGpVQzQ2ZXp0UnNiNE9aQXc4ZUk1M3EwSU04QWJFd0o0ZjllLzBmQUFueHgrK3Qw\
|
||||
|
@ -389,4 +388,4 @@ yS0JFNHc2Z1R4SU1uZzVzWi9ZbDFjcG5wUHlsR3VICi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K")
|
|||
("Account.alias" . "dummy")
|
||||
("Account.activeCallLimit" . "-1")
|
||||
("Account.accountPublish" . "false")
|
||||
("Account.accountDiscovery" . "false")))
|
||||
("Account.accountDiscovery" . "false"))
|
||||
|
|
|
@ -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.
|
||||
|
|
Reference in New Issue