gitlab-ci.yml: Wrap tests with catchsegv

To be able to see why tests failed, if they crashed due to a SIGSEGV,
wrap the execution with catchsegv.
This commit is contained in:
Jonas Ådahl 2018-11-14 16:59:34 +01:00
parent ad7d6e4a37
commit 70741a051b

View File

@ -17,8 +17,8 @@ test-mutter:
- meson . build -Degl_device=true -Dwayland_eglstream=true
- ninja -C build
- glib-compile-schemas $PWD/build/data
- env XDG_RUNTIME_DIR=/tmp/ GSETTINGS_SCHEMA_DIR=$PWD/build/data dbus-run-session -- xvfb-run -s '+iglx -noreset' meson test -C build --verbose --no-stdsplit
- env XDG_RUNTIME_DIR=/tmp/ GSETTINGS_SCHEMA_DIR=$PWD/build/data dbus-run-session -- xvfb-run -s '+iglx -noreset' meson test -C build --verbose --no-stdsplit --wrap catchsegv
artifacts:
paths:
- build/meson-logs
- build/
when: on_failure