Skip to content
Permalink
Browse files

Merge pull request #13328 from milljm/latest-lcov-13327

Support latest lcov
  • Loading branch information...
permcody committed Apr 30, 2019
2 parents 133211d + fa2b873 commit 922c4ccd93dfef34a4525d7978b47f44eae58042
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/scripts/build_coverage.py
@@ -122,7 +122,7 @@ def buildCMD(options):

def verifyCoverage(options):
summary_command = subprocess.Popen([options.lcov_command[0], '--gcov-tool', options.cov_tool, '--summary', options.outfile], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
summary_output = summary_command.communicate()[1]
summary_output = ' '.join(summary_command.communicate())
coverage = float(re.findall(r'lines.*: (\d+.\d+)', summary_output)[0])
print summary_output + '\n\nCode Coverage: ' + str(coverage)
if coverage >= options.coverage_percent:

0 comments on commit 922c4cc

Please sign in to comment.
You can’t perform that action at this time.