mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
747dbe2a69
This drops some custom building of various components that are now up to date. While at it, start using the FDO_DISTRIBUTION_PACKAGES variable to install packages, as it with the bumped ci-templates version also doesn't install weak dependencies. This also requires tweaking the pipewire dead lock work arounds, as it changed configuration file paths. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1865>
30 lines
687 B
Bash
Executable File
30 lines
687 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=$?
|
|
|
|
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
|