gitlab-ci: Use runtime dir owned only by current user

https://gitlab.gnome.org/GNOME/mutter/merge_requests/408
This commit is contained in:
Marco Trevisan (Treviño) 2019-01-23 13:55:40 +01:00
parent 7a941138de
commit a54f9e835c

View File

@ -24,8 +24,9 @@ test-mutter:
- build - build
script: script:
- glib-compile-schemas $PWD/build/data - glib-compile-schemas $PWD/build/data
- mkdir -m 700 $PWD/runtime-dir
- > - >
env XDG_RUNTIME_DIR=/tmp env XDG_RUNTIME_DIR=$PWD/runtime-dir
GSETTINGS_SCHEMA_DIR=$PWD/build/data GSETTINGS_SCHEMA_DIR=$PWD/build/data
dbus-run-session -- xvfb-run -s '+iglx -noreset' dbus-run-session -- xvfb-run -s '+iglx -noreset'
meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --wrap catchsegv meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --wrap catchsegv