When running our integration tests in systemd we depend on each test having a unique name. This is always the case unless --repeat is used, in which case multiple tests with the same name run concurrently which causes issues when allocating resources that use the test name as the identifier. Let's set MESON_TEST_ITERATION to the current iteration of the test so we can use $TEST_NAME-$TEST_ITERATION as our test identifiers which will avoid these issues.pull/13195/head
parent
14de8ac5a9
commit
bcaab91bf6
3 changed files with 11 additions and 2 deletions
@ -0,0 +1,5 @@ |
||||
## meson test now sets the `MESON_TEST_ITERATION` environment variable |
||||
|
||||
`meson test` will now set the `MESON_TEST_ITERATION` environment variable to the |
||||
current iteration of the test. This will always be `1` unless `--repeat` is used |
||||
to run the same test multiple times. |
Loading…
Reference in new issue