diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-12 23:47:10 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-13 00:47:10 +0200 |
commit | 3778a34979c1f705eda044960cc1f89233409f88 (patch) | |
tree | 9a52f95bb448ebcbe4249325c2c2d7b37e72bf2d /docs/markdown | |
parent | 9371965132e8854db1b43b4bda61f0404b4b3609 (diff) | |
download | meson-3778a34979c1f705eda044960cc1f89233409f88.zip meson-3778a34979c1f705eda044960cc1f89233409f88.tar.gz meson-3778a34979c1f705eda044960cc1f89233409f88.tar.bz2 |
mintro: include test protocol in introspection data
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/IDE-integration.md | 3 | ||||
-rw-r--r-- | docs/markdown/snippets/introspect.md | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/markdown/IDE-integration.md b/docs/markdown/IDE-integration.md index 1c66d53..77e00bd 100644 --- a/docs/markdown/IDE-integration.md +++ b/docs/markdown/IDE-integration.md @@ -235,7 +235,7 @@ When these tests fail, the user probably wants to run the failing test in a debugger. To make this as integrated as possible, extract the tests from the `intro-tests.json` and `intro-benchmarks.json` files. This provides you with all the information needed to run the test: what command to execute, command -line arguments and environment variable settings. +line arguments, environment variable settings and how to process the output. ```json { @@ -244,6 +244,7 @@ line arguments and environment variable settings. "timeout": "the test timeout", "suite": ["list", "of", "test", "suites"], "is_parallel": true / false, + "protocol": "exitcode" / "tap", "cmd": ["command", "to", "run"], "env": { "VARIABLE1": "value 1", diff --git a/docs/markdown/snippets/introspect.md b/docs/markdown/snippets/introspect.md index 097fd17..9efa4d7 100644 --- a/docs/markdown/snippets/introspect.md +++ b/docs/markdown/snippets/introspect.md @@ -5,3 +5,7 @@ dependencies (--dependencies, intro-dependencies.json): scanning dependencies (--scan-dependencies): - added the `version` key containing the required dependency version + +tests and benchmarks (--tests, --benchmarks, intro-tests.json, +intro-benchmarks.json): +- added the `protocol` key |