automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Remove a couple of obsoleted tests.


From: Stefano Lattarini
Subject: [PATCH] Remove a couple of obsoleted tests.
Date: Wed, 14 Jul 2010 13:16:28 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

Remove a couple of obsoleted tests.
    
* tests/fpinstall.test: Removed.
* tests/fpinst2.test: Likewise.

---

The removed tests used to check that the (now obsolete) automake macro
AM_PROG_INSTALL could be used after the autoconf macro AC_PROG_INSTALL.

However, all tests from commit 1de3ff4766cbadd87f57d5f4bacc35ed5b47f644
onward used AC_PROG_INSTALL instead of AM_PROG_INSTALL, so the two
removed tests became basically useless (they just checked that expanding
AC_PROG_INSTALL in configure.in twice worked).

And those tests became *definitely* useless starting from commit
b49a92e0a2d51e6c560bf8a6c43cbdb620af1c85, when even calls to
AC_PROG_INSTALL were removed from configure.in in test scripts
(because AM_INIT_AUTOMAKE had begun to automatically require
AC_PROG_INSTALL and other macros).

---

Regards,
   Stefano
From 427c28c47b407563b36f8e49018dd57f9417722c Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Wed, 14 Jul 2010 13:10:09 +0200
Subject: [PATCH] Remove a couple of obsoleted tests.

* tests/fpinstall.test: Removed.
* tests/fpinst2.test: Likewise.
---
 ChangeLog            |    6 ++++++
 tests/fpinst2.test   |   33 ---------------------------------
 tests/fpinstall.test |   33 ---------------------------------
 3 files changed, 6 insertions(+), 66 deletions(-)
 delete mode 100755 tests/fpinst2.test
 delete mode 100755 tests/fpinstall.test

diff --git a/ChangeLog b/ChangeLog
index 4366381..3b36de0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-07-13  Stefano Lattarini  <address@hidden>
+
+       Remove a couple of obsoleted tests.
+       * tests/fpinstall.test: Removed.
+       * tests/fpinst2.test: Likewise.
+
 2010-06-26  Ralf Wildenhues  <address@hidden>
 
        Update program --help output to match current GCS.
diff --git a/tests/fpinst2.test b/tests/fpinst2.test
deleted file mode 100755
index c6b4900..0000000
--- a/tests/fpinst2.test
+++ /dev/null
@@ -1,33 +0,0 @@
-#! /bin/sh
-# Copyright (C) 1996, 1998, 2000, 2001, 2002  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 2, 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 to make sure "reversed" order of AC_PROG_INSTALL and
-# AC_PROG_INSTALL is not buggy.
-
-. ./defs || Exit 1
-
-cat > configure.in << 'END'
-AC_INIT
-AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-AC_OUTPUT(Makefile)
-END
-
-cat > Makefile.am <<'END'
-bin_SCRIPTS = zot
-END
-
-$ACLOCAL || Exit 1
-$AUTOMAKE || Exit 1
diff --git a/tests/fpinstall.test b/tests/fpinstall.test
deleted file mode 100755
index 6c645eb..0000000
--- a/tests/fpinstall.test
+++ /dev/null
@@ -1,33 +0,0 @@
-#! /bin/sh
-# Copyright (C) 1996, 1998, 2000, 2001, 2002  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 2, 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 for bug reported by Thomas Morgan.  If both AC_PROG_INSTALL and
-# AC_PROG_INSTALL appear in configure.in, bad error results.
-
-. ./defs || Exit 1
-
-cat > configure.in << 'END'
-AC_INIT
-AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-AC_OUTPUT(Makefile)
-END
-
-cat > Makefile.am <<'END'
-bin_SCRIPTS = zot
-END
-
-$ACLOCAL || Exit 1
-$AUTOMAKE || Exit 1
-- 
1.7.1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]