]> diplodocus.org Git - nmh/blobdiff - Makefile.am
uip/scansbr.c: Use fputs(3) instead of mh_fputs().
[nmh] / Makefile.am
index 4b6e4f5f63ad7e04b351191b5b1045b69a922692..da04273b3c929538af3a7e4cff1d459f1ab4b1af 100644 (file)
@@ -55,9 +55,11 @@ TESTS = test/ali/test-ali test/anno/test-anno \
        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 \
@@ -65,6 +67,7 @@ TESTS = test/ali/test-ali test/anno/test-anno \
        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 \
@@ -72,7 +75,7 @@ TESTS = test/ali/test-ali test/anno/test-anno \
        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 \
@@ -723,13 +726,17 @@ rpm: dist
 ## 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; \
@@ -739,7 +746,8 @@ gcov-mostlyclean:
        @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
 
 
 ##