X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Finput%2Fbogus.ged;fp=t%2Finput%2Fbogus.ged;h=0182fcc15f2ef6047543c37de1a0bd2300e3b9b9;hb=fd9c6b1847662285b5b6ee2a3eb450ce27faba51;hp=0000000000000000000000000000000000000000;hpb=dc8ddccc569803b5cbe00d7fa2fa53d13ada9b60;p=gedcom-parse.git diff --git a/t/input/bogus.ged b/t/input/bogus.ged new file mode 100644 index 0000000..0182fcc --- /dev/null +++ b/t/input/bogus.ged @@ -0,0 +1,37 @@ +## Process this file with automake to produce Makefile.in +# $Id$ +# $Name$ + +SUBDIRS=src input output . + +DMALLOC_LOG = dmalloc.log +TESTS := $(wildcard $(srcdir)/*.test) + +EXTRA_DIST=$(TESTS) + +TESTS_ENVIRONMENT=ICONV_PATH=@ICONV_PATH@ + +all-local: + @rm -f *.out $(DMALLOC_LOG) + +check-% : %.test all-local + @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 +