automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [FYI] [ng] tests: relax a grepping check on configure outp


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] [ng] tests: relax a grepping check on configure output
Date: Mon, 23 Jul 2012 16:21:14 +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 <address@hidden>
---
 t/subpkg.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/t/subpkg.sh b/t/subpkg.sh
index 0548f98..9b9f7eb 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
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]