2019-04-08 08:34:13 -04:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
2021-02-13 12:47:54 -05:00
|
|
|
set -e
|
2019-04-08 08:34:13 -04:00
|
|
|
|
|
|
|
dconf update
|
|
|
|
glib-compile-schemas $GSETTINGS_SCHEMA_DIR
|
|
|
|
|
2021-02-13 12:49:58 -05:00
|
|
|
# Disable audio support to not dead lock screen cast tests
|
|
|
|
rm -f /etc/pipewire/media-session.d/with-jack
|
|
|
|
rm -f /etc/pipewire/media-session.d/with-pulseaudio
|
|
|
|
pipewire &
|
|
|
|
|
|
|
|
sleep 2
|
|
|
|
|
2020-11-09 03:34:09 -05:00
|
|
|
export MUTTER_DEBUG_DUMMY_MODE_SPECS="800x600@10.0"
|
|
|
|
|
2021-02-13 12:46:13 -05:00
|
|
|
xvfb-run -s '+iglx -noreset' \
|
|
|
|
meson test -C build --no-rebuild -t 10 --wrap catchsegv
|
2019-04-08 08:34:13 -04:00
|
|
|
|
|
|
|
exit_code=$?
|
|
|
|
|
|
|
|
python3 .gitlab-ci/meson-junit-report.py \
|
|
|
|
--project-name=mutter \
|
|
|
|
--job-id "${CI_JOB_NAME}" \
|
|
|
|
--output "build/${CI_JOB_NAME}-report.xml" \
|
|
|
|
build/meson-logs/testlog-catchsegv.json
|
|
|
|
|
|
|
|
exit $exit_code
|