automake-patches
[Top][All Lists]
Advanced

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

[FYI] {maint} tests: work around a texi+cygnus bug causing a spurious XF


From: Stefano Lattarini
Subject: [FYI] {maint} tests: work around a texi+cygnus bug causing a spurious XFAIL
Date: Tue, 11 Jan 2011 13:30:28 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

I've applied the patch below to maint as obvious, merged maint
into master, and pushed.

Regards,
  Stefano

-*-*-

tests: work around a texi+cygnus bug causing a spurious XFAIL

* tests/txinfo5b.test: New test, like txinfo5.test but calling
automake with the `-Wno-override' option to work around a bug
in the texinfo + cygnus interaction.
* tests/txinfo5.test: Update heading comments.
* tests/Makefile.am (TEST): Updated.
---
 ChangeLog           |    9 +++++++++
 tests/Makefile.am   |    1 +
 tests/Makefile.in   |    1 +
 tests/txinfo5.test  |    3 +++
 tests/txinfo5b.test |   44 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 58 insertions(+), 0 deletions(-)
 create mode 100755 tests/txinfo5b.test

diff --git a/ChangeLog b/ChangeLog
index df80138..f260ca5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-01-11  Stefano Lattarini  <address@hidden>
+
+       tests: work around a texi+cygnus bug causing a spurious XFAIL
+       * tests/txinfo5b.test: New test, like txinfo5.test but calling
+       automake with the `-Wno-override' option to work around a bug
+       in the texinfo + cygnus interaction.
+       * tests/txinfo5.test: Update heading comments.
+       * tests/Makefile.am (TEST): Updated.
+
 2011-01-09  Dave Hart  <address@hidden>  (tiny change)
 
        Fix another typo in Rule.pm comment.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ceb503b..a6ed4c2 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -738,6 +738,7 @@ txinfo2.test \
 txinfo3.test \
 txinfo4.test \
 txinfo5.test \
+txinfo5b.test \
 txinfo6.test \
 txinfo7.test \
 txinfo8.test \
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 7ecfcaa..bcfd478 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -1005,6 +1005,7 @@ txinfo2.test \
 txinfo3.test \
 txinfo4.test \
 txinfo5.test \
+txinfo5b.test \
 txinfo6.test \
 txinfo7.test \
 txinfo8.test \
diff --git a/tests/txinfo5.test b/tests/txinfo5.test
index 2467113..2128775 100755
--- a/tests/txinfo5.test
+++ b/tests/txinfo5.test
@@ -16,6 +16,9 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Test to make sure that texinfo.tex is not required by --cygnus.
+# Also check that TEXINFOS + cygnus work without requiring the
+# `-Wno-override' option.
+# See also sister test txinfo5b.test.
 # Report from Ian Taylor.
 
 . ./defs || Exit 1
diff --git a/tests/txinfo5b.test b/tests/txinfo5b.test
new file mode 100755
index 0000000..f14eadb
--- /dev/null
+++ b/tests/txinfo5b.test
@@ -0,0 +1,44 @@
+#! /bin/sh
+# Copyright (C) 1998, 2001, 2002, 2008, 2011 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 that texinfo.tex is not required by --cygnus.
+# See also sister test txinfo5.test.
+# Report from Ian Taylor.
+
+. ./defs || Exit 1
+
+set -e
+
+cat >> configure.in << 'END'
+AM_MAINTAINER_MODE
+END
+
+cat > Makefile.am << 'END'
+# Disable `override' warning to work around an unrelated
+# texi+cygnus bug.
+AUTOMAKE_OPTIONS = -Wno-override
+info_TEXINFOS = ian.texi
+END
+
+echo '@setfilename ian.info' > ian.texi
+
+$ACLOCAL
+$AUTOMAKE --cygnus
+$AUTOMAKE -a --cygnus
+test ! -f texinfo.tex
+
+:
-- 
1.7.2.3




reply via email to

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