aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-10-31 22:17:47 +0200
committerGitHub <noreply@github.com>2017-10-31 22:17:47 +0200
commitcde0f4fca18b15a86218911d8519e1d334a27c7f (patch)
tree7b0fccfabc561252caa5fa25abed873e6c1a5f98 /docs/markdown
parent1540e615f13503722f1067c693f3d394218cbd9e (diff)
parent9b6214eb4d458bfeb9caa64f384df58c5bc393c6 (diff)
downloadmeson-cde0f4fca18b15a86218911d8519e1d334a27c7f.zip
meson-cde0f4fca18b15a86218911d8519e1d334a27c7f.tar.gz
meson-cde0f4fca18b15a86218911d8519e1d334a27c7f.tar.bz2
Merge pull request #2562 from 1ace/fix/mesontest
Remove references to `mesontest`
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Reference-manual.md6
-rw-r--r--docs/markdown/Unit-tests.md6
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index ba86e48..eee4405 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -95,10 +95,10 @@ the following:
- `gdb` if `true`, the tests are also run under `gdb`
- `timeout_multiplier` a number to multiply the test timeout with
-To use the test setup, run `mesontest --setup=*name*` inside the build dir.
+To use the test setup, run `meson test --setup=*name*` inside the build dir.
Note that all these options are also available while running the
-`mesontest` script for running tests instead of `ninja test` or
+`meson test` script for running tests instead of `ninja test` or
`msbuild RUN_TESTS.vcxproj`, etc depending on the backend.
### benchmark()
@@ -1092,7 +1092,7 @@ arguments are the following.
for the test
Defined tests can be run in a backend-agnostic way by calling
-`mesontest` inside the build dir, or by using backend-specific
+`meson test` inside the build dir, or by using backend-specific
commands, such as `ninja test` or `msbuild RUN_TESTS.vcxproj`.
### vcs_tag()
diff --git a/docs/markdown/Unit-tests.md b/docs/markdown/Unit-tests.md
index 6ded714..afbeaa0 100644
--- a/docs/markdown/Unit-tests.md
+++ b/docs/markdown/Unit-tests.md
@@ -95,7 +95,7 @@ Meson also supports running the tests under GDB. Just doing this:
$ meson test --gdb testname
```
-Mesontest will launch `gdb` all set up to run the test. Just type `run` in the GDB command prompt to start the program.
+Meson will launch `gdb` all set up to run the test. Just type `run` in the GDB command prompt to start the program.
The second use case is a test that segfaults only rarely. In this case you can invoke the following command:
@@ -103,8 +103,8 @@ The second use case is a test that segfaults only rarely. In this case you can i
$ meson test --gdb --repeat=10000 testname
```
-This runs the test up to 10 000 times under GDB automatically. If the program crashes, GDB will halt and the user can debug the application. Note that testing timeouts are disabled in this case so mesontest will not kill `gdb` while the developer is still debugging it. The downside is that if the test binary freezes, the test runner will wait forever.
+This runs the test up to 10 000 times under GDB automatically. If the program crashes, GDB will halt and the user can debug the application. Note that testing timeouts are disabled in this case so `meson test` will not kill `gdb` while the developer is still debugging it. The downside is that if the test binary freezes, the test runner will wait forever.
-For further information see the command line help of Mesontest by running `mesontest -h`.
+For further information see the command line help of Meson by running `meson test -h`.
**NOTE:** If `meson test` does not work for you, you likely have a old version of Meson. In that case you should call `mesontest` instead. If `mesontest` doesn't work either you have a very old version prior to 0.37.0 and should upgrade.