summaryrefslogtreecommitdiff
path: root/tests/suffix3.test
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2001-11-08 15:25:58 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2001-11-08 15:25:58 +0000
commit72b227beba794a4bbd0566cbcd7fae81eb88e4ad (patch)
treee771d14f68d0c58e0042825f971d49a789675892 /tests/suffix3.test
parent6ed19408cb5971c4b5d1cbbe5f2a3575749f9f18 (diff)
downloadautomake-72b227beba794a4bbd0566cbcd7fae81eb88e4ad.tar.gz
* tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
Don't use -Wno-error.
Diffstat (limited to 'tests/suffix3.test')
-rwxr-xr-xtests/suffix3.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/suffix3.test b/tests/suffix3.test
index cb2370ab9..31c910c67 100755
--- a/tests/suffix3.test
+++ b/tests/suffix3.test
@@ -17,7 +17,12 @@ foo_SOURCES = foo.zoo
END
$ACLOCAL || exit 1
-$AUTOMAKE --Wno-error || exit 1
+$AUTOMAKE || exit 1
+# The foo.cc intermediate step is implicit, it's a mistake if
+# Automake requires this file somewhere.
fgrep foo.cc Makefile.in && exit 1
+# However Automake must figure that foo.zoo is eventually
+# transformed into foo.o, and use this latter file (to link foo).
+fgrep 'foo.$(OBJEXT)' Makefile.in || exit 1
exit 0