Hello, Tom!
> I added another test to pr87.test to check for this failure.
I have fixed it so that it fails "correctly", not because foo/Makefile.in
is tested before being created :-)
Regards,
Pavel Roskin
________________________________
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,7 @@
+2001-02-08 Pavel Roskin <[EMAIL PROTECTED]>
+
+ * tests/pr87.test: Check foo/Makfile.in after it is created.
+
2001-02-08 Tom Tromey <[EMAIL PROTECTED]>
* tests/pr87.test: Added check for blank line after `.c.o' rule.
--- tests/pr87.test
+++ tests/pr87.test
@@ -38,6 +38,12 @@
rm missing install-sh mkinstalldirs
+# We use gcc and not gcc -traditional as the latter fails on some
+# Linux boxes (Red Hat 5.1 in particular).
+$ACLOCAL \
+ && $AUTOCONF \
+ && $AUTOMAKE -a || exit 1
+
# Regression test for bug where `.c.o:' is followed by blank line.
(while read line; do
if test "$line" = ".c.o:"; then
@@ -49,11 +55,6 @@
fi
done) < foo/Makefile.in || exit 1
-# We use gcc and not gcc -traditional as the latter fails on some
-# Linux boxes (Red Hat 5.1 in particular).
-$ACLOCAL \
- && $AUTOCONF \
- && $AUTOMAKE -a \
- && cd build \
+cd build \
&& CC='gcc' ../configure \
- && $MAKE distcheck
+ && $MAKE distcheck || exit 1
________________________________