From: Stefano Lattarini Date: Mon, 23 Jul 2012 14:20:49 +0000 (+0200) Subject: tests: relax a grepping check on configure output X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=v1.12.2-594-geee3aff;p=thirdparty%2Fautomake.git 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 --- 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