diff options
-rw-r--r-- | tests/Makefile.am | 10 | ||||
-rw-r--r-- | tests/Makefile.am.in | 9 | ||||
-rw-r--r-- | tests/Makefile.in | 10 |
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 \ |