test: Skip meson integration tests if SYSTEMD_INTEGRATION_TESTS != 1
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Apr 2024 19:18:27 +0000 (21:18 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 25 Apr 2024 15:06:40 +0000 (17:06 +0200)
commitcf5e1b5d39ce6ea6a47dcd8db5b87b470cf437d1
tree82664d144090038569ecaed7c3ef239c8134ebb2
parentff4fe9dee230fbfe1dd489be3f721588ec0f83c1
test: Skip meson integration tests if SYSTEMD_INTEGRATION_TESTS != 1

We cannot mark a test suite as excluded by default in meson. Instead,
let's require that SYSTEMD_INTEGRATION_TESTS=1 and skip any integration
test if it's not set. This is effectively the same as excluding it by
default. If the integration-test option is enabled, we'll set the
environment variable by default, just like we do with SYSTEMD_SLOW_TESTS
and the slow-tests meson option.
src/test/meson.build
test/README.testsuite
test/integration-test-wrapper.py
test/meson.build