mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
58fb865a7c
This allows to just use meson test _build --setup=CI to run tests with the same environment of CI, plus allows to handle wrappers better for debugging purposes. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1233>
21 lines
374 B
Bash
Executable File
21 lines
374 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
|
|
|
|
meson test -C build --no-rebuild --setup CI
|
|
|
|
exit_code=$?
|
|
|
|
exit $exit_code
|