testsuite: yet more use of TAP, and related extensions
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 4 Aug 2011 09:08:24 +0000 (11:08 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 4 Aug 2011 10:30:10 +0000 (12:30 +0200)
commit9b967c28de8fe497c043d8f7eb9c5ea871f2e5f2
treeb2f8cac457a326735898b0def781b1dd377f82ea
parent0bc7d68a0b1061e9907b420e61fb043eff8850f7
testsuite: yet more use of TAP, and related extensions

* tests/defs (show_): New function, display the contents of one or
more files on stdout, with bells & whistles (both for cosmetic and
practical reasons, the latter aimed at avoiding spurious TAP
diagnostic).
(AUTOMAKE_run): Extend and adapt to make it compatible with TAP
based tests.  Since we are at it, make its implementation more
namespace-safe, and improve its command-line interface.
(AUTOMAKE_fails): Adapt to the new command-line interface of
`AUTOMAKE_run'.
* tests/add-missing.test: Renamed ...
* tests/add-missing.tap: ... to this, and converted to the use
of the TAP protocol, and of the new `show_' function.
* tests/automake.test: Renamed ...
* tests/automake-cmdline.tap: ... to this, and converted to the
use of the TAP protocol.
* tests/getopt.test:  Adapt to the new command-line interface
of `AUTOMAKE_run'.
* tests/cond44.test: Likewise.
* tests/cond45.test: Likewise.
* tests/configure.test: Likewise.
* tests/license2.test: Likewise.
* tests/parallel-am.test: Likewise.
* tests/parallel-am3.test: Likewise.
* tests/tags2.test: Likewise.
* tests/werror3.test: Likewise.
* tests/werror4.test: Likewise.
* tests/amopts-variable-expansion.test: Likewise.
* tests/warnings-win-over-strictness.test: Likewise.
* tests/Makefile.am (TESTS): Update.
(TAP_LOG_DRIVER_FLAGS): Add `--merge', so that TAP diagnostic is
reported in the testsuite progress output.
19 files changed:
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/add-missing.tap [moved from tests/add-missing.test with 64% similarity]
tests/amopts-variable-expansion.test
tests/automake-cmdline.tap [new file with mode: 0755]
tests/automake.test [deleted file]
tests/cond44.test
tests/cond45.test
tests/configure.test
tests/defs
tests/getopt.test
tests/license2.test
tests/parallel-am.test
tests/parallel-am3.test
tests/tags2.test
tests/warnings-win-over-strictness.test
tests/werror3.test
tests/werror4.test