]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Autotest: enable colored test results.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 17 Jun 2010 20:26:30 +0000 (22:26 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 17 Jun 2010 20:36:01 +0000 (22:36 +0200)
commitb426665e77d713bfe4d44b6b27cb1e6e3c942fc6
tree320935cf54b1b98f62dc6044625f9179b76eace5
parent7f65b3b009f562ac0e6e7d84b41d93d12744037b
Autotest: enable colored test results.

* lib/autotest/general.m4 (HELP_TUNING_BEGIN): New diversion.
(HELP_TUNING, HELP_OTHER, HELP_END): Bump diversion numbers.
(AT_INIT): Accept
--color and --color=never|auto|always.  If desired, colorize
test results and testsuite summary on standard output.
[HELP_TUNING]: Divert content instead to ...
[HELP_TUNING_BEGIN]: ... this diversion, m4_wrapped until the
end, when we know whether AT_COLOR_TESTS has been specified.
(AT_COLOR_TESTS): New macro, set the default for color to auto.
* doc/autoconf.texi (Writing Testsuites): Document it.
(testsuite Invocation): Document --color* options.
* tests/local.at: Call AT_COLOR_TESTS for Autoconf's testsuite.
* tests/autotest.at (color test results): New test, mirroring
color.test from Automake.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
doc/autoconf.texi
lib/autotest/general.m4
tests/autotest.at
tests/local.at