Makefile.am 511 B

123456789101112131415161718
  1. check_PROGRAMS = test
  2. test_LDADD = $(top_builddir)/src/libmagic.la
  3. test_CPPFLAGS = -I$(top_builddir)/src
  4. EXTRA_DIST = \
  5. escapevel.result \
  6. escapevel.testfile \
  7. gedcom.result \
  8. gedcom.testfile \
  9. hddrawcopytool.result \
  10. hddrawcopytool.testfile \
  11. issue311docx.result \
  12. issue311docx.testfile
  13. T = $(top_srcdir)/tests
  14. check-local:
  15. MAGIC=$(top_builddir)/magic/magic ./test
  16. 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