2012-03-31 20:24:03 +02:00
|
|
|
check_PROGRAMS = test
|
|
|
|
test_LDADD = $(top_builddir)/src/libmagic.la
|
2012-05-02 13:23:57 +02:00
|
|
|
test_CPPFLAGS = -I$(top_srcdir)/src
|
2012-03-31 20:24:03 +02:00
|
|
|
|
|
|
|
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
|