st/test-theme: Use the gsettings memory backend

Mutter test context now make sure that they are run with the gsettings
memory backend to avoid the local environment to affect the tests.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2628>
This commit is contained in:
Sebastian Wick 2023-02-08 16:36:06 +01:00
parent 438dd63fbf
commit 4c8648fb59

View File

@ -204,7 +204,8 @@ if get_option('tests')
)
test('CSS styling support', test_theme,
workdir: meson.current_source_dir()
workdir: meson.current_source_dir(),
env: ['GSETTINGS_BACKEND=memory']
)
endif