automake-patches
[Top][All Lists]
Advanced

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

[FYI] {testsuite-work} tests: fix spurious failure in test on ACLOCAL_PA


From: Stefano Lattarini
Subject: [FYI] {testsuite-work} tests: fix spurious failure in test on ACLOCAL_PATH precedences
Date: Mon, 26 Sep 2011 21:39:19 +0200

* tests/aclocal-path-precedence.test: Do not merely append to
`configure.in', it should be created from scratch.  Pass package
name and version to AC_INIT as arguments, otherwise autoconf will
complain.
---
 ChangeLog                          |    8 ++++++++
 tests/aclocal-path-precedence.test |    4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1e82614..2178b72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-09-26  Stefano Lattarini  <address@hidden>
+
+       tests: fix spurious failure in test on ACLOCAL_PATH precedences
+       * tests/aclocal-path-precedence.test: Do not merely append to
+       `configure.in', it should be created from scratch.  Pass package
+       name and version to AC_INIT as arguments, otherwise autoconf will
+       complain.
+
 2011-09-20  Stefano Lattarini  <address@hidden>
 
        docs: remove mention of deprecated option `--acdir'
diff --git a/tests/aclocal-path-precedence.test 
b/tests/aclocal-path-precedence.test
index 0378fb2..76ca211 100755
--- a/tests/aclocal-path-precedence.test
+++ b/tests/aclocal-path-precedence.test
@@ -21,8 +21,8 @@ am_create_testdir=empty
 
 set -e
 
-cat >> configure.in << 'END'
-AC_INIT
+cat > configure.in << 'END'
+AC_INIT([foo], [1.0])
 AM_INIT_AUTOMAKE([parallel-tests])
 FOO_MACRO
 BAR_MACRO
-- 
1.7.2.3




reply via email to

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