aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-03-03 14:02:16 +0200
committerGitHub <noreply@github.com>2019-03-03 14:02:16 +0200
commit1997ac2478c600336e89b2deb5e75ae02bef0fd3 (patch)
treee13d42ae10a47a0358cfc3765d9717c488872536 /docs/markdown/Reference-manual.md
parent5a22bb79016c5e7fe386c9cf035c8c3517e883f8 (diff)
parent91f847d308b57adec89245308b60ae063026b456 (diff)
downloadmeson-1997ac2478c600336e89b2deb5e75ae02bef0fd3.zip
meson-1997ac2478c600336e89b2deb5e75ae02bef0fd3.tar.gz
meson-1997ac2478c600336e89b2deb5e75ae02bef0fd3.tar.bz2
Merge pull request #4958 from bonzini/tap
Add initial TAP test support
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 6c3b3ad..f2b0416 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -1406,10 +1406,7 @@ executable to run. The executable can be an [executable build target
object](#build-target-object) returned by
[`executable()`](#executable) or an [external program
object](#external-program-object) returned by
-[`find_program()`](#find_program). The executable's exit code is used
-by the test harness to record the outcome of the test, for example
-exit code zero indicates success. For more on the Meson test harness
-protocol read [Unit Tests](Unit-tests.md).
+[`find_program()`](#find_program).
Keyword arguments are the following:
@@ -1446,6 +1443,12 @@ Keyword arguments are the following:
before test is executed even if they have `build_by_default : false`.
Since 0.46.0
+- `protocol` specifies how the test results are parsed and can be one
+ of `exitcode` (the executable's exit code is used by the test harness
+ to record the outcome of the test) or `tap` ([Test Anything
+ Protocol](https://www.testanything.org/)). For more on the Meson test
+ harness protocol read [Unit Tests](Unit-tests.md). Since 0.50.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`.