# $Id$
# $Name$
-SUBDIRS=input
-INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" -I $(srcdir)/../include
-CFLAGS = -g -O2
+SUBDIRS=src input output .
-noinst_PROGRAMS = testgedcom pathtest
+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
-testgedcom_SOURCES = standalone.c utf8-locale.c
-noinst_HEADERS = utf8-locale.h
-testgedcom_LDFLAGS = -L ../gedcom/.libs -lgedcom
-testgedcom_LDADD = @INTLLIBS@
+EXTRA_DIST=$(TESTS) set_testenv
-pathtest_SOURCES = pathtest.c
-pathtest_LDFLAGS = -L ../gedcom/.libs -lgedcom
-
-TEST_SCRIPT=test_script
-TESTS := $(wildcard $(srcdir)/*.test)
-
-EXTRA_DIST=$(TEST_SCRIPT) $(TESTS)
+TESTS_ENVIRONMENT=ICONV_PATH=@ICONV_PATH@
all-local:
- rm -f ../testgedcom.out
+ @rm -f *.out *.ged
-check-% : %.test
+check-% : %.test all
@srcdir=$(srcdir); export srcdir; \
if $(TESTS_ENVIRONMENT) ./$<; then \
echo "Test succeeded"; \