summaryrefslogblamecommitdiffstats
path: root/tests/Makefile.am
blob: f5392daf0015e0cbe363c50a48190191ee767c3b (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