-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.lcovrc
26 lines (21 loc) · 944 Bytes
/
.lcovrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# lcov and genhtml configuration
# See http://ltp.sourceforge.net/coverage/lcov/lcovrc.5.php
# Always enable branch coverage
branch_coverage = 0
# Exclude precondition assertions, as we can never reasonably get full branch
# coverage of them, as they should never normally fail.
# See https://github.com/linux-test-project/lcov/issues/44
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_|ncm_assert_|NCM_TEST_FREE|G_DECLARE_|G_DEFINE_
# Similarly for unreachable assertions.
lcov_excl_line = LCOV_EXCL_LINE|g_return_if_reached|g_return_val_if_reached|g_assert_not_reached|g_error|G_OBJECT_WARN
# Excluding external projects
ignore_errors = unused
ignore_errors = empty
# This will not work with lcov 1.16 or earlier
#exclude = */class/*
#exclude = */levmar/*
#exclude = */libcuba/*
#exclude = */plc/*
#exclude = */sundials/*
#exclude = */toeplitz/*
#exclude = */tools/*