summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2021-08-27 13:02:42 +0200
committerJonas Ådahl <jadahl@gmail.com>2021-09-04 10:01:29 +0200
commit58fb865a7ccff63e6432d7fe3647b4391924db87 (patch)
tree2152ef3f8be2cd940917650347c1a0a69a305dae /.gitlab-ci
parentf1228c4a51c0234daa5c6f98d874099635bd94b3 (diff)
downloadmutter-58fb865a7ccff63e6432d7fe3647b4391924db87.tar.gz
build: Add CI test setup to run tests as the CI would do
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>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/run-tests.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index 0c3139383..80a84eb55 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -13,10 +13,7 @@ PIPEWIRE_DEBUG=2 PIPEWIRE_LOG="$CI_PROJECT_DIR/build/meson-logs/pipewire.log" \
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
+meson test -C build --no-rebuild --setup CI
exit_code=$?