summaryrefslogtreecommitdiffstats
path: root/src/bin/shell/tests/Makefile.am
blob: c1751ecf3d6081753cd5f6d5b570e5ac4f4f99f9 (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
SUBDIRS = .

# Needed by shell_unittest.py to access python modules like kea_conn.
TESTS_ENVIRONMENT = PYTHONPATH="$(abs_top_srcdir)/src/bin/shell"

# Python tests
PYTESTS = shell_unittest.py

# Shell tests
SHTESTS  =
SHTESTS += basic_auth_tests.sh
SHTESTS += shell_process_tests.sh
if CA_TLS_TEST
SHTESTS += tls_ca_process_tests.sh
endif

# Run tests on "make check".
check_SCRIPTS = $(PYTESTS) $(SHTESTS)
TESTS = $(PYTESTS) $(SHTESTS)

# As with every file generated by ./configure, clean them up when running
# "make distclean", but not on "make clean".
DISTCLEANFILES = $(PYTESTS) $(SHTESTS)

# Don't install tests.
noinst_SCRIPTS = $(PYTESTS) $(SHTESTS)