Makefile.am 444 B

12345678910111213141516
  1. check_PROGRAMS = test
  2. test_LDADD = $(top_builddir)/src/libmagic.la
  3. test_CPPFLAGS = -I$(top_srcdir)/src
  4. EXTRA_DIST = \
  5. escapevel.result \
  6. escapevel.testfile \
  7. gedcom.result \
  8. gedcom.testfile \
  9. issue311docx.result \
  10. issue311docx.testfile
  11. T = $(top_srcdir)/tests
  12. check-local:
  13. MAGIC=$(top_builddir)/magic/magic ./test
  14. for i in $T/*.testfile; do echo Running test: $$i; MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done