From 717f7db67e27fedc4a3eb68bf2b46bf4384997c6 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Sat, 14 Apr 2018 21:17:02 +0200 Subject: improve suite of meson test (#3369) --- docs/markdown/Unit-tests.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/markdown/Unit-tests.md') diff --git a/docs/markdown/Unit-tests.md b/docs/markdown/Unit-tests.md index 53ce9ec57..e5e4107f4 100644 --- a/docs/markdown/Unit-tests.md +++ b/docs/markdown/Unit-tests.md @@ -71,6 +71,14 @@ You can also run only a single test by giving its name: $ meson test testname ``` +Tests belonging to a suite `suite` can be run as follows + +```console +$ meson test --suite (sub)project_name:suite +``` + +Since version *0.46*, `(sub)project_name` can be omitted if it is the top-level project. + Sometimes you need to run the tests multiple times, which is done like this: ```console -- cgit v1.2.3