test: Wait only up to 5 seconds for weston to start up
This should be plenty even on CI, no need to wait for a whole minute if something goes wrong.
This commit is contained in:
parent
6b56ae68e5
commit
3e938ed042
|
@ -18,7 +18,7 @@ WESTON_PID=$!
|
|||
export WAYLAND_DISPLAY=wayland-$$
|
||||
|
||||
# Wait for weston to initialize before starting Xwayland
|
||||
timeout --preserve-status 60s bash -c "while ! $XSERVER_BUILDDIR/hw/xwayland/Xwayland -pogo -displayfd 1 &>/dev/null; do sleep 1; done"
|
||||
timeout --preserve-status 5s bash -c "while ! $XSERVER_BUILDDIR/hw/xwayland/Xwayland -pogo -displayfd 1 &>/dev/null; do sleep 1; done"
|
||||
|
||||
# Start an Xwayland server
|
||||
export PIGLIT_RESULTS_DIR=$XSERVER_BUILDDIR/test/piglit-results/xwayland
|
||||
|
|
Loading…
Reference in New Issue