automake
[Top][All Lists]
Advanced

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

Re: empty line in compilation rules


From: Pavel Roskin
Subject: Re: empty line in compilation rules
Date: Thu, 8 Feb 2001 20:51:19 -0500 (EST)

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  <address@hidden>
+
+       * tests/pr87.test: Check foo/Makfile.in after it is created.
+
 2001-02-08  Tom Tromey  <address@hidden>

        * 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
________________________________





reply via email to

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