aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 89acd79e783f2f948e2aa9d69f5f03cf1908cdff (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
EXTRA_DIST = ftpserver.pl httpserver.pl httpsserver.pl runtests.pl \
	     ftpsserver.pl getpart.pm FILEFORMAT README \
	     stunnel.pem memanalyze.pl

SUBDIRS = data server libtest

PERLFLAGS = -I$(srcdir)

CLEANFILES = .http.pid .https.pid .ftp.pid .ftps.pid

curl:
	@cd $(top_builddir) && $(MAKE)

test: sws
	@cd data && exec $(MAKE) test
	srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl

quiet-test: sws
	@cd data && exec $(MAKE) test
	srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl -s -a

full-test: sws
	@cd data && exec $(MAKE) test
	srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl -a

sws:
	@cd server && $(MAKE)