mirror of
https://github.com/brl/mutter.git
synced 2024-10-07 06:38:30 -04:00
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>
7 lines
419 B
Plaintext
7 lines
419 B
Plaintext
[Test]
|
|
Type=session
|
|
# 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"
|