]> git.ipfire.org Git - thirdparty/automake.git/commit
tap: non-zero exit status after "Bail out!" should not be reported
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 12 Aug 2011 08:49:05 +0000 (10:49 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 12 Aug 2011 09:40:33 +0000 (11:40 +0200)
commitd35cee2a6c394e13b81ebef29fe53eea4e2b533d
treedc2513f25edf84c4e4dd29ce20ffbf68ddde09c1
parentb2d6b49c50859a4b0773f6e20756e2ece20f092c
tap: non-zero exit status after "Bail out!" should not be reported

This new behaviour is more consistent with that of the `prove'
utility.  Also, experience with the use of TAP in the Automake's
own test suite has shown that reporting non-zero exit status from
a script after it has issued a "Bail out!" directive is mostly
redundant, more introducing noise rather than conveying useful
information.

* lib/tap-driver (finish): Inline the part of it that was getting
the script exit status ...
(main): ... in here.
* tests/tap-bailout-badexit.test: New test.
* tests/Makefile.am (tap_with_common_setup_tests): Update.
ChangeLog
lib/tap-driver
tests/Makefile.am
tests/Makefile.in
tests/tap-bailout-badexit.test [new file with mode: 0755]