]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: Only set environment variable if integration tests are enabled.
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 2 May 2024 18:21:29 +0000 (20:21 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 May 2024 08:56:54 +0000 (10:56 +0200)
commit38db5eff344dcc97739be2ee4696f02eae1555dd
treef5f11f91594e5eefee9cc5ffb2cb654019f72f1f
parentfc4bac8162fcdf9fd01eb22ce25f21a3a94f4e04
test: Only set environment variable if integration tests are enabled.

If we set it to '0' if integration tests are not enabled then we can't
enable them from the command line since environment from meson takes
priority over environment variables from the command line.

We also rename the related variables to avoid conflicts with the
existing integration_tests variable.
meson.build
src/test/meson.build
test/meson.build