Skip to content

Commit 0e56fb6

Browse files
authored
Merge pull request #127 from ueno/wip/dueno/gcov
gcov: accommodate the execution_count format change in GCC 8.1 upstream gcov change: github.com/gcc-mirror/gcc/commit/3cf7fddf54b5160e83236f1b9b3129e2a3a417c6
2 parents d030c29 + 3241c5a commit 0e56fb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp_coveralls/coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def parse_gcov_file(args, fobj, filename):
285285
# error.
286286
coverage.append(0)
287287
else:
288-
coverage.append(int(cov_num))
288+
coverage.append(int(cov_num.rstrip('*')))
289289
return coverage
290290

291291
def parse_lcov_file_info(args, filepath, line_iter, line_coverage_re, file_end_string):

0 commit comments

Comments
 (0)