]> sourceware.org Git - automake.git/commitdiff
new test
authorTom Tromey <tromey@redhat.com>
Wed, 6 Aug 1997 02:36:14 +0000 (02:36 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 6 Aug 1997 02:36:14 +0000 (02:36 +0000)
tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/libobj6.test [new file with mode: 0755]

index 0629439863c512eb0bfcf2b5a6e4de1fc3b00b44..95b5103ccd4f986d87ba7671d63f1786b1f9cf8e 100644 (file)
@@ -1,3 +1,7 @@
+Tue Aug  5 20:33:33 1997  Tom Tromey  <tromey@cygnus.com>
+
+       * libobj6.test: New file.
+
 Mon May 26 22:47:36 1997  Tom Tromey  <tromey@cygnus.com>
 
        * depend.test: Fixed test.
index d2c6f080ee4e379e78d6a67c33a31ba75c0918a9..e9cd928b2154c779f65dcd96f96e9c8ceddef73b 100644 (file)
@@ -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)
 
index 713e792d3b4782d3c72bd009df2986b492437ac8..fc4ee04dfe014c89731b1e2ec5bc00de369a2528 100644 (file)
@@ -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 (executable)
index 0000000..9094cf5
--- /dev/null
@@ -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
This page took 0.032935 seconds and 5 git commands to generate.