summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: c83026a8f35ee48df2041235c327a376faf6c204 (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
# 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=fastcgi-10.conf \
      fastcgi-auth.conf \
      fastcgi-responder.conf \
      fastcgi-13.conf \
      bug-06.conf \
      bug-12.conf \
      core-var-include.t \
      var-include.conf \
      var-include-sub.conf \
      condition.conf \
      core-condition.t \
      core-request.t \
      core-response.t \
      core-keepalive.t \
      core.t \
      mod-access.t \
      mod-auth.t \
      mod-cgi.t \
      mod-compress.t \
      mod-fastcgi.t \
      mod-redirect.t \
      mod-userdir.t \
      mod-rewrite.t \
      request.t \
      mod-ssi.t \
      LightyTest.pm \
      mod-setenv.t \
      lowercase.t \
      lowercase.conf \
      cachable.t


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

EXTRA_DIST=wrapper.sh lighttpd.conf \
	lighttpd.user \
	lighttpd.htpasswd \
	$(CONFS) \
	$(TESTS)

SUBDIRS=docroot

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

clean-local:
	rm -f *.out