Commit ae9e302a authored by Stefan Behnel's avatar Stefan Behnel

Fix clang version extraction in test runner.

parent 4c90bf16
...@@ -320,7 +320,7 @@ def get_gcc_version(language): ...@@ -320,7 +320,7 @@ def get_gcc_version(language):
def get_clang_version(language): def get_clang_version(language):
matcher = re.compile(r"clang-(\d+\.\d+)").search matcher = re.compile(r"clang(?:-|\s+version\s+)(\d+\.\d+)").search
return matcher(get_cc_version(language)) return matcher(get_cc_version(language))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment