1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-04 23:51:17 +00:00

tests: Prevent tests from accessing user home

User files such as call records and VoIP account configs should be left
alone during tests.
This commit is contained in:
Evangelos Ribeiro Tzaras 2023-01-16 09:17:20 +01:00
parent 01b8a1c873
commit 4b51f340c8

View file

@ -10,6 +10,8 @@ test_env = [
'CALLS_PLUGIN_DIR=@0@/plugins'.format(meson.project_build_root()), 'CALLS_PLUGIN_DIR=@0@/plugins'.format(meson.project_build_root()),
'FOLKS_BACKENDS_ALLOWED=key-file', 'FOLKS_BACKENDS_ALLOWED=key-file',
'FOLKS_PRIMARY_STORE=key-file', 'FOLKS_PRIMARY_STORE=key-file',
'XDG_CONFIG_HOME=@0@'.format(meson.project_build_root()),
'CALLS_RECORD_DIR=@0@/tests/record-db'.format(meson.project_build_root()),
] ]
test_cflags = [ test_cflags = [