Upload Tizen:Base source
[external/file.git] / tests / Makefile.am
1 check_PROGRAMS = test
2 test_LDADD = $(top_builddir)/src/libmagic.la
3 test_CPPFLAGS = -I$(top_builddir)/src
4
5 EXTRA_DIST = \
6         gedcom.magic gedcom.testfile gedcom.result
7
8 T = $(top_srcdir)/tests
9 check-local:
10         MAGIC=$(top_builddir)/magic/magic ./test
11         for i in $T/*.testfile; do MAGIC=$T/$${i%%.testfile}.magic $(top_builddir)/tests/test $T/$$i $T/$${i%%.testfile}.result; done