mutter/.gitlab-ci/run-tests.sh
Florian Müllner b17f27416d ci: Switch to meson's generated Junit report
... instead of generating it ourselves from the regular meson logs.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1957>
2021-08-22 17:32:12 +00:00

24 lines
474 B
Bash
Executable File

#!/usr/bin/bash
set -e
dconf update
glib-compile-schemas $GSETTINGS_SCHEMA_DIR
# 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 &
sleep 2
export MUTTER_DEBUG_DUMMY_MODE_SPECS="800x600@10.0"
xvfb-run -s '+iglx -noreset' \
meson test -C build --no-rebuild -t 10 --wrap catchsegv
exit_code=$?
exit $exit_code