summaryrefslogblamecommitdiffstats
path: root/tests/Makefile.am
blob: dea94b0dd050037666feb81cae8977ef39792fdc (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_LDADD = -lcheck -lrt -lm -lsubunit
foodtest_CFLAGS = @CHECK_CFLAGS@

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