Debian Codegraph @

.gitlab-ci/lcovrc

raw
1 # lcov and genhtml configuration
2 # See http://ltp.sourceforge.net/coverage/lcov/lcovrc.5.php
3
4 # Always enable branch coverage
5 branch_coverage = 1
6
7 stop_on_error = 0
8
9 ignore_errors = category,inconsistent,unused,empty
10
11 check_data_consistency = 0
12
13 # Exclude precondition assertions, as we can never reasonably get full branch
14 # coverage of them, as they should never normally fail.
15 # See https://github.com/linux-test-project/lcov/issues/44
16 lcov_excl_br_line = LCOV_EXCL_BR_LINE|g_return_if_fail|g_return_val_if_fail|g_assert|g_assert_
17
18 # Similarly for unreachable assertions.
19 lcov_excl_line = LCOV_EXCL_LINE|g_return_if_reached|g_return_val_if_reached|g_assert_not_reached