automake-patches
[Top][All Lists]
Advanced

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

[FYI] {master} tests: fix spurious failure with non-ANSI terminals


From: Stefano Lattarini
Subject: [FYI] {master} tests: fix spurious failure with non-ANSI terminals
Date: Fri, 20 Apr 2012 10:52:03 +0200

* t/ax/tap-summary-aux.sh: When checking colored testsuite output,
be sure to export the TERM variable to the value "ansi"; otherwise
the automake testsuite driver will not display colored output, not
even if AM_COLOR_TESTS is exported to "always".  Failure revealed
by NixOS Hydra.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/ax/tap-summary-aux.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/ax/tap-summary-aux.sh b/t/ax/tap-summary-aux.sh
index 6965281..6e6a74a 100644
--- a/t/ax/tap-summary-aux.sh
+++ b/t/ax/tap-summary-aux.sh
@@ -56,7 +56,7 @@ do_check ()
   cat all.test
   st=0
   if test $use_colors = yes; then
-    make_cmd="env AM_COLOR_TESTS=always $MAKE -e"
+    make_cmd="env TERM=ansi AM_COLOR_TESTS=always $MAKE -e"
   else
     make_cmd=$MAKE
   fi
-- 
1.7.9.5




reply via email to

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