xserver/test/scripts
Olivier Fourdan f37d11cd96 xwayland/test: Don't catch errors in run-piglit.sh
The xwayland-piglit.sh script spawns weston, runs run-piglit.sh and
finally kills weston.

However, this whole script is running with “-e” meaning that any error
will cause the script to exit immediately.

As a result, if run-piglit.sh exits with a non-zero code such as 77 for
skipping the test, the script will exit prematurely leaving weston
running, and meson will simply wait until the timeout kicks in, and
fail eventually instead of skipping the test as it should.

Fix this by removing the option to exit immediately prior to spawn the
script run-piglit.sh.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1204
Suggested-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
2021-10-21 11:26:47 +02:00
..
build-travis-osx.sh travis: Suppress uninteresting warnings on OSX 2019-05-02 15:42:58 +00: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-piglit.sh test: Skip a few tests on glamor that are known to fail on llvmpipe. 2019-03-27 09:57:53 -07:00
xinit-piglit-session.sh test: Execute rendercheck tests without using piglit. 2019-03-28 13:55:19 -07: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 xwayland/test: Don't catch errors in run-piglit.sh 2021-10-21 11:26:47 +02:00