X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;ds=sidebyside;f=t%2FMakefile.am;h=d122e46094e5dc39140decfbc23c581eee44e690;hb=c07434e2fd111d986fde2226828084ac44743dd6;hp=9ed85d9e6bc562d33b7b3b7778434caae05fe55e;hpb=44733edab79a63ea04c25dca3ae0a64cd9bb46fb;p=gedcom-parse.git diff --git a/t/Makefile.am b/t/Makefile.am index 9ed85d9..d122e46 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -2,29 +2,77 @@ # $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 ./testgedcom.out + @rm -f *.out *.ged -check-% : %.test +check-% : %.test all @srcdir=$(srcdir); export srcdir; \ if $(TESTS_ENVIRONMENT) ./$<; then \ echo "Test succeeded"; \