diff options
| author | Xavier Claessens <xclaessens@netflix.com> | 2025-10-20 11:11:52 -0400 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2025-10-23 16:53:21 +0100 |
| commit | 59a46da49a9653caf589669eefef1b39c7a8bdd8 (patch) | |
| tree | 728ccbab154607a26f736af505aa79cce3c51034 /docs | |
| parent | ee17073ebb3f7a46a14cd3c6eca73af317df26cf (diff) | |
| download | meson-59a46da49a9653caf589669eefef1b39c7a8bdd8.tar.gz | |
mtest: Fix test selection implementation
Omitting test()'s `suite` kwarg used to default to `test.suite==['']`
because of how stringlistify() works. That had inconsistent behavior
with `suite: []` which makes `test.suite==[]`. That changed when porting
to typed_kwarg (#8855), which made the default `test.suite==[]`.
Change `suite: []`, and missing kwarg, back to `test.suite==['']` which
was the original intention. It has impact on `meson test --suite`
selection, an empty `test.suite` list means that test is never going to
be selected when `--suite` is used, even when we want all tests from a
given subproject.
It was also unclear what `--suite foo` means. Is `foo` a suite or a
project name? It can now be either, it selects all tests from project
`foo` as well as all tests from any project in suite `foo`.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
