From dcaca398f1b271e2f3254a3a18b50e57d2530b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 4 Apr 2023 11:19:42 +0200 Subject: [PATCH] tests: Set a dummy XDG_CONFIG_HOME variable This avoids a local ~/.config/monitors.xml messing up tests. Part-of: --- src/tests/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/meson.build b/src/tests/meson.build index 1b0a93ed7..ddc04f75f 100644 --- a/src/tests/meson.build +++ b/src/tests/meson.build @@ -137,6 +137,7 @@ test_env = environment() test_env_variables = { 'G_TEST_SRCDIR': join_paths(mutter_srcdir, 'src'), 'G_TEST_BUILDDIR': mutter_builddir, + 'XDG_CONFIG_HOME': join_paths(mutter_builddir, '.config'), 'MUTTER_TEST_PLUGIN_PATH': '@0@'.format(default_plugin.full_path()), }