aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-04-28 17:36:02 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-04-28 17:54:02 +0200
commit2a586f00b7d92d688f5742d94ae6916bef69869e (patch)
tree1df53b0c2da26b7f303e939d0e4be0b9add54bb8 /run_project_tests.py
parentafffb9e57d6f4194398493aeecdb1ba6a0f42622 (diff)
downloadmeson-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-xrun_project_tests.py12
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: