On Nov 4, 2007, at 6:41 PM, Ralf Wildenhues wrote:
Hello colorful world,I took the various bits of code from the parallel tests check.mk from Akim and tried to mangle that suitable for inclusion in Automake. This is what I ended up with. (More topics to follow.) What do you think about it?
It looks great.
Does anybody know how to test that colorful output actually happens? I assume 'expect' or something similar can do this (I have no idea)?
Good question...
Do I have to assume that tput may not work as expected if I redirect stdout to /dev/null as well? I'm not sure if the checks inam__tty_colors won't cause bogus output on stdout on some of the weirdersystems. Is the list of contributors sufficient/ok? Thanks, Ralf 2007-11-04 Akim Demaille <[EMAIL PROTECTED]> Ralf Wildenhues <[EMAIL PROTECTED]> Bob Proulx <[EMAIL PROTECTED]> Implement option `color-tests' for colorized TESTS 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. * lib/Automake/Options.pm (_process_option_list): Handle it. * lib/am/check.am (am__tty_colors): New variable. Use ... (check-TESTS): ... here. * NEWS: Mention color-tests. * tests/Makefile.in, lib/Automake/tests/Makefile.in: Regenerate.
Thanks for taking care of this! -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part