]> git.ipfire.org Git - thirdparty/automake.git/commit
tap: support colorization of testsuite progress output
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 17 Jul 2011 14:46:41 +0000 (16:46 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 2 Aug 2011 21:01:25 +0000 (23:01 +0200)
commit2fdeb6bb98b502373fbd7af66fd304724ddc94b6
treea5c3022d13f84ae1d073d8b301c10af3f988e8a0
parent7858f2bbb985536317fe2b5285ea332db96161c9
tap: support colorization of testsuite progress output

* lib/tap-driver (%COLORS): New variable (definition extracted
from `lib/am/check.am:$(am__tty_colors)', with some obvious
adjustments.
(report): Adjust to colorize console output when required,
using ...
(decorate_result): ... this new function.
(colored): New function, used by the one above.
* tests/tap-summary.test: Also run the checks when `color-tests'
is in use.
* tests/Makefile.am (XFAIL_TESTS): Remove `tap-color.test'.
ChangeLog
lib/tap-driver
tests/Makefile.am
tests/Makefile.in
tests/tap-summary.test