]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/file/tests/Makefile.am
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / file / tests / Makefile.am
1 check_PROGRAMS = test
2 test_LDADD = $(top_builddir)/src/libmagic.la
3 test_CPPFLAGS = -I$(top_srcdir)/src
4
5 EXTRA_DIST = \
6 escapevel.result \
7 escapevel.testfile \
8 gedcom.result \
9 gedcom.testfile \
10 issue311docx.result \
11 issue311docx.testfile
12
13 T = $(top_srcdir)/tests
14 check-local:
15         MAGIC=$(top_builddir)/magic/magic ./test
16         for i in $T/*.testfile; do echo Running test: $$i; MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done