summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: fc04b4780cbfd886c2784d7d751837e8e8c2f951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

UNIT_TESTS =  \
	unit-test-storage.c

INCLUDES=		  \
	-I$(top_srcdir)   \
	-I$(top_builddir) \
	$(APR_CFLAGS)     \
	$(OPKELE_CFLAGS)

noinst_PROGRAMS= \
	run-tests

run-tests.c: $(UNIT_TESTS) prep-tests.sh Makefile.am
	sh prep-tests.sh -b run-tests $(UNIT_TESTS)

run_tests_SOURCES = \
	run-tests.c \
	run-tests.h \
	$(UNIT_TESTS)

run_tests_LDADD =     \
	$(APR_LIBS)

EXTRA_DIST = \
	prep-tests.sh \
	cu-test \
	test-helpers.c \
	test-helpers.h

# ------------------------------------------------------------------------------
# Run the tests

run: $(noinst_PROGRAMS)
	./run-tests