]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: relax a grepping check on configure output
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 23 Jul 2012 14:20:49 +0000 (16:20 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 23 Jul 2012 14:20:49 +0000 (16:20 +0200)
* 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 <stefano.lattarini@gmail.com>
t/subpkg.sh

index 0548f9882da4559b0b303efaf72b2bd4012b6fac..9b9f7ebff95424e1848d8d8455b244c22ac99e5e 100755 (executable)
@@ -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