From: Simon McVittie Date: Mon, 27 Jun 2022 14:53:18 +0000 (+0100) Subject: test: Add missing session.conf, system.conf to Meson build X-Git-Tag: dbus-1.15.0~32^2~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc8cf5875f3af5b8d6076f0bb855737a4f9992e;p=thirdparty%2Fdbus.git test: Add missing session.conf, system.conf to Meson build For as-installed testing on Unix, we want these to be symlinks to the production versions of the same file. Signed-off-by: Simon McVittie --- diff --git a/test/data/meson.build b/test/data/meson.build index 550395840..692cf5701 100644 --- a/test/data/meson.build +++ b/test/data/meson.build @@ -201,4 +201,23 @@ endif if install_tests subdir('installable') + + if platform_unix + install_symlinks += [ + { + 'link_name': 'session.conf', + 'install_dir': test_exec_dir / 'data' / 'valid-config-files', + 'pointing_to': + get_option('prefix') / get_option('datadir') / + 'dbus-1' / 'session.conf', + }, + { + 'link_name': 'system.conf', + 'install_dir': test_exec_dir / 'data' / 'valid-config-files-system', + 'pointing_to': + get_option('prefix') / get_option('datadir') / + 'dbus-1' / 'system.conf', + }, + ] + endif endif