]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* suffix3.test: New file.
authorTom Tromey <tromey@redhat.com>
Tue, 14 Dec 1999 06:09:39 +0000 (06:09 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 14 Dec 1999 06:09:39 +0000 (06:09 +0000)
* Makefile.am (TESTS): Added suffix3.test.

tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/suffix3.test [new file with mode: 0755]

index 3db076ee40b25ebd9061dc78c9be6630330eae6a..772a4b394aaf96efd9a68b5c787711b5679e5b75 100644 (file)
@@ -1,5 +1,8 @@
 1999-12-13  Tom Tromey  <tromey@cygnus.com>
 
+       * suffix3.test: New file.
+       * Makefile.am (TESTS): Added suffix3.test.
+
        * suffix2.test: Added `no-dependencies' to options in
        Makefile.am.  Removed trailing `exit 1'.
 
index a81e0ddce1c68ab4cda6ac1504ade9bf4bcba184..8b634b61e6884f18e50c2b97b244f2b43bc52373 100644 (file)
@@ -217,6 +217,7 @@ subobj3.test \
 subst.test \
 suffix.test \
 suffix2.test \
+suffix3.test \
 symlink.test \
 syntax.test \
 tags.test \
index 38101f8179d172da8a45e4cc3006aa3959047a88..6eefc47b3903822390bc96ff226ddb8006df6249 100644 (file)
@@ -284,6 +284,7 @@ subobj3.test \
 subst.test \
 suffix.test \
 suffix2.test \
+suffix3.test \
 symlink.test \
 syntax.test \
 tags.test \
diff --git a/tests/suffix3.test b/tests/suffix3.test
new file mode 100755 (executable)
index 0000000..181dd97
--- /dev/null
@@ -0,0 +1,22 @@
+#! /bin/sh
+
+# Test to make sure that suffix rules chain.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CXX
+END
+
+cat > Makefile.am << 'END'
+SUFFIXES = .zoo
+.zoo.cc:
+       convert-zoo whatever
+bin_PROGRAMS = foo
+foo_SOURCES = foo.zoo
+END
+
+$AUTOMAKE || exit 1
+
+fgrep foo.cc Makefile.in && exit 1
+exit 0