test/bad-input/test-header \
test/burst/test-burst test/burst/test-burst-mime \
test/comp/test-comp-format test/dist/test-dist \
+ test/folder/test-coverage \
test/folder/test-create test/folder/test-nocreate \
test/folder/test-packf test/folder/test-recurse \
test/folder/test-sortm test/folder/test-total \
+ test/format/test-ap \
test/format/test-curses test/format/test-dp \
test/format/test-fmtdump test/format/test-functions \
test/format/test-localmbox test/format/test-myname \
test/format/test-nullstr \
test/format/test-rightjustify \
test/format/test-unquote \
+ test/forw/test-forw-coverage \
test/forw/test-forw-digest test/forw/test-forw-format \
test/inc/test-deb359167 test/inc/test-eom-align \
test/inc/test-inc-scanout test/inc/test-msgchk \
test/install-mh/test-install-mh test/install-mh/test-version-check \
test/locking/test-datalocking test/locking/test-spoollocking \
test/manpages/test-manpages \
- test/mhbuild/test-attach \
+ test/mhbuild/test-attach test/mhbuild/test-mhbuild \
test/mhbuild/test-cte \
test/mhbuild/test-ext-params \
test/mhbuild/test-forw test/mhbuild/test-header-encode \
## These targets are not integrated into the other automake
## targets because they will be used so infrequently, if at all.
##
-gcov:
+gcov: gcov-rebuild gcov-run gcov-process gcov-report
+gcov-rebuild:
@echo rebuilding with AM_CFLAGS=--coverage . . .
- @(make clean && make AM_CFLAGS=--coverage) > /dev/null && \
- make check AM_CFLAGS=--coverage
+ @(make clean && make AM_CFLAGS=--coverage) > /dev/null
+gcov-run:
+ make check AM_CFLAGS=--coverage
+gcov-process:
@for i in `find . -name '*.gcda'`; do \
gcov -pro `echo $$i | $(SED) 's%\\(.*\\)/%\\1 %'`; \
done
+gcov-report:
@for i in `find . -name '*.gcno'`; do \
if test -f `echo $$i | sed 's%\.gcno%.gcda%'`; then :; else \
echo untested: $$i; \
@find . -name '*.gcno' -o -name '*.gcda' | xargs rm
gcov-clean: gcov-mostlyclean
@find . -name '*.gcov' | xargs rm
-.PHONY: gcov gcov-mostlyclean gcov-clean
+.PHONY: gcov gcov-rebuild gcov-run gcov-process gcov-report \
+ gcov-mostlyclean gcov-clean
##