diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-05-02 06:28:33 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-05-13 08:31:35 -0400 |
commit | 48d5b36b327908c807c1b1c8dac664e99744a274 (patch) | |
tree | 5fb5fd2341dc5fd0c508a9a573ef6b5a0bcf7964 | |
parent | ba64e5588db74e5a82295d8cd27bbdc6c9ebbe3b (diff) | |
download | gtk+-48d5b36b327908c807c1b1c8dac664e99744a274.tar.gz |
ci: Use mutter headless for tests
-rwxr-xr-x | .gitlab-ci/run-tests.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh index 53d73beb36..caea6deb2c 100755 --- a/.gitlab-ci/run-tests.sh +++ b/.gitlab-ci/run-tests.sh @@ -33,7 +33,10 @@ case "${backend}" in wayland*) export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)" - weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 & + dbus-run-session sh <<EOF + + mutter --headless --no-x11 --wayland-display wayland-5 >&mutter.log & + compositor=$! export WAYLAND_DISPLAY=wayland-5 @@ -50,6 +53,7 @@ case "${backend}" in exit_code=$? kill ${compositor} +EOF ;; broadway) |