diff options
author | Tom Tromey <tromey@redhat.com> | 1997-10-25 06:06:45 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-10-25 06:06:45 +0000 |
commit | ede257770d7894c69af82748214c5a1537a15e52 (patch) | |
tree | 4517cd87c66e9c4b834fd2249c3014db483508ee /tests | |
parent | 1b5fea197b0e373476b531bcd953cc16457e9262 (diff) | |
download | automake-ede257770d7894c69af82748214c5a1537a15e52.tar.gz |
new test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rw-r--r-- | tests/Makefile.in | 3 | ||||
-rwxr-xr-x | tests/libobj7.test | 30 |
4 files changed, 38 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 909c72701..378811fe8 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +Sat Oct 25 00:04:04 1997 Tom Tromey <tromey@cygnus.com> + + * libobj7.test: New file. + Tue Oct 21 00:46:24 1997 Tom Tromey <tromey@cygnus.com> * lex2.test: Removed; @LEXLIB@ no longer required. diff --git a/tests/Makefile.am b/tests/Makefile.am index 269bc628b..86b02f602 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -26,7 +26,8 @@ output3.test output4.test colneq2.test subst.test defun2.test \ 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 +libobj6.test depend3.test output5.test ammissing.test install.test \ +libobj7.test EXTRA_DIST = defs $(TESTS) diff --git a/tests/Makefile.in b/tests/Makefile.in index b8ecb8811..39c1f7c0f 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -87,7 +87,8 @@ output3.test output4.test colneq2.test subst.test defun2.test \ 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 +libobj6.test depend3.test output5.test ammissing.test install.test \ +libobj7.test EXTRA_DIST = defs $(TESTS) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/tests/libobj7.test b/tests/libobj7.test new file mode 100755 index 000000000..ed5280f1a --- /dev/null +++ b/tests/libobj7.test @@ -0,0 +1,30 @@ +#! /bin/sh + +# Test for multiple replacement functions. + +. $srcdir/defs || exit 1 + +cat > configure.in << 'END' +PACKAGE=nonesuch +VERSION=nonesuch +AC_PROG_CC +AC_ARG_PROGRAM +AC_PROG_INSTALL +AC_PROG_RANLIB +AC_REPLACE_FUNCS(basename dirname strsignal) +AC_OUTPUT(Makefile) +END + +cat > Makefile.am << 'END' +noinst_LIBRARIES = libtu.a +libtu_a_SOURCES = +libtu_a_LIBADD = @LIBOBJS@ +END + +: > basename.c +: > dirname.c +: > strsignal.c + +$AUTOMAKE || exit 1 + +grep 'DIST_COMMON.*dirname' Makefile.in |