summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-04-06 05:58:13 +0100
committerEli Schwartz <eschwartz93@gmail.com>2025-04-06 03:15:29 -0400
commit1da15c2809798e49ee0b6a839b4f94a9394127a5 (patch)
tree1e4dc345ace20ab9c14dd98a2804abedfe21ce76
parent4bc6b2701c39f88ba013c37856f1f90d4bbc9dca (diff)
downloadmeson-1da15c2809798e49ee0b6a839b4f94a9394127a5.tar.gz
docs: say '--wrapper', not '--wrap' for tests
We document --wrapper and --wrap works only by expanding it automatically to --wrapper as it is unambiguous.
-rw-r--r--docs/markdown/Unit-tests.md6
1 files changed, 3 insertions, 3 deletions
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: