Hi Bob, * Bob Proulx wrote on Mon, Nov 12, 2007 at 11:44:42PM CET: > This following automake 'make check' finishes successfully. > > env TERM=ansi make -C tests check TESTS=color.test > > However this next one has a failure. > > env TERM=dumb make -C tests check TESTS=color.test > > And this one is quite colorful! :-) > > env TERM=dumb VERBOSE=yes make -C tests check TESTS=color.test
Thanks! Do we need to guard against other TERM settings, too? Cheers, Ralf * tests/color.test: Skip if TERM is `dumb'. Report by Bob Proulx. diff --git a/tests/color.test b/tests/color.test index d30d1e0..b2deb23 100755 --- a/tests/color.test +++ b/tests/color.test @@ -22,6 +22,10 @@ . ./defs || exit 1 +case $TERM in +dumb) exit 77;; +esac + set -e red='[0;31m'