From: Stefano Lattarini Date: Fri, 20 Apr 2012 08:23:35 +0000 (+0200) Subject: tests: fix spurious failure with non-ANSI terminals X-Git-Tag: v1.12~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ba2a738c9eb543d499cc6dabe3341cbb21857a;p=thirdparty%2Fautomake.git tests: fix spurious failure with non-ANSI terminals * 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 --- diff --git a/t/ax/tap-summary-aux.sh b/t/ax/tap-summary-aux.sh index 6965281bc..6e6a74abc 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