##// END OF EJS Templates
tests: correctly match clang-format version >= 10...
Manuel Jacob -
r45732:04c428e9 default
parent child Browse files
Show More
@@ -591,7 +591,7 b' def has_pylint():'
591
591
592 @check("clang-format", "clang-format C code formatter")
592 @check("clang-format", "clang-format C code formatter")
593 def has_clang_format():
593 def has_clang_format():
594 m = matchoutput('clang-format --version', br'clang-format version (\d)')
594 m = matchoutput('clang-format --version', br'clang-format version (\d*)')
595 # style changed somewhere between 4.x and 6.x
595 # style changed somewhere between 4.x and 6.x
596 return m and int(m.group(1)) >= 6
596 return m and int(m.group(1)) >= 6
597
597
General Comments 0
You need to be logged in to leave comments. Login now