mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
tests: Make sure XDG_CURRENT_DESKTOP is set to an empty string
gsettings overrides can be in affect when XDG_CURRENT_DESKTOP is set. We
need predictable default values for predictable tests in mutter and thus
mutter will start asserting that GSETTINGS_BACKEND='memory' and
XDG_CURRENT_DESKTOP=''.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3329>
(cherry picked from commit beb3f120dd)
This commit is contained in:
parent
dd7fb0cd1f
commit
6ba5a847aa
1 changed files with 1 additions and 0 deletions
|
|
@ -291,6 +291,7 @@ if get_option('tests')
|
|||
common_test_env = environment()
|
||||
common_test_env.set('GSETTINGS_SCHEMA_DIR', meson.project_build_root() / 'data')
|
||||
common_test_env.set('GSETTINGS_BACKEND', 'memory')
|
||||
common_test_env.set('XDG_CURRENT_DESKTOP', '')
|
||||
|
||||
add_test_setup('default',
|
||||
is_default: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue