From 1da15c2809798e49ee0b6a839b4f94a9394127a5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 6 Apr 2025 05:58:13 +0100 Subject: docs: say '--wrapper', not '--wrap' for tests We document --wrapper and --wrap works only by expanding it automatically to --wrapper as it is unambiguous. --- docs/markdown/Unit-tests.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/markdown/Unit-tests.md b/docs/markdown/Unit-tests.md index e89f393a2..ab93b715f 100644 --- a/docs/markdown/Unit-tests.md +++ b/docs/markdown/Unit-tests.md @@ -223,16 +223,16 @@ Meson will set the `MESON_TEST_ITERATION` environment variable to the current iteration of the test *(added 1.5.0)*. Invoking tests via a helper executable such as Valgrind can be done with the -`--wrap` argument +`--wrapper` argument ```console -$ meson test --wrap=valgrind testname +$ meson test --wrapper=valgrind testname ``` Arguments to the wrapper binary can be given like this: ```console -$ meson test --wrap='valgrind --tool=helgrind' testname +$ meson test --wrapper='valgrind --tool=helgrind' testname ``` Meson also supports running the tests under GDB. Just doing this: -- cgit v1.2.3