summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 9f866093a6a3ab239c7c47ccb1d70f809084266c (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# lighttpd.conf and conformance.pl expect this directory
testdir=$(srcdir)/tmp/lighttpd/

check_PROGRAMS=fcgi-responder scgi-responder

fcgi_responder_SOURCES=fcgi-responder.c
fcgi_responder_LDADD=$(WS2_32_LIB)
scgi_responder_SOURCES=scgi-responder.c
scgi_responder_LDADD=$(WS2_32_LIB)

TESTS=\
	prepare.sh \
	run-tests.pl \
	cleanup.sh

CONFS=\
	condition.conf \
	core-condition.t \
	fastcgi-responder.conf \
	LightyTest.pm \
	mod-fastcgi.t \
	mod-scgi.t \
	proxy.conf \
	request.t \
	scgi-responder.conf \
	var-include-sub.conf

TESTS_ENVIRONMENT=$(srcdir)/wrapper.sh $(srcdir) $(top_builddir)

EXTRA_DIST=\
	$(CONFS) \
	$(TESTS) \
	CMakeLists.txt \
	meson.build \
	lighttpd.conf \
	lighttpd.htpasswd \
	lighttpd.user \
	SConscript \
	wrapper.sh

SUBDIRS=docroot

leak-check:
	for i in $(TESTS); do \
		$(srcdir)/$$i; \
		echo $$?; \
	done

clean-local:
	rm -f *.out