ci: Use mutter headless for tests

This commit is contained in:
Matthias Clasen
2023-05-02 06:28:33 -04:00
parent ba64e5588d
commit 48d5b36b32

View File

@@ -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)