summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: cf9aa9aa9f33a851aa72d622318c865496692268 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# lighttpd.conf and conformance.pl expect this directory
testdir=$(srcdir)/tmp/lighttpd/

if CHECK_WITH_FASTCGI
check_PROGRAMS=fcgi-auth fcgi-responder

fcgi_auth_SOURCES=fcgi-auth.c
fcgi_auth_LDADD=-lfcgi

fcgi_responder_SOURCES=fcgi-responder.c
fcgi_responder_LDADD=-lfcgi
endif

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

CONFS=\
	404-handler.conf \
	bug-06.conf \
	bug-12.conf \
	cachable.t \
	condition.conf \
	core-404-handler.t \
	core-condition.t \
	core-keepalive.t \
	core-request.t \
	core-response.t \
	core-var-include.t \
	core.t \
	fastcgi-10.conf \
	fastcgi-13.conf \
	fastcgi-auth.conf \
	fastcgi-responder.conf \
	LightyTest.pm \
	lowercase.conf \
	lowercase.t \
	mod-access.t \
	mod-auth.t \
	mod-cgi.t \
	mod-compress.conf \
	mod-compress.t \
	mod-extforward.conf \
	mod-extforward.t \
	mod-fastcgi.t \
	mod-proxy.t \
	mod-redirect.t \
	mod-rewrite.t \
	mod-secdownload.t \
	mod-setenv.t \
	mod-simplevhost.conf \
	mod-simplevhost.t \
	mod-ssi.t \
	mod-userdir.t \
	proxy.conf \
	request.t \
	symlink.t \
	var-include-sub.conf \
	var-include.conf

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

EXTRA_DIST=\
	$(CONFS) \
	$(TESTS) \
	CMakeLists.txt \
	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