[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-178-
From: |
Ralf Wildenhues |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-178-g7c96a2c |
Date: |
Sun, 23 May 2010 12:38:07 +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=7c96a2cd2144a44cfb326ff56fb8822f5be198a5
The branch, master has been updated
via 7c96a2cd2144a44cfb326ff56fb8822f5be198a5 (commit)
via 8479c9adb993b3ce37c8dc112e294a80f82b4f32 (commit)
via 4f1334cfd89878c1dc0eb9fd01d4ca08543ade9a (commit)
via 2a76de290642486273507e6924c43c65ca7fe0c5 (commit)
via a40eb1403710a195e93ea954468788b77d31f68b (commit)
via d137a68c3c38a896d62ed6c5725c705b82f6b5d6 (commit)
via c95cff68735bfe3be55934a6f172eb89ab3d07d0 (commit)
via 5eb0bf21fba328450fbf41d19ed2e592ba4506f2 (commit)
via 4296aecdd1d65ca2be00e7359acd507df5633370 (commit)
from 83d7976fb25025797ed1271c68e5c8c148c40f91 (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 7c96a2cd2144a44cfb326ff56fb8822f5be198a5
Author: Ralf Wildenhues <address@hidden>
Date: Sun May 23 14:34:29 2010 +0200
Relax silent8.test for NetBSD make.
* tests/silent8.test: Accept ./foo.info in output as well.
Signed-off-by: Ralf Wildenhues <address@hidden>
commit 8479c9adb993b3ce37c8dc112e294a80f82b4f32
Merge: 83d7976fb25025797ed1271c68e5c8c148c40f91
4f1334cfd89878c1dc0eb9fd01d4ca08543ade9a
Author: Ralf Wildenhues <address@hidden>
Date: Sun May 23 14:32:39 2010 +0200
Merge branch 'maint'
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 30 +++++++++++++++++++++++++++++-
Makefile.am | 3 ++-
Makefile.in | 3 ++-
doc/automake.texi | 5 +++++
tests/configure.test | 7 +++++++
tests/conflnk3.test | 39 +++++++++++++++++----------------------
tests/dejagnu7.test | 6 ++++--
tests/extra10.test | 1 +
tests/extra11.test | 1 +
tests/extra12.test | 1 +
tests/silent8.test | 7 ++++---
11 files changed, 73 insertions(+), 30 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 71b0d9b..8fc9b2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,32 @@
+2010-05-23 Ralf Wildenhues <address@hidden>
+
+ Relax silent8.test for NetBSD make.
+ * tests/silent8.test: Accept ./foo.info in output as well.
+
+ Fix unportable sed script in maintainer-check test.
+ * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
+ not contain semicolon after 'b' or brace commands, for NetBSD.
+
+ Wildcards are not portable to NetBSD make.
+ * doc/automake.texi (Wildcards): Document portability issue.
+ * tests/extra10.test, tests/extra11.test, tests/extra12.test:
+ Require GNU make.
+
+2010-05-23 Stefano Lattarini <address@hidden>
+
+ Make test for configure.in vs. configure.ac stricter.
+ * tests/configure.test: Use a configure.in file that provokes
+ an automake error, to ensure configure.ac is preferred.
+
+ Avoid possible false negatives in dejagnu7.test.
+ * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
+ unportable use of fgrep option `-e'.
+
+ * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
+ instead of respectively `test -e FILE' and `test ! -e FILE',
+ since Solaris Sh doesn't grok the latter. Do not SKIP the test
+ if the shell doesn't support `test -e'.
+
2010-04-25 Ralf Wildenhues <address@hidden>
Warning and error message formatting cleanups.
@@ -188,7 +217,6 @@
2010-04-11 Stefano Lattarini <address@hidden>
Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
-
* tests/confh5.test: In the generated Makefile.am: do not use
`test ! -e FILE' to check for the non-existence of a file, since
that is not supported by Solaris/Heirloom Sh.
diff --git a/Makefile.am b/Makefile.am
index 829418b..2f1901e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -376,7 +376,8 @@ sc_tests_here_document_format:
## Ignore comments, and ignore one perl line in ext2.test.
sc_tests_Exit_not_exit:
@found=false; for file in $(srcdir)/tests/*.test; do \
- res=`sed -n '/^#/d; /^\$$PERL/d; /<<.*END/,/^END/{b;};
/<<.*EOF/,/^EOF/{b;}; /exit [$$0-9]/p' $$file`; \
+ res=`sed -n -e '/^#/d; /^\$$PERL/d' -e '/<<.*END/,/^END/b' \
+ -e '/<<.*EOF/,/^EOF/b' -e '/exit [$$0-9]/p' $$file`; \
if test -n "$$res"; then \
echo "$$file:$$res"; \
found=true; \
diff --git a/Makefile.in b/Makefile.in
index f1c07ba..b4f4b3e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1110,7 +1110,8 @@ sc_tests_here_document_format:
sc_tests_Exit_not_exit:
@found=false; for file in $(srcdir)/tests/*.test; do \
- res=`sed -n '/^#/d; /^\$$PERL/d; /<<.*END/,/^END/{b;};
/<<.*EOF/,/^EOF/{b;}; /exit [$$0-9]/p' $$file`; \
+ res=`sed -n -e '/^#/d; /^\$$PERL/d' -e '/<<.*END/,/^END/b' \
+ -e '/<<.*EOF/,/^EOF/b' -e '/exit [$$0-9]/p' $$file`; \
if test -n "$$res"; then \
echo "$$file:$$res"; \
found=true; \
diff --git a/doc/automake.texi b/doc/automake.texi
index 48bf33a..9d400e9 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -10644,6 +10644,11 @@ even though a file is missing. By listing files,
@samp{make dist}
@emph{will} complain.
@item
+Wildcards are not portable to some non-GNU @command{make} implementations,
+e.g., NetBSD @command{make} will not expand globs such as @samp{*} in
+prerequisites of a target.
+
address@hidden
Finally, it's really hard to @emph{forget} to add a file to
@file{Makefile.am}: files that are not listed in @file{Makefile.am} are
not compiled or installed, so you can't even test them.
diff --git a/tests/configure.test b/tests/configure.test
index 50a034f..f7ee977 100755
--- a/tests/configure.test
+++ b/tests/configure.test
@@ -35,6 +35,13 @@ AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EOF
+cat >configure.in <<EOF
+AC_INIT([configure], [1.0])
+AM_INIT_AUTOMAKE([an-invalid-automake-option])
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+EOF
+
: >Makefile.am
$ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
diff --git a/tests/conflnk3.test b/tests/conflnk3.test
index 6dfbe1b..00e9da2 100755
--- a/tests/conflnk3.test
+++ b/tests/conflnk3.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2010 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
@@ -21,22 +21,17 @@
set -e
-# Skip platforms where `test -e' does not work. (Note that Changing
-# all `test -e' into `test -h' will not work when AC_CONFIG_LINKS
-# copies or hardlinks files.)
-(test -e configure.in) >/dev/null 2>&1 || Exit 77
-
cat > Makefile.am << 'END'
SUBDIRS = sdir
test: distdir
- test ! -e $(distdir)/sdir/dest3
- test ! -e $(distdir)/sdir/dest2
- test ! -e $(distdir)/dest3
- test ! -e $(distdir)/dest2
+ test ! -r $(distdir)/sdir/dest3
+ test ! -r $(distdir)/sdir/dest2
+ test ! -r $(distdir)/dest3
+ test ! -r $(distdir)/dest2
test -f $(distdir)/src2
## src3 cannot be distributed, Automake knows nothing about it
- test ! -e $(distdir)/sdir/src3
- test ! -e $(distdir)/src3
+ test ! -r $(distdir)/sdir/src3
+ test ! -r $(distdir)/src3
END
: > src
@@ -69,20 +64,20 @@ grep my_src_dir Makefile.in && Exit 1
grep my_dest Makefile.in && Exit 1
./configure
-test -e sdir/dest2
-test -e sdir/dest3
-test -e dest
-test -e dest4
-test -e dest5
+test -r sdir/dest2
+test -r sdir/dest3
+test -r dest
+test -r dest4
+test -r dest5
$MAKE test
$MAKE distclean
-test ! -e sdir/dest2
-test ! -e sdir/dest3
-test -e dest # Should still exist, Automake knows nothing about it.
-test -e dest5 # ditto
+test ! -r sdir/dest2
+test ! -r sdir/dest3
+test -r dest # Should still exist, Automake knows nothing about it.
+test -r dest5 # ditto
rm -f dest dest5
-test ! -e dest4
+test ! -r dest4
## Cannot do the following, because at the time of writing Autoconf
## (2.59) does not support AC_CONFIG_LINKS source in the build tree.
diff --git a/tests/dejagnu7.test b/tests/dejagnu7.test
index 9abd428..552c2ca 100755
--- a/tests/dejagnu7.test
+++ b/tests/dejagnu7.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 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
@@ -20,8 +20,10 @@
required=runtest
. ./defs || Exit 1
+set -e
+
# Check whether DejaGnu supports --status
-runtest --help | $FGREP -e --status || Exit 77
+runtest --help | grep '.*--status' || Exit 77
cat > failtcl << 'END'
#! /bin/sh
diff --git a/tests/extra10.test b/tests/extra10.test
index 16d06a3..7bd6556 100755
--- a/tests/extra10.test
+++ b/tests/extra10.test
@@ -17,6 +17,7 @@
# Check that wildcards in EXTRA_DIST are honoured.
# Suggested by observations from Braden McDaniel.
+required=GNUmake
. ./defs || Exit 1
set -e
diff --git a/tests/extra11.test b/tests/extra11.test
index 14dda42..a0c55ca 100755
--- a/tests/extra11.test
+++ b/tests/extra11.test
@@ -17,6 +17,7 @@
# Check for more complex usage of wildcards in EXTRA_DIST.
# Suggested by observations from Braden McDaniel.
+required=GNUmake
. ./defs || Exit 1
set -e
diff --git a/tests/extra12.test b/tests/extra12.test
index 72b918c..db3bcc7 100755
--- a/tests/extra12.test
+++ b/tests/extra12.test
@@ -18,6 +18,7 @@
# $srcdir != $builddir, if properly declared.
# Suggested by observations from Braden McDaniel.
+required=GNUmake
. ./defs || Exit 1
set -e
diff --git a/tests/silent8.test b/tests/silent8.test
index 2546775..6833840 100755
--- a/tests/silent8.test
+++ b/tests/silent8.test
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010 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
@@ -50,7 +50,8 @@ $MAKE V=0 dvi html info ps pdf >stdout || { cat stdout; Exit
1; }
cat stdout
grep 'DVIPS foo.ps' stdout || Exit 1
grep 'MAKEINFO foo.html' stdout || Exit 1
-grep 'MAKEINFO foo.info' stdout || Exit 1
+# NetBSD make will print `./foo.info' instead of `foo.info'.
+grep 'MAKEINFO.*foo.info' stdout || Exit 1
grep 'TEXI2DVI foo.dvi' stdout || Exit 1
grep 'TEXI2PDF foo.pdf' stdout || Exit 1
@@ -59,7 +60,7 @@ $MAKE clean || Exit 1
$MAKE V=1 dvi html info ps pdf >stdout || { cat stdout; Exit 1; }
grep 'DVIPS foo.ps' stdout && Exit 1
grep 'MAKEINFO foo.html' stdout && Exit 1
-grep 'MAKEINFO foo.info' stdout && Exit 1
+grep 'MAKEINFO.*foo.info' stdout && Exit 1
grep 'TEXI2DVI foo.dvi' stdout && Exit 1
grep 'TEXI2PDF foo.pdf' stdout && Exit 1
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-178-g7c96a2c,
Ralf Wildenhues <=