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
utf8.h is renamed to utf8tools.h
[gedcom-parse.git]
/
t
/
Makefile.am
diff --git
a/t/Makefile.am
b/t/Makefile.am
index 2d88839cf327fa85a5cf9a48ca4ba23498309ba0..c1f50b45b5522a01040d1b282aebb9978fcd4c95 100644
(file)
--- a/
t/Makefile.am
+++ b/
t/Makefile.am
@@
-2,12
+2,21
@@
# $Id$
# $Name$
# $Id$
# $Name$
-SUBDIRS=
input
+SUBDIRS=
src input output .
-TEST_SCRIPT=test_script
TESTS := $(wildcard $(srcdir)/*.test)
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 *.ged
+
+check-% : %.test all
+ @srcdir=$(srcdir); export srcdir; \
+ if $(TESTS_ENVIRONMENT) ./$<; then \
+ echo "Test succeeded"; \
+ else \
+ echo "Test failed"; \
+ fi