]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: Use meson add_test_setup() instead of environment variables
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 17 Apr 2025 11:29:16 +0000 (13:29 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 17 Apr 2025 18:31:08 +0000 (20:31 +0200)
commit710653d3bcc46d6c45d8771e0a74c8d5f6328bc4
tree12944458c0f9a9aa1d830109687cd2dc4788771b
parentd9826d303bda2cb90437ad3a003d12a298805c58
test: Use meson add_test_setup() instead of environment variables

We add a default test setup that excludes the integration-tests suite
so that the integration tests don't run by default. This allows us to
get rid of $SYSTEMD_INTEGRATION_TESTS. Then, we add two extra setups:
'integration' and 'shell'. The 'integration' setup does not exclude the
integration-tests suite, and so can be used to run the integration tests.
The 'shell' setup does the same, but additionally sets $TEST_SHELL=1,
allowing to get rid of $TEST_SHELL in the docs.
.github/workflows/coverage.yml
.github/workflows/mkosi.yml
meson.build
meson_options.txt
test/integration-tests/README.md
test/integration-tests/integration-test-wrapper.py
test/integration-tests/meson.build
test/integration-tests/standalone/meson.build