From 89ba2a738c9eb543d499cc6dabe3341cbb21857a Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 20 Apr 2012 10:23:35 +0200 Subject: [PATCH] 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 --- 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 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 -- 2.47.2