diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-04-28 17:36:02 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-04-28 17:54:02 +0200 |
commit | 2a586f00b7d92d688f5742d94ae6916bef69869e (patch) | |
tree | 1df53b0c2da26b7f303e939d0e4be0b9add54bb8 /run_project_tests.py | |
parent | afffb9e57d6f4194398493aeecdb1ba6a0f42622 (diff) | |
download | meson-2a586f00b7d92d688f5742d94ae6916bef69869e.zip meson-2a586f00b7d92d688f5742d94ae6916bef69869e.tar.gz meson-2a586f00b7d92d688f5742d94ae6916bef69869e.tar.bz2 |
tests: Skip hotdoc test if hotdoc is not installed
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index cc8e333..8cbf989 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -1113,11 +1113,23 @@ def detect_system_compiler(options): def print_tool_versions(): tools = [ { + 'tool': 'ninja', + 'args': ['--version'], + 'regex': re.compile(r'^([0-9]+(\.[0-9]+)*(-[a-z0-9]+)?)$'), + 'match_group': 1, + }, + { 'tool': 'cmake', 'args': ['--version'], 'regex': re.compile(r'^cmake version ([0-9]+(\.[0-9]+)*(-[a-z0-9]+)?)$'), 'match_group': 1, }, + { + 'tool': 'hotdoc', + 'args': ['--version'], + 'regex': re.compile(r'^([0-9]+(\.[0-9]+)*(-[a-z0-9]+)?)$'), + 'match_group': 1, + }, ] def get_version(t: dict) -> str: |