X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2FMakefile.am;h=aa8f237ea38dc4450822a6f3f472f2c7a3c5e02a;hb=e4ccfb6a6f26881db3874841a5aa2c2201a9c4e0;hp=626019e8cfbd36496694cf4f857474702dd57b7f;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/t/Makefile.am b/t/Makefile.am index 626019e..aa8f237 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -22,14 +22,15 @@ gomtest_LDFLAGS = -L ../gedcom/.libs -L ../gom/.libs -lgedcom_gom -lgedcom gomtest_static_SOURCES = gomtest.c gomtest_static_LDADD = ../gedcom/.libs/libgedcom.a ../gom/.libs/libgedcom_gom.a +DMALLOC_LOG = dmalloc.log -TEST_SCRIPT=test_script test_gom test_gom_static +TEST_SCRIPT=test_script test_gom TESTS := $(wildcard $(srcdir)/*.test) EXTRA_DIST=$(TEST_SCRIPT) $(TESTS) all-local: - @rm -f testgedcom.out dmalloc.log + @rm -f testgedcom.out $(DMALLOC_LOG) check-% : %.test all-local @srcdir=$(srcdir); export srcdir; \ @@ -45,7 +46,7 @@ check-dmalloc-%: %.test all-local exit; \ fi; \ srcdir=$(srcdir); export srcdir; \ - GOM_DMALLOC_TEST=1; export GOM_DMALLOC_TEST; \ + GOM_DMALLOC_TEST=$(DMALLOC_LOG); export GOM_DMALLOC_TEST; \ if $(TESTS_ENVIRONMENT) ./$<; then \ echo "Test succeeded"; \ else \