diff options
author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-04-03 09:46:26 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-05-25 13:44:13 -0400 |
commit | e7b9dfac98d30eb4ea5489c10b8dfef3bb8331f4 (patch) | |
tree | c1cba20c81e41f60d564a50ffa13bde7012ace54 /docs/markdown/snippets | |
parent | 11521c6db7facf0703a6037948fdcc1f69cd6246 (diff) | |
download | meson-e7b9dfac98d30eb4ea5489c10b8dfef3bb8331f4.zip meson-e7b9dfac98d30eb4ea5489c10b8dfef3bb8331f4.tar.gz meson-e7b9dfac98d30eb4ea5489c10b8dfef3bb8331f4.tar.bz2 |
mtest: wildcard selection
Allow the use of wildcards (e.g. *) to match test names in `meson test`.
Raise an error is given test name does not match any test.
Optimize the search by looping through the list of tests only once.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/test_name_filters.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/snippets/test_name_filters.md b/docs/markdown/snippets/test_name_filters.md new file mode 100644 index 0000000..14e62a9 --- /dev/null +++ b/docs/markdown/snippets/test_name_filters.md @@ -0,0 +1,9 @@ +## Wildcards in list of tests to run + +The `meson test` command now accepts wildcards in the list of test names. +For example `meson test basic*` will run all tests whose name begins +with "basic". + +meson will report an error if the given test name does not match any +existing test. meson will log a warning if two redundant test names +are given (for example if you give both "proj:basic" and "proj:"). |