summaryrefslogblamecommitdiffstats
path: root/tests/Makefile.am
blob: 18d6314525ff93168676c0bb542680d711600879 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                  

                     










                                                                                         
# Setup TAP
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
             $(top_srcdir)/build-aux/tap-driver.sh

TESTS = foodtest

EXTRA_DIST = maketests.sh \
	     foodtest.in \
             types.c \
             util.c \
	     parser.c

check_PROGRAMS = foodtest

# foodtest_SOURCES = foodtest.c $(top_builddir)/src/parse.h
nodist_foodtest_SOURCES = foodtest.c
foodtest_CFLAGS = @CHECK_CFLAGS@ -lcheck

CLEANFILES = foodtest.c

foodtest.c: $(top_srcdir)/tests/foodtest.in $(top_srcdir)/tests/*.c
	$(top_srcdir)/tests/maketests.sh -i $(top_srcdir)/tests/foodtest.in -o foodtest.c