Debian Codegraph @

tools/Makefile-tools.am

raw
1
2 if WITH_COVERAGE
3 coverage:
4 mkdir -p tools/coverage
5 $(MAKE)
6 lcov --directory . --capture --initial \
7 --output-file tools/coverage.base
8 $(MAKE) check
9 lcov --directory . --capture \
10 --output-file tools/coverage.test
11 lcov --directory . \
12 --output tools/coverage.all \
13 --add-tracefile tools/coverage.base \
14 --add-tracefile tools/coverage.test
15 lcov --directory . \
16 --remove tools/coverage.all \
17 --output tools/coverage.info \
18 $(BUILT_SOURCES) 'test-*' 'mock-*' 'frob-*' '/usr/include/*'
19 genhtml --output-directory tools/coverage \
20 --title "cockpit $(PACKAGE_VERSION)" \
21 tools/coverage.info
22 @echo "file://$(abs_top_builddir)/tools/coverage/index.html"
23 endif
24
25 EXTRA_DIST += \
26 pkg/apps/content-security-policy.override \
27 tools/apparmor.d/cockpit-desktop \
28 $(NULL)