SUBDIRS=src input output .
-DMALLOC_LOG = dmalloc.log
-TESTS := $(wildcard $(srcdir)/*.test)
+TESTS = ./allged_gom.test \
+ ./allged.test \
+ ./anselconv.test \
+ ./ansel_gom.test \
+ ./ansel.test \
+ ./bogus.test \
+ ./compat-easytree-2.test \
+ ./compat-easytree.test \
+ ./compat-famorig.test \
+ ./compat-ftree.test \
+ ./compat-lifelines.test \
+ ./compat-paf2.test \
+ ./compat-paf4.test \
+ ./compat-paf5.test \
+ ./dates_gom.test \
+ ./dates.test \
+ ./encoding_error.test \
+ ./file_not_exist.test \
+ ./intl.test \
+ ./line_nr.test \
+ ./minimal.test \
+ ./path1.test \
+ ./path2.test \
+ ./uhlbomcl_gom.test \
+ ./uhlbomcl.test \
+ ./uhlcl_gom.test \
+ ./uhlcl.test \
+ ./ulhbomcl_gom.test \
+ ./ulhbomcl.test \
+ ./ulhc_gom.test \
+ ./ulhcl_gom.test \
+ ./ulhcl.test \
+ ./ulhc.test \
+ ./ulhlc_gom.test \
+ ./ulhlc.test \
+ ./ulhl_gom.test \
+ ./ulhl.test \
+ ./unknown_ignore_errors.test \
+ ./unknown.test \
+ ./update_basic.test \
+ ./update_gom.test \
+ ./write_gom_allged.test \
+ ./write_gom_ansel.test \
+ ./write_gom_ascii.test \
+ ./write_gom_compat-easytree-2.test \
+ ./write_gom_compat-easytree.test \
+ ./write_gom_compat-famorig.test \
+ ./write_gom_compat-ftree.test \
+ ./write_gom_compat-lifelines.test \
+ ./write_gom_compat-paf2.test \
+ ./write_gom_compat-paf4.test \
+ ./write_gom_compat-paf5.test \
+ ./write_gom_dates.test \
+ ./write_gom_uhlbomcl.test \
+ ./write_gom_uhlcl.test \
+ ./write_gom_ulhbomcl.test \
+ ./write_gom_ulhcl.test \
+ ./write_gom_ulhc.test \
+ ./write_gom_ulhlc.test \
+ ./write_gom_ulhl.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
-