diff options
-rw-r--r-- | .gitlab-ci.yml | 1 | ||||
-rwxr-xr-x | .gitlab-ci/run-tests.sh | 11 | ||||
-rw-r--r-- | testsuite/meson.build | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 907a82d26b..8be5fb2436 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -217,6 +217,7 @@ macos: -Dlibjpeg-turbo:simd=disabled _build - meson compile -C _build + - .gitlab-ci/run-tests.sh _build macos artifacts: when: always paths: diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh index a4593532f3..dc14605afe 100755 --- a/.gitlab-ci/run-tests.sh +++ b/.gitlab-ci/run-tests.sh @@ -90,6 +90,17 @@ case "${backend}" in kill ${compositor} ;; + macos) + meson test -C ${builddir} \ + --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \ + --print-errorlogs \ + --setup=${backend} \ + --suite=gtk \ + --no-suite=gsk-compare-opengl + exit_code=$? + ;; + + broadway) export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)" diff --git a/testsuite/meson.build b/testsuite/meson.build index 688a253978..6d2c877359 100644 --- a/testsuite/meson.build +++ b/testsuite/meson.build @@ -19,6 +19,7 @@ setups = [ 'env': ['GDK_DEBUG=gl-gles,default-settings'], }, { 'backend': 'win32', 'if': os_win32 }, { 'backend': 'broadway', 'if': broadway_enabled, }, + { 'backend': 'macos', 'if': macos_enabled, }, ] foreach setup : setups |