automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, branch-1.11, updated. v1.11


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, branch-1.11, updated. v1.11.3-43-gffb0e8f
Date: Sun, 11 Mar 2012 18:39:20 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=ffb0e8fc902e107a1bf23c2267db37bfeeba15be

The branch, branch-1.11 has been updated
       via  ffb0e8fc902e107a1bf23c2267db37bfeeba15be (commit)
       via  370e5775c20872a8f2b5c1e520b31dc1544b9cd8 (commit)
       via  ddac05053058efd64d67609d30bae20445ae584b (commit)
      from  61813db504b1991517c797a2dba7f09a9b66a784 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ffb0e8fc902e107a1bf23c2267db37bfeeba15be
Merge: 61813db 370e577
Author: Stefano Lattarini <address@hidden>
Date:   Sun Mar 11 19:38:05 2012 +0100

    Merge branch 'maint' into branch-1.11
    
    * maint:
      coverage: expose automake bug#10975
      getopt: relax version requirement for perl

-----------------------------------------------------------------------

Summary of changes:
 lib/Automake/Getopt.pm                     |    2 +-
 tests/Makefile.am                          |    1 +
 tests/{extra10.test => dist-pr109765.test} |   42 ++++++++++++++--------------
 tests/list-of-tests.mk                     |    1 +
 4 files changed, 24 insertions(+), 22 deletions(-)
 copy tests/{extra10.test => dist-pr109765.test} (54%)

diff --git a/lib/Automake/Getopt.pm b/lib/Automake/Getopt.pm
index 84cee5e..e1a3968 100644
--- a/lib/Automake/Getopt.pm
+++ b/lib/Automake/Getopt.pm
@@ -30,7 +30,7 @@ line options in conformance to the GNU Coding standards.
 
 =cut
 
-use 5.006_002;
+use 5.006;
 use strict;
 use warnings FATAL => 'all';
 use Exporter ();
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d909942..b8ede30 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -23,6 +23,7 @@ auxdir2.test \
 cond17.test \
 dist-auxfile.test \
 dist-auxfile-2.test \
+dist-pr109765.test \
 gcj6.test \
 java-nobase.test \
 objext-pr10128.test \
diff --git a/tests/extra10.test b/tests/dist-pr109765.test
similarity index 54%
copy from tests/extra10.test
copy to tests/dist-pr109765.test
index 7bd6556..d656d56 100755
--- a/tests/extra10.test
+++ b/tests/dist-pr109765.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2010  Free Software Foundation, Inc.
+# Copyright (C) 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
@@ -14,31 +14,31 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Check that wildcards in EXTRA_DIST are honoured.
-# Suggested by observations from Braden McDaniel.
+# Expose automake bug#10975: when several "dist-*" targets are invoked
+# on the make command line, the first one ends up removing the distdir,
+# so that the latter ones fail.
 
-required=GNUmake
+required=bzip2
 . ./defs || Exit 1
 
 set -e
 
 echo AC_OUTPUT >> configure.in
+: > Makefile.am
+
+$ACLOCAL  || fatal_ "aclocal failed"
+$AUTOCONF || fatal_ "autoconf failed"
+$AUTOMAKE || fatal_ "automake failed"
 
-cat > Makefile.am <<'END'
-EXTRA_DIST=*.foo
-.PHONY: test
-test: distdir
-       diff a.foo $(distdir)/a.foo
-       diff b.foo $(distdir)/b.foo
-       test ! -r $(distdir)/c.bar
-END
-
-$ACLOCAL
-$AUTOMAKE
-$AUTOCONF
-
-echo aaa > a.foo
-echo bbb > b.foo
-echo ccc > c.foo
 ./configure
-$MAKE test
+$MAKE dist-gzip dist-bzip2
+
+gzip -dc $distdir.tar.gz | tar tf - > one || { cat one; Exit 1; }
+cat one
+bzip2 -dc $distdir.tar.gz | tar tf - > two || { cat two; Exit 1; }
+cat two
+
+$FGREP "$distdir/Makefile.am" one
+diff one two
+
+:
diff --git a/tests/list-of-tests.mk b/tests/list-of-tests.mk
index 420b56b..023bf3b 100644
--- a/tests/list-of-tests.mk
+++ b/tests/list-of-tests.mk
@@ -332,6 +332,7 @@ dist-included-parent-dir.test \
 dist-missing-am.test \
 dist-missing-included-m4.test \
 dist-missing-m4.test \
+dist-pr109765.test \
 distcleancheck.test \
 distcom2.test \
 distcom3.test \


hooks/post-receive
-- 
GNU Automake



reply via email to

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