automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: colorful tests


From: Benoit SIGOURE
Subject: Re: colorful tests
Date: Sun, 4 Nov 2007 18:50:08 +0100

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 in
am__tty_colors won't cause bogus output on stdout on some of the weirder
systems.

Is the list of contributors sufficient/ok?

Thanks,
Ralf

2007-11-04  Akim Demaille  <address@hidden>
            Ralf Wildenhues <address@hidden>
            Bob Proulx <address@hidden>

    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


Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]