diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-04-05 19:03:06 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-04-28 17:54:02 +0200 |
commit | 4a1f1977435c7153d97652984aa783c2cbd1e803 (patch) | |
tree | ef8a03bf3aad82ee619cb4287570ba3c47440139 /test cases/cmake | |
parent | 20bacf82eea4bd0d3732c398298c27e0d82a526d (diff) | |
download | meson-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 'test cases/cmake')
-rw-r--r-- | test cases/cmake/2 advanced/test.json | 5 | ||||
-rw-r--r-- | test cases/cmake/3 advanced no dep/test.json | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test cases/cmake/2 advanced/test.json b/test cases/cmake/2 advanced/test.json index 11aad94..e12f530 100644 --- a/test cases/cmake/2 advanced/test.json +++ b/test cases/cmake/2 advanced/test.json @@ -4,5 +4,8 @@ {"type": "implib", "platform": "cygwin", "file": "usr/lib/libcm_cmModLib"}, {"type": "implib", "platform": "!cygwin", "file": "usr/bin/libcm_cmModLib"}, {"type": "exe", "file": "usr/bin/cm_testEXE"} - ] + ], + "tools": { + "cmake": ">=3.11" + } } diff --git a/test cases/cmake/3 advanced no dep/test.json b/test cases/cmake/3 advanced no dep/test.json index 24c89c4..98a1719 100644 --- a/test cases/cmake/3 advanced no dep/test.json +++ b/test cases/cmake/3 advanced no dep/test.json @@ -8,5 +8,8 @@ {"type": "exe", "file": "usr/bin/cm_testEXE"}, {"type": "pdb", "file": "usr/bin/cm_testEXE2"}, {"type": "exe", "file": "usr/bin/cm_testEXE2"} - ] + ], + "tools": { + "cmake": ">=3.11" + } } |