[Top][All Lists]

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

[automake-commit] branch master updated: Use complete’s in

From: Zack Weinberg
Subject: [automake-commit] branch master updated: Use complete’s in testsuite.
Date: Wed, 07 Oct 2020 09:25:04 -0400

This is an automated email from the git hooks/post-receive script.

zackw pushed a commit to branch master
in repository automake.

View the commit online:;a=commitdiff;h=9f83372ba3406587100b043f6d6f266eaaeada4f

The following commit(s) were added to refs/heads/master by this push:
     new 9f83372  Use complete’s in testsuite.
9f83372 is described below

commit 9f83372ba3406587100b043f6d6f266eaaeada4f
Author: Zack Weinberg <>
AuthorDate: Wed Oct 7 09:19:06 2020 -0400

    Use complete’s in testsuite.
    Autoconf 2.70 will issue warnings if it encounters a that 
    call both AC_INIT and AC_OUTPUT.
    Automake already issues warnings if it encounters a that uses 
    AM_ macro but doesn’t call AM_INIT_AUTOMAKE or AC_CONFIG_FILES([Makefile]).
    In two places, the testsuite was tripping these warnings, leading to 
    failures with Autoconf 2.70 betas.
    * t/ Add AC_OUTPUT to test
    * t/ Use a complete test, not a stub
      containing only a use of AM_PROG_MKDIR_P.
 t/ |  1 +
 t/          | 11 +++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/t/ b/t/
index c3d49d5..ec9efe0 100644
--- a/t/
+++ b/t/
@@ -25,6 +25,7 @@ cat > <<'END'
 AM_INIT_AUTOMAKE([twoargs], [1.0])
diff --git a/t/ b/t/
index 337ae30..a356bf1 100644
--- a/t/
+++ b/t/
@@ -19,12 +19,19 @@
-echo AM_PROG_MKDIR_P >>
+cat > <<'END'
+AC_INIT([test], [1.0])
 : >
 grep_err ()
-  loc='^'
+  loc='^'
   grep "$loc.*AM_PROG_MKDIR_P.*deprecated" stderr
   grep "$loc.* use .*AC_PROG_MKDIR_P" stderr
   grep "$loc.* use '\$(MKDIR_P)' instead of '\$(mkdir_p)'.*Makefile" stderr

reply via email to

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