]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/file/tests/Makefile.am
Update releng/12.1 to RC1 as part of the 12.1-RELEASE cycle.
[FreeBSD/FreeBSD.git] / contrib / file / 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 escapevel.result \
7 escapevel.testfile \
8 gedcom.result \
9 gedcom.testfile \
10 hddrawcopytool.result \
11 hddrawcopytool.testfile \
12 issue311docx.result \
13 issue311docx.testfile \
14 JW07022A.mp3.result \
15 JW07022A.mp3.testfile
16
17 T = $(top_srcdir)/tests
18 check-local:
19         MAGIC=$(top_builddir)/magic/magic ./test
20         set -e; for i in $T/*.testfile; do echo Running test: $$i; TZ=UTC MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done