diff options
author | Andrei Pavel <andrei@isc.org> | 2021-06-04 11:19:42 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2021-07-01 09:15:53 +0200 |
commit | 960c74a45f93da42e6a615133d7f3e4b5d989cec (patch) | |
tree | 732273b2cac287711e92a9d405a28754dca0b13f /src/bin/netconf | |
parent | [#1953] hammer.py: Continent/Country/Zone TZ (diff) | |
download | kea-960c74a45f93da42e6a615133d7f3e4b5d989cec.tar.xz kea-960c74a45f93da42e6a615133d7f3e4b5d989cec.zip |
[#1642] make gtests, shtests, pytests sequential
Diffstat (limited to 'src/bin/netconf')
-rw-r--r-- | src/bin/netconf/tests/shtests/Makefile.am | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/bin/netconf/tests/shtests/Makefile.am b/src/bin/netconf/tests/shtests/Makefile.am index 4d68ba40e5..d05472c9fa 100644 --- a/src/bin/netconf/tests/shtests/Makefile.am +++ b/src/bin/netconf/tests/shtests/Makefile.am @@ -1,18 +1,15 @@ -SHTESTS = netconf_tests.sh - -noinst_SCRIPTS = netconf_tests.sh +SUBDIRS = . -EXTRA_DIST = netconf_tests.sh.in +# Shell tests +SHTESTS = netconf_tests.sh -# test using command-line arguments, so use check-local target instead of TESTS -check-local: - for shtest in $(SHTESTS) ; do \ - echo Running test: $$shtest ; \ - export KEA_LOCKFILE_DIR=$(abs_top_builddir); \ - export KEA_PIDFILE_DIR=$(abs_top_builddir); \ - ${SHELL} $(abs_builddir)/$$shtest || exit ; \ - done +# Run shell tests on "make check". +check_SCRIPTS = $(SHTESTS) +TESTS = $(SHTESTS) -CLEANFILES = *.json *.log +# As with every file generated by ./configure, clean them up when running +# "make distclean", but not on "make clean". +DISTCLEANFILES = $(SHTESTS) -DISTCLEANFILES = netconf_tests.sh +# Don't install shell tests. +noinst_SCRIPTS = $(SHTESTS) |