mirror of
https://github.com/mesonbuild/meson.git
synced 2026-06-24 08:48:03 +00:00
Support `--exclude name` where `name` is a full test name, optionally including the subproject name. Wildcards are not currently supported. Accept both `name` for the main project and `subproject:name`. We want `name` for convenience so users don't have to write out their project name when no subprojects are involved. Extended matching could be added in future, but the primary usecase for this is where distributions want to skip known-buggy or irrelevant tests, rather than developers working on their own project. The test changes are a bit noisy because needed to add a test with the same name in the main project and a subproject to check that --exclude w/ an unqualified name only affected the main parent, but adding 2 new failing tests required all the numbers to be adjusted. Closes: https://github.com/mesonbuild/meson/pull/11502 Closes: https://github.com/mesonbuild/meson/issues/6999 Signed-off-by: Sam James <sam@gentoo.org>