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: Mon, 5 Nov 2007 10:45:19 +0100

On Nov 5, 2007, at 1:13 AM, Bob Proulx wrote:

Benoit SIGOURE wrote:
Now I think that the no-color-tests could be useful for those out
there that are allergic to fancy colors and stuff, so I think it'll
be worth implementing it (which is easy).

I am not quite alergic to it but put me in the black and white camp in
general.  For example when capturing output with 'script' all of those
escape sequences get in the way.

If you do this, it will DWYM unless you have a broken implementation of `test -t' (which should be reported so we can mention it in the "limitation of builtins" section of the Autoconf manual).

We could use another variable, say, NOCOLOR, and people would do
`make check NOCOLOR=whatever'.  We simply need to throw a test
x$(NOCOLOR) = x in the `&&' pipeline that decides whether colors
must be used or not.

Something more namespace safe than NOCOLOR though.  I think it would
need to be more specific such as AUTOMAKE_NOCOLOR=yes or some such.

Yes obviously.  AM_NOCOLOR would be easier to type though ;)

--
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]