From 271343d8ef023b9891d9b06bce5e62268f8b50e5 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 19 Aug 2011 10:14:22 +0200 Subject: [PATCH] testsuite: fix some redundant autotools calls in tests on TAP * tests/tap-deps.test: Do not call autotools and configure; there is no need to, since this script sources `tap-setup.sh'. * tests/tap-empty-diagnostic.test: Likewise. * tests/tap-escape-directive.test: Likewise. * tests/tap-fancy2.test: Likewise. * tests/tap-no-spurious.test: Likewise. * tests/tap-out-of-order.test: Likewise. --- ChangeLog | 11 +++++++++++ tests/tap-deps.test | 6 ------ tests/tap-empty-diagnostic.test | 6 ------ tests/tap-escape-directive.test | 6 ------ tests/tap-fancy2.test | 6 ------ tests/tap-no-spurious.test | 6 ------ tests/tap-out-of-order.test | 7 ------- 7 files changed, 11 insertions(+), 37 deletions(-) diff --git a/ChangeLog b/ChangeLog index bbcedb670..f86d1cdfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2011-08-19 Stefano Lattarini + + testsuite: fix some redundant autotools calls in tests on TAP + * tests/tap-deps.test: Do not call autotools and configure; there + is no need to, since this script sources `tap-setup.sh'. + * tests/tap-empty-diagnostic.test: Likewise. + * tests/tap-escape-directive.test: Likewise. + * tests/tap-fancy2.test: Likewise. + * tests/tap-no-spurious.test: Likewise. + * tests/tap-out-of-order.test: Likewise. + 2011-08-17 Stefano Lattarini * THANKS (Daniel Richard G.): Update e-mail address. diff --git a/tests/tap-deps.test b/tests/tap-deps.test index b86d2356d..2f9459d18 100755 --- a/tests/tap-deps.test +++ b/tests/tap-deps.test @@ -61,12 +61,6 @@ END chmod a+x *.test -$ACLOCAL -$AUTOCONF -$AUTOMAKE - -./configure - $MAKE check >stdout || { cat stdout; Exit 1; } cat stdout diff --git a/tests/tap-empty-diagnostic.test b/tests/tap-empty-diagnostic.test index 2dcc880e7..6bcb8ce02 100755 --- a/tests/tap-empty-diagnostic.test +++ b/tests/tap-empty-diagnostic.test @@ -31,12 +31,6 @@ ok 1$ # ${tab} $tab${tab}$ END -$ACLOCAL -$AUTOCONF -$AUTOMAKE - -./configure - $MAKE check >stdout || { cat stdout; Exit 1; } cat stdout diff --git a/tests/tap-escape-directive.test b/tests/tap-escape-directive.test index 2f8cb7349..dc031971a 100755 --- a/tests/tap-escape-directive.test +++ b/tests/tap-escape-directive.test @@ -28,12 +28,6 @@ ok \# TODO ok \# SKIP END -$ACLOCAL -$AUTOCONF -$AUTOMAKE - -./configure - $MAKE check >stdout || { cat stdout; Exit 1; } cat stdout diff --git a/tests/tap-fancy2.test b/tests/tap-fancy2.test index ddd64eabc..36e0f2907 100755 --- a/tests/tap-fancy2.test +++ b/tests/tap-fancy2.test @@ -126,12 +126,6 @@ total=`expr $total + 3` # And add the test plan! echo 1..$total >> all.test -$ACLOCAL -$AUTOCONF -$AUTOMAKE - -./configure - $MAKE check >stdout && { cat stdout; Exit 1; } cat stdout diff --git a/tests/tap-no-spurious.test b/tests/tap-no-spurious.test index 91b115fec..11e2d1a79 100755 --- a/tests/tap-no-spurious.test +++ b/tests/tap-no-spurious.test @@ -88,12 +88,6 @@ Bail out # Bail out! END -$ACLOCAL -$AUTOCONF -$AUTOMAKE - -./configure - $MAKE check >stdout || { cat stdout; Exit 1; } cat stdout diff --git a/tests/tap-out-of-order.test b/tests/tap-out-of-order.test index f8f69c79f..9bf4685aa 100755 --- a/tests/tap-out-of-order.test +++ b/tests/tap-out-of-order.test @@ -58,13 +58,6 @@ ok 16 ok 17 END -$ACLOCAL -$AUTOCONF -$AUTOMAKE - -./configure - - TESTS='a.test b.test c.test d.test' $MAKE -e check >stdout \ && { cat stdout; Exit 1; } cat stdout -- 2.47.2