+
+test_lohi: lexer_lohi
+ cat t/ulhcl.ged | ./lexer_lohi
+
+# Test of parser
+
+test: all
+ @export GCONV_PATH=./ansel; \
+ export LD_LIBRARY_PATH=.libs; \
+ for file in t/*.ged; do \
+ echo "=== testing $$file"; \
+ ./gedcom_parse -2 $$file; \
+ done
+
+testmem: DMALLOC_CFLAGS=-DMALLOC
+testmem: DMALLOC_LOADLIBES=-ldmalloc
+testmem: clean test