mirror of
https://github.com/falk-werner/webfused
synced 2024-10-27 20:44:08 +00:00
fix: include uncovered files in coverage report
This commit is contained in:
parent
2e81b8c23d
commit
0a19daa0ff
@ -154,9 +154,10 @@ add_dependencies(memcheck alltests)
|
|||||||
|
|
||||||
add_custom_target(coverage
|
add_custom_target(coverage
|
||||||
mkdir -p coverage
|
mkdir -p coverage
|
||||||
COMMAND lcov --initial --capture --directory . --output-file coverage/lcov.info
|
COMMAND lcov --initial --capture --directory . --output-file coverage/lcov_base.info
|
||||||
COMMAND ./alltests
|
COMMAND ./alltests
|
||||||
COMMAND lcov --capture --directory . --output-file coverage/lcov.info
|
COMMAND lcov --capture --directory . --output-file coverage/lcov.info
|
||||||
|
COMMAND lcov -a coverage/lcov_base.info -a coverage/lcov.info --output-file coverage/lcov.info
|
||||||
COMMAND lcov --remove coverage/lcov.info '/usr/*' --output-file coverage/lcov.info
|
COMMAND lcov --remove coverage/lcov.info '/usr/*' --output-file coverage/lcov.info
|
||||||
COMMAND lcov --remove coverage/lcov.info '*/test/*' --output-file coverage/lcov.info
|
COMMAND lcov --remove coverage/lcov.info '*/test/*' --output-file coverage/lcov.info
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user