]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* tests/output-order.test: New test, for the stable output fix.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 10 Jan 2008 19:50:02 +0000 (20:50 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 11 Jan 2008 19:18:14 +0000 (20:18 +0100)
* tests/Makefile.am: Update.

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

index 766941a308741aa269a7c327b64a751e68186335..eef7e2f8542b3551aba57bd8671ff17b83b9d329 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-11  Bruno Haible  <bruno@clisp.org>
+           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * tests/output-order.test: New test, for the stable output fix.
+       * tests/Makefile.am: Update.
+
 2008-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * Makefile.am (dist-hook): New, ensure world-executable tests.
index 80d3d712a86517ef1dba8b21eea8b6fee56b9add..db40acc9f103848ecdf67937d423899421f42ccc 100644 (file)
@@ -421,6 +421,7 @@ output10.test \
 output11.test \
 output12.test \
 output13.test \
+output-order.test \
 overrid.test \
 parse.test \
 percent.test \
index dc18babb525344901c5d8a1d994c889af0a2a224..ceff3f404ab4dda3ae91e3c57daa2d0b0ff9c7d7 100644 (file)
@@ -570,6 +570,7 @@ output10.test \
 output11.test \
 output12.test \
 output13.test \
+output-order.test \
 overrid.test \
 parse.test \
 percent.test \
diff --git a/tests/output-order.test b/tests/output-order.test
new file mode 100755 (executable)
index 0000000..e55ef36
--- /dev/null
@@ -0,0 +1,52 @@
+#! /bin/sh
+# Copyright (C) 2008  Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Test that `automake -a' output order is stable.
+# From report by Bruno Haible.
+
+. ./defs || exit 1
+
+set -e
+
+cat >>configure.in <<'END'
+AC_OUTPUT
+END
+
+: >Makefile.am
+: >AUTHORS
+: >ChangeLog
+: >NEWS
+: >README
+
+cat >.autom4te.cfg <<'END'
+begin-language: "Autoconf"
+args: --no-cache
+end-language: "Autoconf"
+begin-language: "Autoconf-without-aclocal-m4"
+args: --no-cache
+end-language: "Autoconf-without-aclocal-m4"
+END
+
+$ACLOCAL
+$AUTOCONF
+rm -f missing install-sh
+$AUTOMAKE --add-missing --copy 2>stderr
+cat stderr >&2
+
+for i in 1 2 3 4 5 6; do
+  rm -f missing install-sh INSTALL COPYING
+  $AUTOMAKE --add-missing --copy 2>&1 >/dev/null | diff - stderr
+done