diff options
Diffstat (limited to '.gitlab-ci/run-tests.sh')
-rwxr-xr-x | .gitlab-ci/run-tests.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh new file mode 100755 index 000000000..a5f90688c --- /dev/null +++ b/.gitlab-ci/run-tests.sh @@ -0,0 +1,20 @@ +#!/usr/bin/bash + +set +e + +mkdir -m 700 $XDG_RUNTIME_DIR +glib-compile-schemas $GSETTINGS_SCHEMA_DIR + +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 |