X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2FMakefile.am;h=469f53cb20e11384c1c8a676d152d9fcaa62737a;hb=a049a06b8f811d38984d2b8053a6ff77d6415c29;hp=fea7cce11680ecd2d671d0dd9c80cddea64ed00a;hpb=3780b0be94bdb523584290763077582147ea57ce;p=gedcom-parse.git diff --git a/t/Makefile.am b/t/Makefile.am index fea7cce..469f53c 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -2,15 +2,16 @@ # $Id$ # $Name$ -SUBDIRS=src input . +SUBDIRS=src input output . -DMALLOC_LOG = dmalloc.log TESTS := $(wildcard $(srcdir)/*.test) EXTRA_DIST=$(TESTS) +TESTS_ENVIRONMENT=ICONV_PATH=@ICONV_PATH@ + all-local: - @rm -f testgedcom.out $(DMALLOC_LOG) + @rm -f *.out check-% : %.test all-local @srcdir=$(srcdir); export srcdir; \ @@ -19,17 +20,3 @@ check-% : %.test all-local 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 -