summaryrefslogtreecommitdiff
path: root/docs/markdown/Commands.md
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-04-03 09:46:26 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-05-25 13:44:13 -0400
commite7b9dfac98d30eb4ea5489c10b8dfef3bb8331f4 (patch)
treec1cba20c81e41f60d564a50ffa13bde7012ace54 /docs/markdown/Commands.md
parent11521c6db7facf0703a6037948fdcc1f69cd6246 (diff)
downloadmeson-e7b9dfac98d30eb4ea5489c10b8dfef3bb8331f4.tar.gz
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/Commands.md')
-rw-r--r--docs/markdown/Commands.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md
index 52eb76c1d..75b22817d 100644
--- a/docs/markdown/Commands.md
+++ b/docs/markdown/Commands.md
@@ -281,6 +281,12 @@ Run tests for the configure Meson project.
See [the unit test documentation](Unit-tests.md) for more info.
+Since *1.2.0* you can use wildcards in *args* for test names.
+For example, "bas*" will match all test with names beginning with "bas".
+
+Since *1.2.0* it is an error to provide a test name or wildcard that
+does not match any test.
+
#### Examples:
Run tests for the project: