summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 0665c7b4b4fb0b5b370a87c637a5fbbeb51fd7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
check_PROGRAMS = test
test_LDADD = $(top_builddir)/src/libmagic.la
test_CPPFLAGS = -I$(top_srcdir)/src

EXTRA_DIST = \
	gedcom.magic gedcom.testfile gedcom.result

T = $(top_srcdir)/tests
check-local:
	MAGIC=$(top_builddir)/magic/magic ./test
	for i in $T/*.testfile; do MAGIC=$T/$${i%%.testfile}.magic $(top_builddir)/tests/test $T/$$i $T/$${i%%.testfile}.result; done