forked from enlightenment/efl
build: enhance generated html output from coverage report
We do not handle branch coverage so remove that part of the output. On the other hand at a legend to allow people to understand the color meanings.
This commit is contained in:
parent
bbc616e064
commit
09d0b53b94
|
@ -434,7 +434,7 @@ lcov-report:
|
|||
lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
|
||||
lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
|
||||
lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned3.info
|
||||
genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned3.info
|
||||
genhtml --legend -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned3.info
|
||||
@echo "Coverage Report at $(top_builddir)/coverage/html"
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue