tap: add a dummy TAP driver script implemented in shell + awk
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 17 Aug 2011 12:59:19 +0000 (14:59 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 17 Aug 2011 14:36:20 +0000 (16:36 +0200)
commit51f413e99a4254139b40294bc808d614b755a35b
tree038a730ac15ee879d28a4232fbbe0f62d6c4683e
parentfb21ed841b61c61d70ac9c370f53d2cf53231764
tap: add a dummy TAP driver script implemented in shell + awk

The user can also now decide which implementation of the TAP driver
to use in the testsuite by defining the `$am_tap_implementation'
variable to either "perl" or "shell".  Future enhancements will
allow the testsuite to automatically run the test scripts on TAP
support with both the TAP driver implementations, to improve
coverage.

* tests/defs (fetch_tap_driver): Honor the `$am_tap_implementation'
variable to decide which implementation of the TAP driver to fetch.
($am_tap_implementation): Default to "perl".
* tests/tap-common-setup.test: Do not fetch the TAP driver, the
code in tap-setup.sh does that already (and respecting runtime
overriding of `$am_tap_implementation').
* lib/tap-driver: Renamed ...
* lib/tap-driver.pl: ... to this, and ...
($ME): ... adjusted this.
* doc/automake.texi: Adjust to the renaming.
* tests/Makefile.am (TAP_LOG_DRIVER): Likewise.
* tests/tap-doc2.test: Likewise.
* lib/tap-driver.sh: New script, still mostly dummy.
* lib/Makefile.am (dist_script_DATA): Update, and since we are at
it, rewrite it to make it easier to add new entries in the future.
ChangeLog
doc/automake.texi
lib/Makefile.am
lib/Makefile.in
lib/tap-driver.pl [moved from lib/tap-driver with 99% similarity]
lib/tap-driver.sh [new file with mode: 0755]
tests/Makefile.am
tests/Makefile.in
tests/defs
tests/tap-common-setup.test
tests/tap-doc2.test