Lines Matching refs:lcov
42 .PHONY: lcov-reset # run lcov from scratch, always
43 lcov-reset:
44 make lcov-run
45 make lcov-report
47 .PHONY: lcov # run lcov from scratch if the dir is not there
48 lcov: target
49 make lcov-reset
51 .PHONY: lcov-run # reset run coverage tests
52 lcov-run:
53 @-rm -rf lcov
57 .PHONY: lcov-report # generate report based on current coverage data
58 lcov-report:
59 mkdir lcov
60 lcov --directory . --capture --output-file lcov/lcov.info
61 lcov -l lcov/lcov.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > lcov/remove
62 lcov -r lcov/lcov.info `cat lcov/remove` > lcov/lcov.cleaned.info
63 rm lcov/remove
64 mv lcov/lcov.cleaned.info lcov/lcov.info
65 genhtml -t "$(PACKAGE_STRING)" -o lcov lcov/lcov.info