mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
e8ace922a2
This decreases flakyness of some tests when runners are under heavy load. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1555
25 lines
531 B
Bash
Executable File
25 lines
531 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
set +e
|
|
|
|
dconf update
|
|
|
|
mkdir -m 700 $XDG_RUNTIME_DIR
|
|
glib-compile-schemas $GSETTINGS_SCHEMA_DIR
|
|
|
|
export MUTTER_DEBUG_DUMMY_MODE_SPECS="800x600@10.0"
|
|
|
|
dbus-run-session -- \
|
|
xvfb-run -s '+iglx -noreset' \
|
|
meson test -C build --no-rebuild -t 10 --wrap catchsegv
|
|
|
|
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
|