Implement colorized test output.
commitc8db74fc05ddadc2af4115ed4b88957f33473757
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 8 Nov 2007 21:32:15 +0000 (8 22:32 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 8 Nov 2007 21:33:15 +0000 (8 22:33 +0100)
tree11c7aec16d74decf2eef071db8e95c5878e15547
parent9c315dae5216e0e883ab4c002403a8a105f8d14b
Implement colorized test output.

* automake.in (handle_tests): Set COLOR depending on `color-tests'.
* configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
* doc/automake.texi (Tests, Options): Document test results,
document new option, document AM_COLOR_TESTS.
* lib/Automake/Options.pm (_process_option_list): Handle it.
* lib/am/check.am (am__tty_colors): New variable.  Enable colored
output if TERM is not dumb and depending on AM_COLOR_TESTS and
whether stdout is connected to a terminal.
(check-TESTS): Use am__tty_colors.
* NEWS: Mention color-tests.
* tests/color.test: New test.
* tests/Makefile.am: Adjust.
ChangeLog
NEWS
automake.in
configure.ac
doc/automake.texi
lib/Automake/Options.pm
lib/Automake/tests/Makefile.in
lib/am/check.am
tests/Makefile.am
tests/Makefile.in
tests/color.test [new file with mode: 0755]