X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=Makefile.am;h=9ca7740367b7dc5a14f550181ca8fb00f34be8b8;hb=360f0c24ea63ed5420365703dd11f72caca0d183;hp=bf7151ec133e981083e0b9300dfe982df88f3e07;hpb=a556f418842dfe03ea305962f0a37abd6d340348;p=mmh diff --git a/Makefile.am b/Makefile.am index bf7151e..9ca7740 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,6 +57,7 @@ TESTS = test/bad-input/test-header \ test/mhshow/test-subpart test/mhstore/test-mhstore \ test/new/test-basic \ test/pick/test-pick test/pick/test-stderr \ + test/refile/test-refile \ test/repl/test-if-str test/scan/test-scan \ test/sequences/test-flist test/sequences/test-mark \ test/whatnow/test-attach-detach test/whatnow/test-cd \ @@ -64,7 +65,7 @@ TESTS = test/bad-input/test-header \ test/cleanup ## The "cleanup" test should always be last. check_SCRIPTS = test/common.sh -check_PROGRAMS = test/getfullname +check_PROGRAMS = test/getfullname test/getfqdn ## ## Stuff that should be cleaned via "make clean" @@ -362,6 +363,9 @@ uip_viamail_SOURCES = uip/viamail.c uip/mhmisc.c uip/mhoutsbr.c uip/sendsbr.c \ test_getfullname_SOURCES = test/getfullname.c test_getfullname_LDADD = +test_getfqdn_SOURCES = test/getfqdn.c +test_getfqdn_LDADD = + ## ## Our rebuild rules for files that aren't built via the normal mechanisms ## @@ -553,23 +557,25 @@ cscope: ## ## Use GNU gcov to find the coverage of the test suite. -## gcov and gcov-clean are not integrated into the other automake -## targets because gcov will be used so infrequently, if at all. +## These targets are not integrated into the other automake +## targets because they will be used so infrequently, if at all. ## gcov: @echo rebuilding with AM_CLFAGS=--coverage . . . @(make clean && make AM_CFLAGS=--coverage) > /dev/null && make check @for i in `find . -name '*.gcda'`; do \ - gcov -o `echo $$i | $(SED) 's%\\(.*\\)/%\\1 %'`; \ + gcov -p -o `echo $$i | $(SED) 's%\\(.*\\)/%\\1 %'`; \ done @for i in `find . -name '*.gcno'`; do \ if ! test -f `echo $$i | sed 's%\.gcno%.gcda%'`; then \ echo untested: $$i; \ fi; \ done -gcov-clean: - @find . -name '*.gcno' -o -name '*.gcda' -o -name '*.gcov' | xargs rm -.PHONY: gcov gcov-clean +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 ##