Skip to content

Commit eadd7f8

Browse files
committed
Fix deprecated lcov arguments
Fixes #40.
1 parent 2d147b3 commit eadd7f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

colcon_lcov_result/task/lcov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def lcov_capture(self, *, additional_hooks=None): # noqa: D102
5757
if args.initial:
5858
output_file = baseline_file
5959
additional_args = ['--initial',
60-
'--rc', 'lcov_branch_coverage=0']
60+
'--rc', 'branch_coverage=0']
6161
else:
6262
output_file = os.path.join(pkg_build_folder, 'coverage.info')
6363
additional_args = []

colcon_lcov_result/verb/configuration/lcovrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ lcov_quiet = 1
2121

2222
# Specify if function coverage data should be collected and
2323
# processed.
24-
lcov_function_coverage = 1
24+
function_coverage = 1
2525

2626
# Specify if branch coverage data should be collected and
2727
# processed.
28-
lcov_branch_coverage = 1
28+
branch_coverage = 1
2929

3030
## Follow symlinks
3131
lcov_follow = 1

0 commit comments

Comments
 (0)