]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
test defs: fix bug in TAP version of `skip_all_'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 8 Aug 2011 13:23:11 +0000 (15:23 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 8 Aug 2011 13:23:11 +0000 (15:23 +0200)
* tests/tap-functions (skip_all_): Set `$have_tap_plan_' to "yes"
when called, so that the exit trap won't write another TAP plan.

ChangeLog
tests/tap-functions.sh

index 55179a0e2a487e7a497fa27623c3e33ff9e6053b..ad1d3f5b450a14a73cc405f2d70df43dd5ae1e7a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       test defs: fix bug in TAP version of `skip_all_'
+       * tests/tap-functions (skip_all_): Set `$have_tap_plan_' to "yes"
+       when called, so that the exit trap won't write another TAP plan.
+
 2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        test defs: fix skip directives to work also with TAP-based tests
index d685c182a556f373c7a5239cc1734f77e267f009..5cd6c1a9e6555043318bc2ec0f4608400971235e 100644 (file)
@@ -200,6 +200,7 @@ xpass_ ()
 skip_all_ ()
 {
   echo "1..0 # SKIP" ${1+"$@"}
+  have_tap_plan_=yes
   Exit 0
 }