automake-patches
[Top][All Lists]
Advanced

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

Re: failure in "colorful tests"


From: Ralf Wildenhues
Subject: Re: failure in "colorful tests"
Date: Mon, 12 Nov 2007 23:57:42 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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=''




reply via email to

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