summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1997-11-30 05:12:04 +0000
committerTom Tromey <tromey@redhat.com>1997-11-30 05:12:04 +0000
commite997d842e3ed92e5afd0f9ba285e8fb00816ed3c (patch)
tree8b5ec24e9a70eeedaba52024d7357cf657e42f46
parent1ad640406bdbdc6ac40ce4370c4a4fe034b31991 (diff)
downloadautomake-e997d842e3ed92e5afd0f9ba285e8fb00816ed3c.tar.gz
added new test
-rw-r--r--NEWS2
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/Makefile.in2
-rwxr-xr-xtests/objc.test20
5 files changed, 27 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index ceddc866b..662d75943 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-New in 1.2c:
+New in 1.2d:
* Bug fixes
* Better Cygwin32 support
* Support for suffix rules with _SOURCES variables
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 378811fe8..b36e9606f 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+Sat Nov 29 22:09:27 1997 Tom Tromey <tromey@cygnus.com>
+
+ * objc.test: New file.
+
Sat Oct 25 00:04:04 1997 Tom Tromey <tromey@cygnus.com>
* libobj7.test: New file.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 86b02f602..c32b5ab11 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -27,7 +27,7 @@ yaccpp.test texinfo3.test texinfo4.test tagsub.test cxxlibobj.test \
seenc.test cygwin32.test lisp.test stamph.test ldadd.test \
version2.test conf2.test cond.test cond2.test xsource.test \
libobj6.test depend3.test output5.test ammissing.test install.test \
-libobj7.test
+libobj7.test objc.test
EXTRA_DIST = defs $(TESTS)
diff --git a/tests/Makefile.in b/tests/Makefile.in
index f534bedce..3111e8241 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -88,7 +88,7 @@ yaccpp.test texinfo3.test texinfo4.test tagsub.test cxxlibobj.test \
seenc.test cygwin32.test lisp.test stamph.test ldadd.test \
version2.test conf2.test cond.test cond2.test xsource.test \
libobj6.test depend3.test output5.test ammissing.test install.test \
-libobj7.test
+libobj7.test objc.test
EXTRA_DIST = defs $(TESTS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/tests/objc.test b/tests/objc.test
new file mode 100755
index 000000000..e004b887d
--- /dev/null
+++ b/tests/objc.test
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+# Test to make sure LINK defined for Objective C.
+
+. $srcdir/defs || exit 1
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = foo
+foo_SOURCES = foo.m
+
+SUFFIXES = .m
+.m.o:
+ whatever
+END
+
+: > foo.m
+
+$AUTOMAKE || exit 1
+
+grep '^LINK' Makefile.in