automake-patches
[Top][All Lists]
Advanced

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

[PATCH] tests: fix bug (comments-in-var-defn.test + autoconf 2.62)


From: Stefano Lattarini
Subject: [PATCH] tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
Date: Fri, 4 Mar 2011 09:52:25 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

* tests/comments-in-var-defn.test: The configure.in stub created
by default, which has the AC_INIT first argument obtained by the
test name, causes autoconf 2.62 to fail with a spurious error
message like: "configure.in:1: error: defn: undefined macro:".
Thus, to prevent this, the test is renamed to ...
* tests/comments-in-var-def.test: ... this.
* tests/Makefile.am (TESTS): Updated.

-*-*-

OK to apply the attached patch to a temporary bugfixing branch based
off of  commit v1.11-263-g6318add (in which the offending test was
introduced), and merge into master?

I will push in 72 hours if there is no objection.

Regards,
  Stefano
From de584382c81a5d82b5a61f2696128e9af4fbf8f7 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Thu, 3 Mar 2011 19:22:55 +0100
Subject: [PATCH] tests: fix bug (comments-in-var-defn.test + autoconf 2.62)

* tests/comments-in-var-defn.test: The configure.in stub created
by default, which has the AC_INIT first argument obtained by the
test name, causes autoconf 2.62 to fail with a spurious error
message like: "configure.in:1: error: defn: undefined macro:".
Thus, to prevent this, the test is renamed to ...
* tests/comments-in-var-def.test: ... this.
* tests/Makefile.am (TESTS): Updated.
---
 ChangeLog                                          |   11 +++++++++++
 tests/Makefile.am                                  |    2 +-
 tests/Makefile.in                                  |    2 +-
 ...s-in-var-defn.test => comments-in-var-def.test} |    0
 4 files changed, 13 insertions(+), 2 deletions(-)
 rename tests/{comments-in-var-defn.test => comments-in-var-def.test} (100%)

diff --git a/ChangeLog b/ChangeLog
index dc59375..fe4543f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-03-04  Stefano Lattarini  <address@hidden>
+
+       tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
+       * tests/comments-in-var-defn.test: The configure.in stub created
+       by default, which has the AC_INIT first argument obtained by the
+       test name, causes autoconf 2.62 to fail with a spurious error
+       message like: "configure.in:1: error: defn: undefined macro:".
+       Thus, to prevent this, the test is renamed to ...
+       * tests/comments-in-var-def.test: ... this.
+       * tests/Makefile.am (TESTS): Updated.
+
 2011-01-11  Stefano Lattarini  <address@hidden>
 
        Improve, extend and tweak tests on Texinfo support.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ceb503b..e204695 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -158,7 +158,7 @@ comment8.test \
 comment9.test \
 commen10.test \
 commen11.test \
-comments-in-var-defn.test \
+comments-in-var-def.test \
 compile.test \
 compile2.test \
 compile_f90_c_cxx.test \
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 7ecfcaa..1ad4bbb 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -425,7 +425,7 @@ comment8.test \
 comment9.test \
 commen10.test \
 commen11.test \
-comments-in-var-defn.test \
+comments-in-var-def.test \
 compile.test \
 compile2.test \
 compile_f90_c_cxx.test \
diff --git a/tests/comments-in-var-defn.test b/tests/comments-in-var-def.test
similarity index 100%
rename from tests/comments-in-var-defn.test
rename to tests/comments-in-var-def.test
-- 
1.7.2.3


reply via email to

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