aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-04-05 19:03:06 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-04-28 17:54:02 +0200
commit4a1f1977435c7153d97652984aa783c2cbd1e803 (patch)
treeef8a03bf3aad82ee619cb4287570ba3c47440139 /docs/markdown
parent20bacf82eea4bd0d3732c398298c27e0d82a526d (diff)
downloadmeson-4a1f1977435c7153d97652984aa783c2cbd1e803.zip
meson-4a1f1977435c7153d97652984aa783c2cbd1e803.tar.gz
meson-4a1f1977435c7153d97652984aa783c2cbd1e803.tar.bz2
tests: Add support for specifying tool requirements
Adds the `tools` section to `tests.json` to specify requirements for the tools in the environment. All tests that fail at least one tool requirements check are skipped.
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Contributing.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/Contributing.md b/docs/markdown/Contributing.md
index 554c3f5..8a24e0b 100644
--- a/docs/markdown/Contributing.md
+++ b/docs/markdown/Contributing.md
@@ -209,6 +209,9 @@ Exanple `test.json`:
{ "opt1": "qwert", "opt2": "false" },
{ "opt1": "bad" }
]
+ },
+ "tools": {
+ "cmake": ">=3.11"
}
}
```
@@ -324,6 +327,13 @@ Currently supported values are:
- `prefix`
- `libdir`
+#### tools
+
+This section specifies a list of tool requirements in a simple key-value format.
+If a tool is specified, it has to be present in the environment, and the version
+requirement must be fulfilled match. Otherwise, the entire test is skipped
+(including every element in the test matrix).
+
### Skipping integration tests
Meson uses several continuous integration testing systems that have slightly