automake-ng
[Top][All Lists]
Advanced

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

[Automake-NG] [FYI] tests: fix a couple of spurious failures


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] tests: fix a couple of spurious failures
Date: Thu, 16 May 2013 00:13:49 +0200

These failures were deriving from the recent changes about how we
handle AC_PROG_CC, AM_PROG_CC_C_O, and generally detection of C
compilers that doesn't grasp both '-c' and '-o' at the same time.

* t/subobj-c.sh: Adjust.
* t/subobj-libtool.sh: Likewise.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/subobj-c.sh       | 2 +-
 t/subobj-libtool.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/subobj-c.sh b/t/subobj-c.sh
index 5d7b24a..e0c2ad2 100755
--- a/t/subobj-c.sh
+++ b/t/subobj-c.sh
@@ -74,7 +74,7 @@ $AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; exit 1; 
}
 cat stderr >&2
 
 # Make sure compile is installed, and that Automake says so.
-grep '^configure\.ac:4:.*install.*compile' stderr
+grep '^configure\.ac:7:.*install.*compile' stderr
 test -f compile
 
 $EGREP '[^/](a|b|foo)\.\$(OBJEXT)' Makefile.in && exit 1
diff --git a/t/subobj-libtool.sh b/t/subobj-libtool.sh
index 8afad6b..2011d61 100755
--- a/t/subobj-libtool.sh
+++ b/t/subobj-libtool.sh
@@ -58,7 +58,7 @@ $ACLOCAL
 rm -f compile
 $AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; exit 1; }
 cat stderr >&2
-grep '^configure\.ac:4:.*install.*compile' stderr
+grep '^configure\.ac:7:.*install.*compile' stderr
 test -f compile
 
 grep '[^/][123]\.lo' Makefile.in && exit 1
-- 
1.8.3.rc2




reply via email to

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