summaryrefslogtreecommitdiffstats
path: root/src/bin/admin/tests/Makefile.am
blob: 9e0b2c2c4fb8960d7e3cc3de1f5e63f8fa9abd4e (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
SUBDIRS = data .

# Add to the tarball:
EXTRA_DIST  =
EXTRA_DIST += dhcpdb_create_1.0.mysql
EXTRA_DIST += dhcpdb_create_1.0.pgsql

# Shell tests
SHTESTS  =
SHTESTS += admin_tests.sh
SHTESTS += memfile_tests.sh
if HAVE_MYSQL
SHTESTS += mysql_tests.sh
endif
if HAVE_PGSQL
SHTESTS += pgsql_tests.sh
endif

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

if HAVE_GTEST

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

endif

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