CI: Use `meson test` to run cairo-test-suite
-
Switch CI tests from autotools to meson
From: @psychon
Taken from !300 (merged), rebased on master with no changes.
-
CI: Update test artifacts to be appropriate for out-of-tree Meson build
-
CI: Use
meson test
to run cairo-test-suiteUsing
meson test
is the Meson equivalent ofmake check
, and is the way developers of other Meson-built projects will generally expect to run tests: it wraps the test in Meson's test framework, including ensuring that the execution environment matches theworkdir
andenv
that are configured inmeson.build
. This avoids having to duplicate the details of how to run the test everywhere.The
cairo
argument here corresponds to the first argument totest()
intest/meson.build
, preserving the existing CI behaviour of not running the various smaller shell-script-based tests in these contexts. -
meson: Disable automatic setting of MALLOC_PERTURB_
Normally,
meson test
automatically sets MALLOC_PERTURB_ to a random value, to try to find more memory errors. However, this isn't currently expected to work in cairo-test-suite.