Patch gcovr script - take 2
parent
6340421f51
commit
c60d562c8c
|
|
@ -632,7 +632,9 @@ def process_gcov_data(data_fname, covdata, source_fname, options):
|
||||||
elif tmp[0] == '=':
|
elif tmp[0] == '=':
|
||||||
is_code_statement = True
|
is_code_statement = True
|
||||||
uncovered_exceptional.add(lineno)
|
uncovered_exceptional.add(lineno)
|
||||||
elif tmp[0] in "0123456789" and not segments[0].endswith("*"):
|
elif tmp[0] in "0123456789" and segments[0].endswith("*"):
|
||||||
|
continue
|
||||||
|
elif tmp[0] in "0123456789":
|
||||||
is_code_statement = True
|
is_code_statement = True
|
||||||
covered[lineno] = int(segments[0].strip())
|
covered[lineno] = int(segments[0].strip())
|
||||||
elif tmp.startswith('branch'):
|
elif tmp.startswith('branch'):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue