xserver/test/scripts
Michel Dänzer e58203c1e2 test: Kill weston whenever shell exits
This script runs with -e, so if the timeout command returns a non-0
exit status (meaning the while loop timed out), the script exits
immediately as well.

This would leave weston running in the background, which resulted in
meson waiting for weston to terminate until hitting meson's own timeout.

Instead, explicitly kill weston whenever the shell exits. This results
in meson recording the test as failed immediately.

As a bonus, we can drop the special handling around run-piglit.sh.

v2:
* Use trap (José Expósito)
v3:
* Explicitly use bash, and document a bashism we rely on
  (Olivier Fourdan)
2023-10-09 14:22:19 +00:00
..
build-travis-osx.sh Remove autotools support 2021-10-27 13:15:40 +03:00
run-piglit.sh Revert "ci: Work around broken python UTF8 handling in the CI docker image" 2018-12-17 17:52:39 +01:00
xephyr-glamor-gles2-piglit.sh meson: add glamor gles2 tests 2022-12-01 08:41:57 +00:00
xephyr-glamor-piglit.sh test: Exclude two XTS xsetfontpath tests 2022-09-02 14:49:08 +02:00
xinit-piglit-session.sh test: Exclude two XTS xsetfontpath tests 2022-09-02 14:49:08 +02:00
xvfb-piglit.sh ci: Ignore builds for branches aimed at other CI services 2018-03-21 09:35:38 -04:00
xwayland-piglit.sh test: Kill weston whenever shell exits 2023-10-09 14:22:19 +00:00