etc/protocols - sync with NetBSD-8
[minix.git] / external / bsd / file / dist / tests / Makefile.am
blobc2cb5eee68defc1b50d57f0162f8982eebb67ab0
1 check_PROGRAMS = test
2 test_LDADD = $(top_builddir)/src/libmagic.la
3 test_CPPFLAGS = -I$(top_srcdir)/src
5 EXTRA_DIST = \
6 escapevel.result \
7 escapevel.testfile \
8 gedcom.result \
9 gedcom.testfile \
10 issue311docx.result \
11 issue311docx.testfile
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