7af1043865
The assumption here seems to be that it's an overlay onto the current environment which would make sense; but the implementation in gnome-desktop-testing currently removes all other environment variables (see GNOME/gnome-desktop-testing#1). This causes test failure when the tests are run in Debian's autopkgtest framework, possibly because PATH is cleared. Signed-off-by: Simon McVittie <smcv@debian.org> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2009>
10 lines
573 B
Plaintext
10 lines
573 B
Plaintext
[Test]
|
|
Description=All Mutter tests
|
|
# 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 -c 'env GSETTINGS_BACKEND=memory XDG_RUNTIME_DIR="$(mktemp -d -t mutter-@apiversion@-all-tests-XXXXXX)" @libexecdir@/installed-tests/mutter-@apiversion@/meta-dbus-runner.py xvfb-run -a -s "+iglx -noreset" -- @libexecdir@/installed-tests/mutter-@apiversion@/mutter-test-runner --all'
|
|
Type=session
|
|
Output=TAP
|