summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2022-07-22 14:30:59 +0000
committerUli Schlachter <psychon@znc.in>2022-07-22 14:30:59 +0000
commitf482106645ddf3ad2ebb1a3d4352f12558028855 (patch)
treee9a394591728f17ae88c9b7ce8be625a89afe3e1 /.gitlab-ci.yml
parent7c998fa01983eb19a3f62aa12fb65280299850d1 (diff)
parent25ee24000eaf5c0873a74d44d9dd6e80881122ff (diff)
downloadcairo-f482106645ddf3ad2ebb1a3d4352f12558028855.tar.gz
Merge branch 'use-meson-test-for-scripts' into 'master'
CI: Invoke several of the test scripts via `meson test` See merge request cairo/cairo!345
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7fa840856..ba63c8fc0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -212,16 +212,16 @@ fedora meson build:
- export CFLAGS="-Werror -Wno-error=deprecated-declarations"
- meson builddir ${MESON_ARGS}
- ninja -C builddir
- # - ninja -C builddir test
# Run test scripts
#- (cd builddir/src && srcdir=../../src bash "$srcdir/check-def.sh") This script calls "make cairo.def" and thus does not work with meson
- mkdir builddir/src/.libs
- touch builddir/src/.libs/libfoo.so
- - MAKE=echo CAIRO_HAS_HIDDEN_SYMBOLS=1 bash src/check-plt.sh builddir/src/libcairo.so
- - (cd src && bash "check-headers.sh")
- - (cd src && bash "check-preprocessor-syntax.sh")
- - (cd src && bash "check-doc-syntax.sh")
+ # Run all the tests, except for the big test executable which
+ # gets run separately
+ - meson test -C builddir --no-suite=slow
+
+ # TODO: These aren't set up as Meson tests yet
- (cd doc/public && bash "check-doc-syntax.sh")
# FIXME: The following line really needs gtk-doc to run first
- (cd doc/public && DOC_MODULE=cairo bash "check-doc-coverage.sh")