File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ execute_process( COMMAND lcov --directory ${CMAKE_BINARY_DIR}
1414 --base-directory ${CMAKE_BINARY_DIR}
1515 --initial
1616 --capture
17- --rc lcov_branch_coverage=1
17+ --ignore -errors source
18+ --rc branch_coverage=1
1819 --rc genhtml_branch_coverage=1
1920 --output -file=${CMAKE_BINARY_DIR} /base_coverage.info
2021 )
@@ -45,7 +46,8 @@ execute_process(COMMAND ruby
4546# capture data after running the tests
4647execute_process (
4748 COMMAND lcov --capture
48- --rc lcov_branch_coverage=1
49+ --ignore -errors source
50+ --rc branch_coverage=1
4951 --rc genhtml_branch_coverage=1
5052 --base-directory ${CMAKE_BINARY_DIR}
5153 --directory ${CMAKE_BINARY_DIR}
@@ -60,10 +62,10 @@ execute_process(
6062 --add-tracefile ${CMAKE_BINARY_DIR} /second_coverage.info
6163 --output -file ${CMAKE_BINARY_DIR} /coverage.info
6264 --no -external
63- --rc lcov_branch_coverage =1
65+ --rc branch_coverage =1
6466 )
6567execute_process (
66- COMMAND genhtml --rc lcov_branch_coverage =1
68+ COMMAND genhtml --rc branch_coverage =1
6769 --branch-coverage
6870 --output -directory ${CMAKE_BINARY_DIR} /coverage
6971 ${CMAKE_BINARY_DIR} /coverage.info
You can’t perform that action at this time.
0 commit comments