
GSettings overrides can be active and set the default value depending on the XDG_CURRENT_DESKTOP environement variable. For the tests we run, we rely on the default settings by using the GSettings memory backend but we also need to make sure not overrides are in place. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3730>
10 lines
679 B
Plaintext
10 lines
679 B
Plaintext
[Test]
|
|
Description=Mutter stacking test: @stacking_test@
|
|
# Can't use TestEnvironment for GSETTINGS_BACKEND=memory until there's
|
|
# a solution for
|
|
# https://gitlab.gnome.org/GNOME/gnome-desktop-testing/-/issues/1,
|
|
# and anyway that wouldn't be sufficient to handle XDG_RUNTIME_DIR
|
|
Exec=sh -ec 'env GSETTINGS_BACKEND=memory XDG_CURRENT_DESKTOP= XDG_RUNTIME_DIR="$(mktemp -d -t mutter-@apiversion@-@stacking_test@-XXXXXX)" @libexecdir@/installed-tests/mutter-@apiversion@/mutter-installed-dbus-session.py xvfb-run -a -s "+iglx -noreset" -- @libexecdir@/installed-tests/mutter-@apiversion@/mutter-test-runner @tests_datadir@/stacking/@stacking_test@.metatest'
|
|
Type=session
|
|
Output=TAP
|