dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extra arguments for the length of non-UTF-8 strings.
[gedcom-parse.git]
/
t
/
Makefile.am
diff --git
a/t/Makefile.am
b/t/Makefile.am
index 6a58363c0eb7356e595ae4430d28d1f7e66da4ad..bb6331421119d0b22b572e6c21e632849ccce779 100644
(file)
--- a/
t/Makefile.am
+++ b/
t/Makefile.am
@@
-2,20
+2,21
@@
# $Id$
# $Name$
# $Id$
# $Name$
-TEST_SCRIPT=test_script
+SUBDIRS=src input output .
-TESTS_ENVIRONMENT=$(srcdir)/$(TEST_SCRIPT)
-TESTS = allged.ged \
- ansel.ged \
- uhlbomcl.ged \
- uhlcl.ged \
- ulhbomcl.ged \
- ulhc.ged \
- ulhcl.ged \
- ulhl.ged \
- ulhlc.ged
+TESTS := $(wildcard $(srcdir)/*.test)
-EXTRA_DIST=$(TEST_SCRIPT) $(TESTS)
+EXTRA_DIST=$(TESTS) test_valgrind untest_valgrind
+
+TESTS_ENVIRONMENT=ICONV_PATH=@ICONV_PATH@
all-local:
all-local:
- rm -f ../testgedcom.out
+ @rm -f *.out
+
+check-% : %.test all
+ @srcdir=$(srcdir); export srcdir; \
+ if $(TESTS_ENVIRONMENT) ./$<; then \
+ echo "Test succeeded"; \
+ else \
+ echo "Test failed"; \
+ fi