From: Tom Tromey Date: Wed, 6 Aug 1997 02:36:14 +0000 (+0000) Subject: new test X-Git-Tag: Release-1-2b~30 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=57d4a5a961781398b41e0fcd1773ef49b6cf7239;p=automake.git new test --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 06294398..95b5103c 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 5 20:33:33 1997 Tom Tromey + + * libobj6.test: New file. + Mon May 26 22:47:36 1997 Tom Tromey * depend.test: Fixed test. diff --git a/tests/Makefile.am b/tests/Makefile.am index d2c6f080..e9cd928b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -25,7 +25,8 @@ colon2.test colon3.test remake.test output.test output2.test \ remake2.test 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 +ldadd.test version2.test conf2.test cond.test cond2.test xsource.test \ +libobj6.test EXTRA_DIST = defs $(TESTS) diff --git a/tests/Makefile.in b/tests/Makefile.in index 713e792d..fc4ee04d 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -2,8 +2,7 @@ # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +# gives unlimited permission to copy, distribute and modify it. SHELL = /bin/sh @@ -81,7 +80,8 @@ colon2.test colon3.test remake.test output.test output2.test \ remake2.test 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 +ldadd.test version2.test conf2.test cond.test cond2.test xsource.test \ +libobj6.test EXTRA_DIST = defs $(TESTS) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/tests/libobj6.test b/tests/libobj6.test new file mode 100755 index 00000000..9094cf57 --- /dev/null +++ b/tests/libobj6.test @@ -0,0 +1,28 @@ +#! /bin/sh + +# Test for a bug reported by Akim Demaille. +# LIBOBJS specified in the "wrong order" aren't seen. + +. $srcdir/defs || exit 1 + +cat > configure.in << 'END' +PACKAGE=nonesuch +VERSION=nonesuch +AC_PROG_CC +AC_ARG_PROGRAM +AC_PROG_INSTALL +AC_PROG_RANLIB +LIBOBJS="fsusage.o mountlist.o $LIBOBJS" +AC_OUTPUT(Makefile) +END + +cat > Makefile.am << 'END' +noinst_LIBRARIES = libtu.a +libtu_a_SOURCES = +libtu_a_LIBADD = @LIBOBJS@ +END + +: > fsusage.c +: > mountlist.c + +$AUTOMAKE