diff options
author | Aleksey Filippov <alekseyf@google.com> | 2018-03-25 01:28:23 +0000 |
---|---|---|
committer | Aleksey Filippov <alekseyf@google.com> | 2018-03-25 01:33:33 +0000 |
commit | 780d301c1c1233a5944b577f0a262e1756f52e04 (patch) | |
tree | 6e743f10f8a63dc16bc39a7e17179d488940139e /docs/markdown/Reference-manual.md | |
parent | c18ceac040df356fe58b045fe9d9ebbe07270bb8 (diff) | |
download | meson-780d301c1c1233a5944b577f0a262e1756f52e04.zip meson-780d301c1c1233a5944b577f0a262e1756f52e04.tar.gz meson-780d301c1c1233a5944b577f0a262e1756f52e04.tar.bz2 |
Add test(depends) documentation
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 54b7131..e652b64 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1198,6 +1198,13 @@ Keyword arguments are the following: - `workdir` absolute path that will be used as the working directory for the test +- `depends` specifies that this test depends on the specified + target(s), even though it does not take any of them as a command + line argument. This is meant for cases where test finds those + targets internally, e.g. plugins or globbing. Those targets are built + before test is executed even if they have `build_by_default : false`. + Since 0.46.0 + Defined tests can be run in a backend-agnostic way by calling `meson test` inside the build dir, or by using backend-specific commands, such as `ninja test` or `msbuild RUN_TESTS.vcxproj`. |