ci: Capture weston logs

Save the weston logs in the artifacts, similar to Xorg.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34323>
This commit is contained in:
Valentine Burley 2025-03-11 11:02:15 +01:00
parent 1e77a2218a
commit 00fe22aa6a

View file

@ -6,7 +6,7 @@ mkdir -p /tmp/.X11-unix
export DISPLAY=:0
WAYLAND_DISPLAY=wayland-0
weston --config="$CI_COMMON_DIR/weston.ini" --socket="$WAYLAND_DISPLAY" "$@" &
weston --config="$CI_COMMON_DIR/weston.ini" --socket="$WAYLAND_DISPLAY" --log "$RESULTS_DIR/weston.log" --logger-scopes=log,xwm-wm-x11 "$@" &
export WAYLAND_DISPLAY
while [ ! -S /tmp/.X11-unix/X0 ]; do sleep 1; done