Imported Upstream version 2.72.alpha
[platform/upstream/glib-networking.git] / .gitlab-ci / lcovrc
1 # lcov and genhtml configuration
2 # See http://ltp.sourceforge.net/coverage/lcov/lcovrc.5.php
3
4 # Always enable branch coverage
5 lcov_branch_coverage = 1
6
7 # Exclude precondition assertions, as we can never reasonably get full branch
8 # coverage of them, as they should never normally fail.
9 # See https://github.com/linux-test-project/lcov/issues/44
10 # Also ignore g_clear macros as we don't care about the NULL path often
11 lcov_excl_br_line = LCOV_EXCL_BR_LINE|g_return_if_fail|g_return_val_if_fail|g_assert|g_assert_|g_warn_if_fail|g_clear_
12
13 # Similarly for unreachable assertions.
14 lcov_excl_line = LCOV_EXCL_LINE|g_return_if_reached|g_return_val_if_reached|g_assert_not_reached|g_warn_if_reached