automake-ng
[Top][All Lists]
Advanced

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

[Automake-NG] [FYI] tests: subobj-libtool.sh: fix post-merge spurious fa


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] tests: subobj-libtool.sh: fix post-merge spurious failure
Date: Sat, 12 Jan 2013 14:47:26 +0100

* t/subobj-libtool.sh: Remove the 'compile' script automatically brought
in by 'test-init.sh', so that we can ensure "automake --add-missing"
correctly installs it.  While at it, make grepping of automake output
slightly stricter.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/subobj-libtool.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/t/subobj-libtool.sh b/t/subobj-libtool.sh
index ab84234..f0284d5 100755
--- a/t/subobj-libtool.sh
+++ b/t/subobj-libtool.sh
@@ -55,11 +55,11 @@ echo 'int three (void) { return 3; }' > sub/subsub/3.c
 libtoolize
 $ACLOCAL
 
+# Make sure compile is installed, and that Automake says so.
+rm -f compile
 $AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; exit 1; }
 cat stderr >&2
-
-# Make sure compile is installed, and that Automake says so.
-grep 'install.*compile' stderr
+grep '^configure\.ac:4:.*install.*compile' stderr
 test -f compile
 
 grep '[^/][123]\.lo' Makefile.in && exit 1
-- 
1.8.1.rc3.192.g2d0029e




reply via email to

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