From 477abec3777589888ed4a4b4f78d1c13f91cdfcb Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 22 Aug 2011 15:43:57 +0200 Subject: [PATCH] testsuite: use the new awk+shell TAP driver in our own testsuite * tests/Makefile.am (TAP_LOG_DRIVER): Redefine to use the new awk+shell tap driver, which should be complete enough for use in a "controlled" production environment. --- ChangeLog | 7 +++++++ tests/Makefile.am | 2 +- tests/Makefile.in | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index db6a46b19..7cfe648eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-08-22 Stefano Lattarini + + testsuite: use the new awk+shell TAP driver in our own testsuite + * tests/Makefile.am (TAP_LOG_DRIVER): Redefine to use the new + awk+shell tap driver, which should be complete enough for use in + a "controlled" production environment. + 2011-08-22 Stefano Lattarini tap/awk: handle non-zero exit status from the test command diff --git a/tests/Makefile.am b/tests/Makefile.am index 1dbdcb24e..4c8f3423f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -17,7 +17,7 @@ # along with this program. If not, see . TEST_EXTENSIONS = .test .tap -TAP_LOG_DRIVER = $(PERL) $(top_srcdir)/lib/tap-driver.pl +TAP_LOG_DRIVER = AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/lib/tap-driver.sh TAP_LOG_DRIVER_FLAGS = --merge MAINTAINERCLEANFILES = diff --git a/tests/Makefile.in b/tests/Makefile.in index 631bd8cfc..d9fafa794 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -279,7 +279,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ TEST_EXTENSIONS = .test .tap -TAP_LOG_DRIVER = $(PERL) $(top_srcdir)/lib/tap-driver.pl +TAP_LOG_DRIVER = AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/lib/tap-driver.sh TAP_LOG_DRIVER_FLAGS = --merge MAINTAINERCLEANFILES = $(parallel_tests) $(instspc_tests) EXTRA_DIST = ChangeLog-old gen-parallel-tests instspc-tests.sh \ -- 2.34.1