diff --git a/cogl/tests/conform/mutter-cogl.test.in b/cogl/tests/conform/mutter-cogl.test.in index fae4f5c56..a58446927 100644 --- a/cogl/tests/conform/mutter-cogl.test.in +++ b/cogl/tests/conform/mutter-cogl.test.in @@ -1,4 +1,6 @@ [Test] Type=session -TestEnvironment=COGL_TEST_VERBOSE=1 -Exec=sh -c "cd @libexecdir@/installed-tests/mutter-@apiversion@/cogl/conform; xvfb-run -a -s '+iglx -noreset' ./run-tests.sh ./config.env ./test-conformance ./unit-tests" +# Can't use TestEnvironment for COGL_TEST_VERBOSE until there's a solution +# for https://gitlab.gnome.org/GNOME/gnome-desktop-testing/-/issues/1, +# and anyway we'd still need to use the shell to 'cd' +Exec=sh -c "export COGL_TEST_VERBOSE=1; cd @libexecdir@/installed-tests/mutter-@apiversion@/cogl/conform; xvfb-run -a -s '+iglx -noreset' ./run-tests.sh ./config.env ./test-conformance ./unit-tests" diff --git a/src/tests/mutter-all.test.in b/src/tests/mutter-all.test.in index 413d2acd5..df47c63d9 100644 --- a/src/tests/mutter-all.test.in +++ b/src/tests/mutter-all.test.in @@ -1,6 +1,9 @@ [Test] Description=All Mutter tests -TestEnvironment=GSETTINGS_BACKEND=memory; -Exec=sh -c 'env 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' +# 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