From eee3aff0d76f05e37192e3b8322bb7129a8b0746 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 23 Jul 2012 16:20:49 +0200 Subject: [PATCH] tests: relax a grepping check on configure output * t/subpkg.sh: Here: do not expect the C compiler to be simply named 'cc'. This was causing spurious failures when $CC was overridden at configure time or though config.site. Signed-off-by: Stefano Lattarini --- t/subpkg.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/subpkg.sh b/t/subpkg.sh index 0548f9882..9b9f7ebff 100755 --- a/t/subpkg.sh +++ b/t/subpkg.sh @@ -107,7 +107,8 @@ cd .. ./configure >stdout || { cat stdout; exit 1; } cat stdout -grep '^checking whether cc understands -c and -o together' stdout +# Don't pretend to know the name or path of the C compiler. +grep '^checking whether .* understands -c and -o together' stdout $MAKE $MAKE distcheck -- 2.47.2