]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix spurious failure with non-ANSI terminals
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 20 Apr 2012 08:23:35 +0000 (10:23 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 20 Apr 2012 08:23:35 +0000 (10:23 +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 <stefano.lattarini@gmail.com>
t/ax/tap-summary-aux.sh

index 6965281bc0a2528e76470ef7be2523b5270e735b..6e6a74abceb1538912c706d3df528c1414bf5e16 100644 (file)
@@ -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