X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2FMakefile.am;h=6e2fb3e1bb0bb1165b17abe5f23511d87cdf3f09;hb=681b182b6f003e91a47a098b7e8ac632315f61a6;hp=071b1ea87dbaceab46584c9f2e60eaa1b8380747;hpb=aebc12c8ea1375cfb6f3366e8b6e1d792ec83c04;p=gedcom-parse.git diff --git a/t/Makefile.am b/t/Makefile.am index 071b1ea..6e2fb3e 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -2,36 +2,21 @@ # $Id$ # $Name$ -SUBDIRS=src input . +SUBDIRS=src input output . -DMALLOC_LOG = dmalloc.log TESTS := $(wildcard $(srcdir)/*.test) -EXTRA_DIST=$(TESTS) +EXTRA_DIST=$(TESTS) set_testenv TESTS_ENVIRONMENT=ICONV_PATH=@ICONV_PATH@ all-local: - @rm -f *.out $(DMALLOC_LOG) + @rm -f *.out *.ged -check-% : %.test all-local +check-% : %.test all @srcdir=$(srcdir); export srcdir; \ if $(TESTS_ENVIRONMENT) ./$<; then \ echo "Test succeeded"; \ else \ echo "Test failed"; \ fi - -check-dmalloc-%: %.test all-local - @if [ "@EXTRA_PROGS@" = "" ]; then \ - echo "Please run './configure --with-dmalloc' first"; \ - exit; \ - fi; \ - srcdir=$(srcdir); export srcdir; \ - GOM_DMALLOC_TEST=$(DMALLOC_LOG); export GOM_DMALLOC_TEST; \ - if $(TESTS_ENVIRONMENT) ./$<; then \ - echo "Test succeeded"; \ - else \ - echo "Test failed"; \ - fi -