]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix a couple of spurious failures
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 15 May 2013 22:11:26 +0000 (00:11 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 15 May 2013 22:11:26 +0000 (00:11 +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 <stefano.lattarini@gmail.com>
t/subobj-c.sh
t/subobj-libtool.sh

index 5d7b24a2718d04c5d5eb5e5613a0b9d93c60a82e..e0c2ad2aac7dbe428e40882d722d02e83f7bfcf8 100755 (executable)
@@ -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
index 8afad6bfbd8577481b2cea3ef036fc57ea3233ab..2011d61534f8d4f21005ba20fc7c91e7037d4466 100755 (executable)
@@ -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