From e7b9dfac98d30eb4ea5489c10b8dfef3bb8331f4 Mon Sep 17 00:00:00 2001 From: Charles Brunet Date: Mon, 3 Apr 2023 09:46:26 -0400 Subject: 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. --- docs/markdown/Commands.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/markdown/Commands.md') 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: -- cgit v1.2.3