X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2FMakefile.am;h=c1f50b45b5522a01040d1b282aebb9978fcd4c95;hb=2c0db1cd127e0d844f7d36ba909dfb38bdd0aabd;hp=0182fcc15f2ef6047543c37de1a0bd2300e3b9b9;hpb=faa23a514144b4a739b6fda57881bb525374ded5;p=gedcom-parse.git diff --git a/t/Makefile.am b/t/Makefile.am index 0182fcc..c1f50b4 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -4,34 +4,19 @@ SUBDIRS=src input output . -DMALLOC_LOG = dmalloc.log TESTS := $(wildcard $(srcdir)/*.test) -EXTRA_DIST=$(TESTS) +EXTRA_DIST=$(TESTS) test_valgrind untest_valgrind 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 -