automake-patches
[Top][All Lists]
Advanced

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

[FYI] {maint} tests: remove an obsolete, no-op test script


From: Stefano Lattarini
Subject: [FYI] {maint} tests: remove an obsolete, no-op test script
Date: Wed, 8 Aug 2012 19:09:02 +0200

* t/info.sh: This: it tried to operate by checking the contents of the
variable '$(INFOS)', but that is not even defined (and probably has been
obsolete for quite a long time).  Since other tests already do thorough
testing of the Texinfo support, just remove this test.
* t/list-of-tests.mk: Adjust.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/info.sh          | 44 --------------------------------------------
 t/list-of-tests.mk |  1 -
 2 files changed, 45 deletions(-)
 delete mode 100755 t/info.sh

diff --git a/t/info.sh b/t/info.sh
deleted file mode 100755
index e00e9e9..0000000
--- a/t/info.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#! /bin/sh
-# Copyright (C) 1996-2012 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 info files are distributed correctly.
-# FIXME: This test is probably obsoleted, or wrong.  The generated
-#        Makefile.in seems not to define any 'INFOS' variable!
-
-. ./defs || exit 1
-
-cat > Makefile.am << 'END'
-info_TEXINFOS = foo.texi
-END
-
-echo '@setfilename foo.info' > foo.texi
-: > texinfo.tex
-
-$ACLOCAL
-$AUTOMAKE
-
-for i in $(grep '^INFOS =' Makefile.in | sed -e 's/^INFOS = //'); do
-   echo $i
-   case "$i" in
-    foo*)
-       ;;
-    *)
-       exit 1
-       ;;
-   esac
-done
-
-:
diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk
index 13a71fb..c54954e 100644
--- a/t/list-of-tests.mk
+++ b/t/list-of-tests.mk
@@ -501,7 +501,6 @@ t/help-silent.sh \
 t/help-upc.sh \
 t/hfs.sh \
 t/implicit.sh \
-t/info.sh \
 t/init.sh \
 t/init2.sh \
 t/insh2.sh \
-- 
1.7.12.rc0




reply via email to

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