tap: real (but still incomplete) awk implementation of TAP driver
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 21 Aug 2011 16:15:35 +0000 (18:15 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 21 Aug 2011 17:10:30 +0000 (19:10 +0200)
commitfdfe9a1154b9945c71ac92b5c16ffed21e89f2b4
tree4c2cab9c1521fac13dd8de7f81c495568245c2e1
parent82bb64f1d21f6993341a725e75aa5aa00c3e00a1
tap: real (but still incomplete) awk implementation of TAP driver

* lib/tap-driver.sh : Add an incomplete, but mostly working,
implementation of a TAP parser and driver in awk.  It doesn't yet
support colorized output, fetching of exit status from test
programs, nor a way to escape TAP directives in TAP result lines,
but passes all the tests of TAP support in the automake testsuite,
apart from the following ones:
  - tap-color.test
  - tap-escape-directive.test
  - tap-exit.test
  - tap-missing-plan-and-bad-exit.test
  - tap-passthrough-exit.test
  - tap-planskip-badexit.test
  - tap-planskip-unplanned-corner.test
  - tap-signal.test

Tested on Debian GNU/Linux with GNU awk 3.1.7 and 3.0.2, "original
awk" 2010-05-23-1, and mawk 1.3.3-15 (with which also the test
`tap-realtime.test' fails, in addition to those listed above).
ChangeLog
lib/tap-driver.sh