1 ## Process this file with automake to produce Makefile.in
7 DMALLOC_LOG = dmalloc.log
8 TESTS := $(wildcard $(srcdir)/*.test)
13 @rm -f testgedcom.out $(DMALLOC_LOG)
15 check-% : %.test all-local
16 @srcdir=$(srcdir); export srcdir; \
17 if $(TESTS_ENVIRONMENT) ./$<; then \
18 echo "Test succeeded"; \
23 check-dmalloc-%: %.test all-local
24 @if [ "@EXTRA_PROGS@" = "" ]; then \
25 echo "Please run './configure --with-dmalloc' first"; \
28 srcdir=$(srcdir); export srcdir; \
29 GOM_DMALLOC_TEST=$(DMALLOC_LOG); export GOM_DMALLOC_TEST; \
30 if $(TESTS_ENVIRONMENT) ./$<; then \
31 echo "Test succeeded"; \