From f5f56e1a1c4d9e9496fcb9d81131066a964ccd23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:15:43 +0200 Subject: Adding upstream version 2.4.1. Signed-off-by: Daniel Baumann --- src/bin/admin/tests/Makefile.am | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/bin/admin/tests/Makefile.am (limited to 'src/bin/admin/tests/Makefile.am') diff --git a/src/bin/admin/tests/Makefile.am b/src/bin/admin/tests/Makefile.am new file mode 100644 index 0000000..9e0b2c2 --- /dev/null +++ b/src/bin/admin/tests/Makefile.am @@ -0,0 +1,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) -- cgit v1.2.3