[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [FYI] tests: subobj-c.sh: fix post-merge spurious failure
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [FYI] tests: subobj-c.sh: fix post-merge spurious failure |
Date: |
Sat, 12 Jan 2013 14:41:43 +0100 |
* t/subobj-c.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-c.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/t/subobj-c.sh b/t/subobj-c.sh
index 41783e1..0827b53 100755
--- a/t/subobj-c.sh
+++ b/t/subobj-c.sh
@@ -68,12 +68,14 @@ int answer (void)
}
END
+rm -f compile # We want to check '--add-missing' installs this.
+
$ACLOCAL
$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
$EGREP '[^/](a|b|foo)\.\$(OBJEXT)' Makefile.in && exit 1
--
1.8.1.rc3.192.g2d0029e
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-NG] [FYI] tests: subobj-c.sh: fix post-merge spurious failure,
Stefano Lattarini <=