Commit d4255cc8 authored by Raphael Defosseux's avatar Raphael Defosseux

chore(ci): saw a little missing version on HTML report

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 2fa8284a
...@@ -163,7 +163,7 @@ class StaticCodeAnalysis(): ...@@ -163,7 +163,7 @@ class StaticCodeAnalysis():
xmlStart = False xmlStart = False
with open('./cppcheck-'+ variant + '.txt', 'r') as logfile: with open('./cppcheck-'+ variant + '.txt', 'r') as logfile:
for line in logfile: for line in logfile:
ret = re.search('Unpacking cppcheck \((?P<version>[0-9\.]+)', str(line)) ret = re.search('cppcheck version="(?P<version>[0-9\.]+)"', str(line))
if ret is not None: if ret is not None:
CCR.versions[vId] = ret.group('version') CCR.versions[vId] = ret.group('version')
if re.search('RUN cat cmake_targets/log/cppcheck.xml', str(line)) is not None: if re.search('RUN cat cmake_targets/log/cppcheck.xml', str(line)) is not None:
......
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