2019-04-08 12:34:13 +00:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
2021-02-13 17:47:54 +00:00
|
|
|
set -e
|
2019-04-08 12:34:13 +00:00
|
|
|
|
|
|
|
dconf update
|
|
|
|
glib-compile-schemas $GSETTINGS_SCHEMA_DIR
|
|
|
|
|
2021-03-16 16:46:44 +00:00
|
|
|
# Disable e.g. audio support to not dead lock screen cast tests
|
|
|
|
rm -f /usr/share/pipewire/media-session.d/with-*
|
|
|
|
|
|
|
|
PIPEWIRE_DEBUG=2 PIPEWIRE_LOG="$CI_PROJECT_DIR/build/meson-logs/pipewire.log" \
|
|
|
|
pipewire &
|
2021-02-13 17:49:58 +00:00
|
|
|
|
|
|
|
sleep 2
|
|
|
|
|
2020-11-09 08:34:09 +00:00
|
|
|
export MUTTER_DEBUG_DUMMY_MODE_SPECS="800x600@10.0"
|
|
|
|
|
2021-02-13 17:46:13 +00:00
|
|
|
xvfb-run -s '+iglx -noreset' \
|
|
|
|
meson test -C build --no-rebuild -t 10 --wrap catchsegv
|
2019-04-08 12:34:13 +00: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
|