summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2017-06-16 19:58:49 +0200
committerTomek Mrugalski <tomasz@isc.org>2017-06-16 19:58:49 +0200
commitd3e86a7cb2f4ef1b6ce9ff2dddf3526ab46080d5 (patch)
tree9df1868457187113d16907a09842d4406d5d937a
parent2b286fe16d4d03635e6763637741153e3293aeb4 (diff)
downloadisc-dhcp-d3e86a7cb2f4ef1b6ce9ff2dddf3526ab46080d5.tar.gz
[rt19430] Makefile updated in tests/
-rw-r--r--tests/Makefile.am10
-rw-r--r--tests/Makefile.am.in9
-rw-r--r--tests/Makefile.in10
3 files changed, 25 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d61f13a7..3c5185af 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -26,7 +26,11 @@ EXTRA_DIST = failover/dhcp-1.cf failover/dhcp-2.cf failover/new-failover \
HOWTO-unit-test \
unit_test_sample.c \
shell/dhclient_tests.sh \
- shell/dhcp_test_lib.sh
+ shell/linux_script_tests.sh \
+ shell/example_tests.sh \
+ shell/dhcp_test_lib.sh \
+ shell/ip-echo.sh \
+ shell/echo.sh
AM_CPPFLAGS = -I..
@@ -41,6 +45,10 @@ SHTESTS =
SHTESTS += shell/dhclient_tests.sh
SHTESTS += shell/linux_script_tests.sh
+# The following is a very simple example set of scripts. Do not uncomment it
+# on production systems, as one test there fails on purpose.
+# SHTESTS += shell/example_tests.sh
+
# test using command-line arguments, so use check-local target instead of TESTS
check-local:
@for shtest in $(SHTESTS) ; do \
diff --git a/tests/Makefile.am.in b/tests/Makefile.am.in
index 7b736989..3e556815 100644
--- a/tests/Makefile.am.in
+++ b/tests/Makefile.am.in
@@ -28,7 +28,9 @@ EXTRA_DIST = failover/dhcp-1.cf failover/dhcp-2.cf failover/new-failover \
shell/dhclient_tests.sh \
shell/linux_script_tests.sh \
shell/example_tests.sh \
- shell/dhcp_test_lib.sh
+ shell/dhcp_test_lib.sh \
+ shell/ip-echo.sh \
+ shell/echo.sh
AM_CPPFLAGS = -I..
@@ -43,10 +45,13 @@ SHTESTS =
SHTESTS += shell/dhclient_tests.sh
SHTESTS += shell/linux_script_tests.sh
+# The following is a very simple example set of scripts. Do not uncomment it
+# on production systems, as one test there fails on purpose.
+# SHTESTS += shell/example_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 ; \
${SHELL} $(abs_builddir)/$$shtest || exit ; \
done
-
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 8c320584..4d8149a1 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -314,7 +314,11 @@ EXTRA_DIST = failover/dhcp-1.cf failover/dhcp-2.cf failover/new-failover \
HOWTO-unit-test \
unit_test_sample.c \
shell/dhclient_tests.sh \
- shell/dhcp_test_lib.sh
+ shell/linux_script_tests.sh \
+ shell/example_tests.sh \
+ shell/dhcp_test_lib.sh \
+ shell/ip-echo.sh \
+ shell/echo.sh
AM_CPPFLAGS = -I..
check_LIBRARIES = libt_api.a
@@ -599,6 +603,10 @@ uninstall-am:
.PRECIOUS: Makefile
+# The following is a very simple example set of scripts. Do not uncomment it
+# on production systems, as one test there fails on purpose.
+# SHTESTS += shell/example_tests.sh
+
# test using command-line arguments, so use check-local target instead of TESTS
check-local:
@for shtest in $(SHTESTS) ; do \