tests: improve tests on "maintainer-clean" target
[platform/upstream/automake.git] / ChangeLog
1 2011-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
2
3         tests: improve tests on "maintainer-clean" target
4         * tests/aclocal6.test: Move checks related to "maintainer-clean"
5         functionalities into ...
6         * tests/maintclean-vpath.test: ... this new test.
7         * tests/maintclean.test: Update heading comments.  Extend to also
8         test subdirs.  Remove useless disabling of YACC.  Fix m4 quoting
9         in configure.in.  Add a trailing `:' command.  Remove extra blank
10         lines.
11         * tests/Makefile.am (TESTS): Update.
12
13 2011-03-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
14
15         tests: fix unindent to use printf not echo for script.
16         * tests/defs.in: Use printf rather than echo, as the latter may
17         interpret the backslashes in the sed script.  Fixes test
18         failures with dash as /bin/sh.
19
20 2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
21             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
22
23         maintcheck: look for problematic names of testcases
24         The configure.in stub created by default by `tests/defs' obtains
25         the first argument of AC_INIT from the test name, and this can
26         cause some supported autoconf versions to fail with a spurious
27         error if that test name contains the name of an m4 or m4sugar
28         builtin or macro (e.g., `defn' or `m4_undefine').
29         See for example the bug fixed by commit v1.11-287-g1325a8a.
30         This change add a maintainer check that warns about test names
31         which are possibly problematic in this regard.
32         * Makefile.am (sc_test_names): New maintainer-check target.
33         (syntax_check_rules): Add it.
34         (m4_builtins): New helper variable.
35         (TESTS): Updated according to the following renamings.
36         * tests/include.test: Renamed ...
37         * tests/hdr-vars-defined-once.test: ... to this.
38         * tests/sinclude.test: Renamed ...
39         * tests/m4-inclusion.test: ... to this, and simplified
40         accordingly.
41         * tests/include2.test: Renamed ...
42         * tests/dist-included-parent-dir.test: ... to this, for
43         consistency.
44
45 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
46
47         tests: fix bug in alloca*.test
48         * tests/alloca.test: Make grepping of automake stderr stricter,
49         add a trailing `:' command; also, add AC_PROG_CC to configure.in,
50         and create a dummy alloca.c file, to ensure that we fail for the
51         proper reason.
52         * tests/alloca2.test: Likewise.  Also, look for LT_INIT, not
53         AC_PROG_LIBTOOL, in the error message (bug introduced with commit
54         v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
55         primary is used").
56         From a report by Patrick Welche.
57
58 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
59
60         tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
61         * tests/comments-in-var-defn.test: The configure.in stub created
62         by default, which has the AC_INIT first argument obtained by the
63         test name, causes autoconf 2.62 to fail with a spurious error
64         message like: "configure.in:1: error: defn: undefined macro:".
65         Thus, to prevent this, the test is renamed to ...
66         * tests/comments-in-var-def.test: ... this.
67         * tests/Makefile.am (TESTS): Updated.
68
69 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
70
71         cosmetics: convert encoding from ISO-8859 to UTF-8
72         * ChangeLog.03: Convert encoding to UTF-8.
73         * ChangeLog.96: Likewise.
74         * ChangeLog.98: Likewise.
75         * NEWS: Likewise.
76         * TODO: Likewise.
77
78 2011-03-01  Peter Rosin  <peda@lysator.liu.se>
79
80         test defs: unindent without temporary file
81         * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
82         that strips the "proper" amount of leading whitespace.
83         (unindent): Lazily strip comments from the above program and use it
84         to unindent without using a temporary file.
85
86 2011-02-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
87
88         libtool: suggest LT_INIT if LTLIBRARIES primary is used
89         When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
90         defined, automake suggested to add a call to AC_PROG_LIBTOOL
91         in configure.ac.  But that macro is deprecated since Libtool
92         version 1.9b (2004-08-29), in favor of the newer LT_INIT.  So
93         suggest the use of this latter macro instead.
94         * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
95         with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
96         * libtool4.test: Adjust and extend.  Also, add a call to macro
97         AC_PROG_CC in configure.in, to help ensuring that automake does
98         not fail for the wrong reasons.
99         * ltinit.test: New test, ensure that automake's libtool support
100         works with LT_INIT-based interface.
101         Thanks to Jack Kelly for the suggestion.
102
103 2011-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
104
105         tests: tempdirs with restrictive permissions are cleaned correctly
106         Before this change, the removal of a temporary test directory
107         containing subdirectories with restrictive permissions (such as
108         'r--r--r--') could fail.
109         * tests/defs: Ensure that all the subdirectories of a temporary
110         test directory have the 'read', 'write' and 'execute' bits set,
111         before trying to remove it with `rm -rf'.
112         * tests/Makefile.am (clean-local-check): Likewise.
113
114 2011-02-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
115             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
116
117         test defs: add subroutine for input unindenting
118         * tests/defs.in (unindent): New subroutine.
119
120 2011-02-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
121
122         python: report the 'PYTHON' influential environment variable
123         * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
124         * doc/automake.texi (Python): Update and extend.
125         * tests/help-python.test: New test.
126         * tests/Makefile.am (TESTS): Update.
127         * THANKS (Jack Kelly): Update e-mail address.
128         Suggestion by Jack Kelly.
129
130 2011-02-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
131
132         tests defs: clear TESTS_ENVIRONMENT variable
133         * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
134         from environment won't interfere with the testcases.
135         Suggestion by Ralf Wildenhues.
136
137 2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
138
139         tests: tweak few tests on simple and parallel test drivers
140         * tests/check-exported-srcdir.test: Improve heading comments.
141         * tests/check-tests-in-builddir.test: Likewise.  Also, unset the
142         `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
143         environment won't risk to interfere with the test.
144         Suggestions by Ralf Wildenhues.
145
146 2011-02-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
147
148         coverage: more tests on simple and parallel test drivers
149         * tests/parallel-tests-subdir.test: New test.
150         * tests/check-exported-srcdir.test: Likewise.
151         * tests/check-tests-in-builddir.test: Likewise.
152         * tests/check-tests_environment.test: Likewise.
153         * tests/Makefile.am (TESTS): Update.
154
155 2011-01-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
156
157         tests: fix spurious failures in lflags*.test
158         * tests/lflags.test: Remove 'LEX' from the environment, so
159         that it won't be erroneously picked up by `make -e'.
160         * tests/lflags2.test: Likewise.
161
162 2011-01-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
163
164         docs: color-tests issues with parallel make
165         * doc/automake.texi (Simple Tests): Document that automatic
166         recognition of a capable terminal attached to stdout can fail
167         with some make implementation when running in parallel mode,
168         thus causing colored test output not to be automatically
169         activated when it should.
170
171 2011-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
172
173         tests: avoid instspc.test failures due to make's whitespace trimming
174         * tests/instspc.test: Prepend './' when passing the test
175         characters, to avoid leading whitespace characters to be trimmed
176         from macros set from environment variables.  Fixes testsuite
177         failures with HP-UX, IRIX, and Tru64/OSF make.
178
179 2011-01-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
180
181         coverage: test semantics of "dummy" per-target flags
182         * tests/specflg-dummy.test: New test, ensuring that even "dummy"
183         per-target flags triggers the use of renamed objects.
184         * tests/Makefile.am (TESTS): Update.
185         Suggestion by Ralf Wildenhues.
186
187 2011-01-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
188
189         tests defs: sanitize IFS
190         * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
191         ($sp): New variable, holding a single whitespace character.
192         ($tab): New variable, holding a tabulation character.
193         ($nl): New variable, holding a newline character.
194
195 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
196
197         tests: fix VPATH auto-expansion workarounds.
198         * tests/parallel-tests8.test, tests/suffix13.test:
199         Ensure $< is not surrounded by white space, to prevent Solaris
200         make from applying automatic VPATH text expansion.
201
202 2011-01-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
203
204         tests: fix spurious failures in yflags*.test
205         * tests/yflags.test: Remove 'YACC' from the environment, so
206         that it won't be erroneously picked up by `make -e'.
207         * tests/yflags2.test: Likewise.
208
209 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
210
211         tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
212         * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
213         `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
214         up its internal memory when copying this tree.
215
216 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
217             Stefano Lattarini  <stefano.lattarini@gmail.com>
218
219         Add comment to check-TESTS rule working around make 3.80 bug.
220         * lib/am/check.am (check-TESTS): Update comment.
221
222 2011-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
223
224         tests: less strict double-colon spy.test again.
225         * tests/spy.test: We know BSD make doesn't invoke more than one
226         double-colon rule, so no need to expose that failure.
227
228 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
229
230         install-sh: avoid Tru64 sh `test' operator precedence issues.
231         * lib/install-sh: Protect file names and directory components
232         that consist of `=', `(', `)', or `!'.  Move protection as early
233         as possible, to avoid errors such as with Tru64 sh `test -z ='.
234         * tests/instsh2.test: Extend test to cover more possibilities.
235         Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
236
237 2011-01-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
238             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
239
240         docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
241         * doc/automake.texi (Simple Tests): Do not claim Automake uses
242         TESTS_ENVIRONMENT for the perl driver.  Instead, point to the
243         parallel-tests driver.
244
245 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
246
247         Allow _AM_DEPENDENCIES to be used later in configure.
248         * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
249         conftest.dir before recreating it.
250         Fixes bug#7864.
251         Report by Eric Blake, from report by Scott McCreary against M4.
252
253 2011-01-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
254
255         tests: avoid failure on w32 file systems.
256         * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
257         be turned unreadable.
258
259 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
260
261         tests: allow double-colon spy.test to work with HP-UX make.
262         * tests/spy.test: Fix comment typos.  Ensure prerequisites we
263         do not want to depend on are strictly older than the target.
264         Also test with a target out of date wrt. more than one rule.
265
266 2011-01-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
267
268         tests: remove useless requirements from cond36.test
269         * tests/cond36.test ($required): Remove.
270         Since we are at it, add a trailing `:' command.
271
272 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
273             Stefano Lattarini  <stefano.lattarini@gmail.com>
274
275         parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
276         * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
277         Test file readability before redirecting input from it, to avoid
278         exiting Tru64/OSF 5.1 sh which treats read as special builtin.
279         * tests/parallel-tests-unreadable-log.test: New test.
280         * tests/Makefile.am (TESTS): Update.
281         * NEWS: Update.
282
283 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
284
285         * NEWS, README: Update copyright years.
286
287         Fix parallel-tests.test failure with HP-UX make.
288         * tests/parallel-tests.test: Sleep inside inner tests, so logs
289         are newer than logs of tests they depend on, for HP-UX make.
290
291 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
292
293         docs: ensure example are separated with empty lines in the input
294         * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
295         (API Versioning, Renamed Objects, Multiple Outputs): Add empty
296         lines before `@example' and after `@end example' lines, so info
297         output is rendered correctly, and a following @noindent honored.
298         Report by Stefano Lattarini.
299
300 2011-01-15  Jim Meyering <meyering@redhat.com>
301
302         tests: fix comment typo
303         * tests/substref.test: Fix grammar in a comment.
304
305 2011-01-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
306
307         tests: fix spurious failures in two texinfo tests
308         * tests/txinfo.test ($required): Add 'makeinfo'.
309         * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
310         that make won't try to run makeinfo (which could be unavailable)
311         to build it.
312         Found by NixOS Hydra, reported by Ralf Wildenhues.
313
314 2011-01-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
315
316         Avoid testsuite failures due to Autoconf Fortran change.
317         Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
318         require computing the canonical host name.  Ensure config.guess
319         and config.sub files are present for respective checks.
320         * tests/compile_f_c_cxx.test: Add stub files.
321         * tests/flibs.test: Likewise.
322         * tests/fort4.test: Use $AUTOMAKE -a for installing files.
323
324 2011-01-12   Stefano Lattarini  <stefano.lattarini@gmail.com>
325
326         docs: clustered '-d' not recognized in YFLAGS
327         This change fixes automake bug#7828.
328         * doc/automake.texi (Yacc and Lex): Document that automake
329         recognizes '-d' in AM_YFLAGS only if it's not clustered with
330         other options.
331         From a report by Юрий Пухальский.
332
333 2011-01-10   Stefano Lattarini  <stefano.lattarini@gmail.com>
334
335         tests: add checks on automatically-distributed files
336         Related to automake bug#7819.
337         * tests/autodist.test: New test.
338         * tests/autodist-subdir.test: Likewise.
339         * tests/autodist-acconfig.test: Likewise.
340         * tests/autodist-acconfig-no-subdir.test: Likewise.
341         * tests/autodist-aclocal-m4.test: Likewise.
342         * tests/autodist-config-headers.test: Likewise.
343         * tests/autodist-configure-no-subdir.test: Likewise.
344         * tests/autodist-stamp-vti.test: Likewise.
345         * tests/Makefile.am (TESTS): Update.
346
347 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
348
349         tests: work around a texi+cygnus bug causing a spurious XFAIL
350         * tests/txinfo5b.test: New test, like txinfo5.test but calling
351         automake with the `-Wno-override' option to work around a bug
352         in the texinfo + cygnus interaction.
353         * tests/txinfo5.test: Update heading comments.
354         * tests/Makefile.am (TEST): Updated.
355
356 2011-01-09  Dave Hart  <davehart@gmail.com>  (tiny change)
357
358         Fix another typo in Rule.pm comment.
359         * lib/Automake/Rule.pm: Fix typo.
360
361 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
362
363         Improve, extend and tweak tests on Texinfo support.
364         * tests/instdir-texi.test: Add a call to `ls -l' after that to
365         `make', for debugging.  When looking for required tools, do not
366         redirect the output of "$tool --help" to /dev/null, and do not
367         uselessly run it in a subshell.
368         * tests/txinfo.test: Rewritten to run autoconf, ./configure and
369         make.  All checks moved into Makefile.am.
370         * tests/txinfo8.test: Likewise, and modernize the generated
371         configure.in.
372         * tests/txinfo2.test: Moved checks into Makefile.am, and other
373         minor improvements.
374         * tests/txinfo5.test: Enable `errexit' shell flag, and related
375         changes.  Add trailing `:' command.
376         * tests/txinfo6.test: Likewise, and make grepping of generated
377         Makefile.in stricter.
378         * tests/txinfo7.test: Enable `errexit' shell flag, and related
379         changes.  Add trailing `:' command.  Do not add unnecessary stuff
380         to Makefile.am.
381         * tests/txinfo9.test: Verify that more targets which are expected
382         to be generated only once really are.  Make grepping less strict,
383         to avoid exposing too much internal details.  More minor changes.
384         * tests/txinfo16.test: Add trailing `:'.  Prefer cat over echo
385         for appending to configure.in.  Updated/fixed heading comments.
386         * tests/txinfo23.test: Likewise, and extended a little by making
387         it check that no info file is created in the $(srcdir).
388         * tests/txinfo24.test: Likewise.
389         * tests/txinfo25.test: Likewise.
390         * tests/txinfo18.test: Add trailing `:'.  Prefer cat over echo
391         for appending to configure.in.  Also, check that index files are
392         cleaned also by "make clean", not only by "make distclean".
393         * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
394         and added trailing `:' command.  This testcase also used to check
395         that automake ignores in-line comments when using variables, but
396         preserves them in the output; these checks (added in commit
397         "Release-1-7f-4-g9177ef8") do not really pertain to this test,
398         so they have been moved ...
399         * tests/comments-in-var-defn.test: ... into this new test.
400         * tests/txinfo4.test: Escape literal dots in grep regexps.  Add
401         trailing `:' command.
402         * tests/txinfo29.test: Likewise.  Relax grepping of generated
403         Makefile.in w.r.t. whitespaces.  Prefer `cat' over `echo' to
404         append to configure.in.
405         * tests/txinfo3.test: Likewise.
406         * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
407         make it stricter, sometimes laxer).  Move `set -e' setting just
408         after the inclusion of ./defs.  De-uglify a sed command.  Other
409         minor cosmetic improvements.
410         * tests/vtexi2.test: Make grepping of Makefile.in stricter.  Add
411         trailing `:' command.
412         * tests/vtexi3.test: New test on version.texi support.
413         * tests/vtexi4.test: Likewise.
414         * tests/Makefile.am (TESTS): Updated.
415
416 2011-01-09  Peter Rosin  <peda@lysator.liu.se>
417
418         Fix another typo in Rule.pm comment.
419         * lib/Automake/Rule.pm: Fix typo.
420
421 2011-01-09   Stefano Lattarini  <stefano.lattarini@gmail.com>
422
423         cosmetics: remove trailing whitespaces
424         * doc/automake.texi: Remove trailing whitespaces.
425         * tests/cond13.test: Likewise.
426         * tests/cond14.test: Likewise.
427         * tests/fort4.test: Likewise.
428         * tests/fort5.test: Likewise.
429         * tests/suffix7.test: Likewise.
430         * tests/vtexi2.test: Likewise.
431
432         automake: minor fixes in comments
433         * automake.in: Some minor fixes and enhancements in comments.
434
435 2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
436
437         Add test coverage for deleted header files.
438         * tests/depcomp6.test, tests/depcomp7.test: Update tests to
439         also check for the deleted header bug.  If no dependency
440         tracking mechanism could be found, SKIP rather than exit
441         successfully.  Use GNU style spacing and ANSI C prototypes.
442
443         Fix typos in Rule.pm comments.
444         * lib/Automake/Rule.pm: Fix typos in comments.
445
446         docs: split 'amhello Explained' node.
447         * doc/automake.texi (amhello Explained): Split node ...
448         (amhello's configure.ac Setup Explained)
449         (amhello's Makefile.am Setup Explained) : ... into these two.
450         (Top, Hello World): Adjust, and add @anchor for stable URL links.
451         Suggestion by Karl Berry in automake bug#7766.
452
453 2011-01-08  Karl Berry  <karl@freefriends.org>
454             Eric Blake  <eblake@redhat.com>
455
456         docs: reference defining directories in amhello node.
457         * doc/automake.texi (amhello Explained): Point to Autoconf
458         manual for how to convert directory values into macros.
459         (Optional): Fix grammar nit.
460
461 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
462
463         * NEWS: Fix typo (forgotten word).
464
465 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
466              Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
467
468         docs: how to work around checks on invalid primary/directory couples
469         * doc/automake.texi (Uniform): Document the blessed idiom which can
470         be used to work around automake checks on invalid primary/directory
471         couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
472
473 2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
474
475         Sync auxiliary files from upstream.
476         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
477         Sync from upstream.
478
479         Fix maintainer-check regression.
480         * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
481         environment.
482
483         Bump copyright years.
484         * aclocal.in (write_aclocal, version): Bump copyright years.
485         * automake.in (gen_copyright, version): Likewise.
486         * doc/automake.texi: Likewise.
487
488 2010-12-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
489             Stefano Lattarini  <stefano.lattarini@gmail.com>
490
491         Work around a bug in file-inclusion mechanism of Solaris make.
492         * automake.in (handle_single_transform): In the name of the
493         dependency file: collapse multiple slash characters into a single
494         one.
495         * tests/subobj11a.test: New test.
496         * tests/subobj11b.test: Likewise.
497         * tests/subobj11c.test: Likewise.
498         * tests/depcomp8a.test: Likewise.
499         * tests/depcomp8b.test: Likewise.
500         * tests/Makefile.am (TESTS): Updated.
501         * NEWS: Updated.
502         Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
503         patch and tests by Stefano Lattarini.
504
505 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
506
507         Fix two spurious testsuite failures on IRIX 6.5.
508         * tests/suffix13.test (Makefile.am): Account for VPATH issues on
509         weaker make implementations (e.g. IRIX 6.5).
510         * tests/parallel-tests8.test: Likewise, plus a required related
511         change.
512         Reported by Ralf Wildenhues.  The bugs have been there from the
513         first versions of the affected test scripts.
514
515 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
516
517         docs: cygnus mode doesn't require AM_CYGWIN32 macro.
518         * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
519         the AM_CYGWIN32 macro (and indeed hasn't required it since at
520         least commit Release-1-2-31-g3038064 "merged changes from
521         Cygnus" of 1997-08-25).
522
523 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
524
525         distlinksbrk.test: Work around botched "make -k".
526         * tests/distlinksbrk.test: Run "make" multiple times and grep
527         its output each time for a single error message, rather than
528         running "make -k" one single time and grepping its output for
529         all the expected error messages.  This should work around make
530         implementations with limited (broken?) `-k' support; for more
531         information, see these subthreads on the automake-patches list:
532           - 2010-11-15, "Testsuite failures on HP-UX 11.23",
533             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
534           - 2010-11-15, "Testsuite failures on IRIX 6.5",
535             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
536
537 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
538
539         Fix sed-related buglet in test "subdir5.test"
540         * tests/subdir5.test: Always terminate text passed to the
541         `i' sed command with a newline, to work around limitations
542         in e.g. older OpenBSD sed.
543
544 2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
545
546         docs: fix blunder in example about python extension modules
547         * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
548         not `quaternion_SOURCES', to declare the sources of python
549         extension module `quaternion.la'.
550
551 2010-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
552
553         docs: list LTLIBRARIES among Automake primaries
554         * doc/automake.texi (Uniform): List `LTLIBRARIES' among
555         the Automake primaries.
556
557 2010-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
558
559         Improve tests on generated portions of configure help screen.
560         * tests/help-depend.test: Grepping of configure help screen
561         relaxed to cater for possible line wrapping, and tightened in
562         other respects.
563         * tests/help-depend2.test: Likewise.
564         * tests/help-dmalloc.test: Likewise.
565         * tests/help-lispdir.test: Likewise.
566         * tests/help-maintainer.test: Likewise.
567         * tests/help-multilib.test: Likewise.
568         * tests/help-silent.test: Likewise.
569         * tests/help-upc.test: Likewise.
570         * tests/help-init.test: Grepping of configure help screen
571         tightened.
572
573 2010-12-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
574
575         Avoid running installed automake from 'libtool --help'.
576         * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
577         Together with fixed Libtool, this fixes check-coverage to not
578         invoke installed automake.
579
580 2010-11-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
581
582         Fix spurious failures in `silent*.test' for $CC != gcc
583         In some tests on automake-produced silent rules, we forced the
584         use of gcc depmode to improve testsuite coverage; but this has
585         unsurprisingly led to spurious failures when some non-GNU C
586         compilers were used.  So we are now careful to require GCC in
587         tests that force gcc depmode.
588         From reports by Ralf Wildenhues.
589         * silent5.test: Test removed, its content split into ...
590         * silent-many-generic.test, silent-many-gcc.test: ... these new
591         sister tests, the latter of which forces gcc depmode and lists
592         "gcc" in $required.
593         * silentlex.test: Test removed, its content split into ...
594         * silent-lex-generic.test, silent-lex-gcc.test: ... these new
595         sister tests, the latter of which forces gcc depmode and lists
596         "gcc" in $required.
597         * silentyacc.test: Test removed, its content split into ...
598         * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
599         sister tests, the latter of which forces gcc depmode and lists
600         "gcc" in $required.
601         * tests/Makefile.am (TESTS): Updated.
602
603 2010-11-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
604
605         Tests: consistently use "|| Exit 1" after ". ./defs".
606         * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
607         `. ./defs', for consistency with other tests.
608         * tests/autohdr2.test: Likewise.
609         * tests/autohdr3.test: Likewise.
610         * tests/autohdr4.test: Likewise.
611         * tests/cond23.test: Likewise.
612         * tests/cond24.test: Likewise.
613         * tests/cond25.test: Likewise.
614         * tests/cond26.test: Likewise.
615         * tests/cond27.test: Likewise.
616         * tests/cond28.test: Likewise.
617         * tests/cond29.test: Likewise.
618         * tests/cond30.test: Likewise.
619         * tests/cond31.test: Likewise.
620         * tests/cond32.test: Likewise.
621         * tests/cond33.test: Likewise.
622         * tests/cond34.test: Likewise.
623         * tests/cond35.test: Likewise.
624         * tests/cond36.test: Likewise.
625         * tests/cond37.test: Likewise.
626         * tests/cond38.test: Likewise.
627         * tests/cond39.test: Likewise.
628         * tests/cond40.test: Likewise.
629         * tests/cond41.test: Likewise.
630         * tests/cond42.test: Likewise.
631         * tests/cond43.test: Likewise.
632         * tests/cond44.test: Likewise.
633         * tests/cond45.test: Likewise.
634         * tests/dollarvar.test: Likewise.
635         * tests/dollarvar2.test: Likewise.
636         * tests/hfs.test: Likewise.
637         * tests/libobj14.test: Likewise.
638         * tests/percent.test: Likewise.
639         * tests/percent2.test: Likewise.
640         * tests/phony.test: Likewise.
641         * tests/silent.test: Likewise.
642         * tests/silent2.test: Likewise.
643         * tests/silent3.test: Likewise.
644         * tests/silent4.test: Likewise.
645         * tests/silent5.test: Likewise.
646         * tests/silent6.test: Likewise.
647         * tests/silent7.test: Likewise.
648         * tests/silent9.test: Likewise.
649         * tests/silentcxx.test: Likewise.
650         * tests/silentf77.test: Likewise.
651         * tests/silentf90.test: Likewise.
652         * tests/silentlex.test: Likewise.
653         * tests/silentyacc.test: Likewise.
654
655         Avoid useless cleaning in some `silent*.test' tests.
656         * tests/silentf77.test: Removed useless calls to "make clean"
657         and "make maintainer-clean".
658         * tests/silentf90.test: Likewise.
659         * tests/silent3.test: Removed useless call to "make distclean".
660         * tests/silent4.test: Likewise.
661         * tests/silent9.test: Likewise.
662
663 2010-11-19  Ian Lance Taylor  <iant@google.com>
664
665         Sync config-ml.in from GCC.
666         * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
667         compiler/flag environment variables.
668
669 2010-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
670
671         Automake::Config: remove extra trailing semicolon.
672         * lib/Automake/Config.in: Remove extra trailing semicolon.
673
674         help4.test: fix botched heading comment.
675         * tests/help4.test: Fixed the heading comment, since it
676         didn't correctly describe what checks the testcase was
677         supposed to perform.
678
679         help2.test: add checks on aclocal too.
680         * tests/help2.test: Check that also `aclocal --version' and
681         `aclocal --help' work with configure.in and acinclude.m4 both
682         broken.
683
684 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
685
686         Fix spurious failures of silent-rules tests with Sun Fortran.
687         * tests/silentf77.test: Strip from the make output some verbose
688         messages possibly printed by the SunStudio fortran compilers, to
689         avoid spurious failures.  Add a trailing `:' command.
690         * tests/silentf90.test: Likewise.
691
692 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
693
694         Fix spurious failures of silent5.test with Sun Fortran.
695         * tests/silent5.test: Strip from the make output some verbose
696         messages possibly printed by the SunStudio fortran compilers,
697         to avoid spurious failures.  This bug has been there from the
698         very first version of this test script.
699
700 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
701
702         Fix regression in colon{5,6}.test (failures on AIX 5.3).
703         * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
704         post-processing the generated Makefile.in, to work around a bug
705         of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
706         on the commend line.  Calls to `$MAKE' adjusted accordingly.
707         * tests/colon6.test: Likewise.
708         Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
709         improve and/or extend tests `colon*.test", and reported by Ralf
710         Wildenhues.
711
712 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
713
714         Fix regression in ansi.test (failure on AIX 5.3).
715         * tests/ansi.test: Remove redundant hackish check done using a
716         hand-postprocessed Makefile.in.  This check worked by setting
717         the `$(SHELL)' macro on the command line of make, but this is
718         not supported by the AIX 5.3 make implementation.
719         This bug has been lurking for a long time, and was activated by
720         commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
721         tests".  Report by Ralf Wildenhues.
722
723 2010-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
724
725         tests: avoid '##'-style comments inside recipe commands.
726         * tests/confh.test, tests/confh8.test: Remove
727         double-hash comments from makefile rule commands, they
728         are not part of the Automake API.
729
730 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
731
732         tests: work around dash quoting issue in case statements.
733         * tests/color.test, tests/color2.test: Quote variable in case
734         pattern, to avoid skipping tests with dash 0.5.5.1.
735
736 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
737
738         Rebuild menus in the manual.
739         * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
740         Thanks to Ian Lance Taylor for the suggestion.
741
742         Fix install-strip when $(STRIP) contains several words.
743         * lib/am/install.am (install-strip): Update comment.  Use
744         separate sub-make invocations for empty and nonempty $(STRIP),
745         to fix quoting issues.
746         * tests/strip2.test, tests/strip3.test: New tests.
747         * tests/Makefile.am (TESTS): Adjust.
748
749 2010-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
750
751         Fix yaccdry.test failure: require bison.
752         * tests/yaccdry.test: Require bison.
753         Found by NixOS Hydra.
754
755 2010-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
756
757         Fix a bug in variable concatenation with `+='.
758         * lib/Automake/VarDef.pm (append): Since the content of the
759         "appended-to" variable is going to be unconditionally normalized
760         later, simply separate the appended value with a single whitespace
761         character, instead of trying to be uselessly smarter by using
762         escaped newlines.  This fixes a bug in which extra backslashes
763         where erroneously inserted in the variable's final value.
764         * tests/pluseq11.test: New test, exposing the bug.
765         * tests/Makefile.am (TESTS): Update.
766         Reported by Andy Wingo.
767
768 2010-11-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
769
770         Fix bug in rules for creating vala vapi/header files.
771         * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
772         if control structure in a generated make rules.  Bug introduced
773         by previous commit `v1.11-221-gd7c1679', and revealed by failure
774         of test `vala2.test'.
775
776 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
777
778         Fix and document rules to not touch the tree with `make -n'.
779         * doc/automake.texi (Multiple Outputs): Document the problem of
780         modifications during dry-run execution, propose solution.
781         * NEWS: Update.
782         * automake.in (lang_vala_finish_target): Split recipe so the
783         stamp file is not removed with GNU `make -n'.
784         (lang_yacc_target_hook): Separate removal of parser output file
785         and header remaking.
786         * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
787         passed to make, take care not to remove any files in that case.
788         * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
789         %STAMP% file from induced remaking of config header.
790         * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
791         New tests.
792         * tests/Makefile.am (TESTS): Update.
793
794 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
795
796         Add FAQ entry for bug reporting instructions.
797         * doc/automake.texi (Reporting Bugs): New section.
798         (Introduction): Refer to it.
799
800 2010-10-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
801
802         Add support for newer python versions.
803         * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
804         _AM_PYTHON_INTERPRETER_LIST.  Since we are at it, break a long
805         line and fix indentation.
806         * THANKS: Updated.
807         From a report by Thomas Klausner.
808
809         Add test for `AM_WITH_DMALLOC' macro.
810         * tests/dmalloc.test: New test.
811         * tests/Makefile.am (TESTS): Update.
812
813         Fix nits and bugs in tests `help*.test'.
814         * tests/help4.test: Fix broken sed commands used to strip `-W...'
815         flags away from "$AUTOMAKE" and "$ACLOCAL".
816         * tests/help3.test: Likewise, and fix a botched comment.
817         * tests/help.test: Likewise.  Also, use "AUTOMAKE_fails ..."
818         instead of "$AUTOMAKE ... && Exit 1", for consistency and to
819         please maintainer-check.
820         * tests/help2.test: Likewise.
821
822 2010-10-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
823             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
824
825         Improve tests `help*.test' (also fixes maintcheck failures).
826         * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
827         flags stripped away rather than hard-coded `automake-$APIVERSION',
828         to better honour user-overrides.  Similarly for aclocal.
829         * tests/help2.test: Likewise.
830         * tests/help3.test: Likewise.
831         * tests/help4.test: Likewise.
832
833 2010-10-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
834
835         Document and fix expansion of variables before rules.
836         * doc/automake.texi (General Operation): Document that variables
837         are expanded before rules.
838         * lib/am/check.am (am__check_post): Reword a bit so it does not
839         get matched as a rule.
840         Suggestion by Ben Pfaff.
841
842 2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
843
844         Revert "parallel-tests: avoid command-line length limit issue."
845         This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
846         because it re-opened the bug fixed by v1.11-10-g218e678.
847
848         2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
849
850         parallel-tests: avoid command-line length limit issue.
851         * automake.in (handle_tests): New argument $makefile, new
852         substitution %MAKEFILE%.
853         (generate_makefile): Adjust.
854         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
855         sanitized TEST_LOGS value as makefile snippet on standard
856         input to $(MAKE), to avoid exceeding the command line limit on
857         w32 (MSYS).
858         * NEWS: Update.
859         Report by Bob Friesenhahn.
860
861 2010-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
862
863         Extend tests on `--help' and `--version' options.
864         * tests/help.test: Create a new empty directory and chdir into
865         it, rather than removing already present files.  Run the aclocal
866         and automake wrapper scripts directly, instead of relying on
867         $AUTOMAKE and $ACLOCAL.  Be sure to correctly match literal dots
868         in aclocal's and automake's stderr.  Add a trailing `:' command.
869         * tests/help2.test: New test, checking that options `--help' and
870         `--version' works in directories with broken `configure.in'.
871         * tests/help3.test: New test, checking that options `--help' and
872         `--version' take precedence on the other options.
873         * tests/help4.test: New test, checking that the first among the
874         `--help' and `--version' options to be specified on the command
875         line wins.
876         * tests/Makefile.am (TESTS): Updated.
877
878 2010-09-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
879
880         Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
881         * tests/compile2.test: Do no uselessly (implicitly) repeat the
882         computation of PATH_SEPARATOR again.
883         * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
884         extending/redefining PATH.
885         * tests/instmany-python.test: Likewise.
886         * tests/instmany.test: Likewise.
887         * tests/man4.test: Likewise.
888         * tests/mkinst3.test: Likewise.
889         * tests/mmodely.test: Likewise.
890         * tests/multlib.test: Likewise.
891         * tests/txinfo30.test: Likewise.
892         * tests/README (Section "Writing test cases" subsection "Do"):
893         Updated.
894         * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
895         (syntax_check_rules): Updated.
896
897         Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
898         * tests/defs.in ($APIVERSION):  New AC_SUBST'd variable.
899         ($ACLOCAL, $AUTOMAKE): Use it.
900         ($PATH_SEPARATOR):  New AC_SUBST'd variables.
901         ($PATH): Use it.
902
903 2010-09-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
904
905         Manual: be more agnostic w.r.t. version control system used.
906         * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
907         directories as a type of probably-unwanted files that are copied
908         regardless when adding directories to EXTRA_DIST.
909         (The dist Hook): Show a dist-hook example which removes Subversion
910         `.svn' private directories from distdir, rather than CVS private
911         directories.
912         (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
913         the version control system used.
914
915         Manual: index refer to target "git-dist", not "cvs-dist".
916         * doc/automake.texi (General Operation): Index the non-standard
917         example about "git-dist" under the "git-dist" label, not under
918         the "cvs-dist" one.
919
920         Perl modules: remove references to "Automake CVS repository".
921         * lib/Automake/Channels.pm: Update comments to refer to "Automke's
922         git repository" rather than to "Automake's CVS repository".
923         * lib/Automake/Configure_ac.pm: Likewise.
924         * lib/Automake/FileUtils.pm: Likewise.
925         * lib/Automake/Struct.pm: Likewise.
926         * lib/Automake/XFile.pm: Likewise.
927         * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
928         branches" rather than "CVS branches".
929
930         Remove obsolete .cvsignore files.
931         * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
932         lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
933         m4/.cvsignore, tests/.cvsignore: Files deleted.  Even when using
934         savannah's CVS readonly mirror there's no way to commit back to
935         the real repository, so this files are not worth maintaining or
936         keeping around.
937
938 2010-09-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
939
940         * m4/dmalloc.m4: Bump serial number and copyright years.
941
942 2010-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
943
944         Fix broken link in `AM_WITH_DMALLOC' help screen.
945         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
946         `http://www.dmalloc.com', not to the dmalloc tarball there (which
947         seems to have been removed, substituted by multiple release
948         tarballs now).
949
950 2010-09-17  Eric Blake  <eblake@redhat.com>
951
952         Avoid triple-space after period.
953         * automake.in (handle_single_transform): Avoid 3 spaces at
954         sentence end.
955         * ChangeLog.03: Likewise.
956         * lib/Automake/ChannelDefs.pm: Likewise.
957         * lib/Automake/Channels.pm (_print_message): Likewise.
958         * lib/Automake/Rule.pm (rule): Likewise.
959         * lib/Automake/Variable.pm (var): Likewise.
960         * lib/am/distdir.am: Likewise.
961         * tests/insthook.test: Likewise.
962
963 2010-09-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
964
965         Test automake-generated portions of configure help screen.
966         * tests/help-depend.test: New test.
967         * tests/help-depend2.test: Likewise.
968         * tests/help-dmalloc.test: Likewise.
969         * tests/help-init.test: Likewise.
970         * tests/help-lispdir.test: Likewise.
971         * tests/help-maintainer.test: Likewise.
972         * tests/help-multilib.test: Likewise.
973         * tests/help-regex.test: Likewise.
974         * tests/help-silent.test: Likewise.
975         * tests/help-upc.test: Likewise.
976         * tests/mmode.test: Remove tests on `configure --help' output,
977         they are superseded by tests in `help-maintainer.test'.
978         * tests/Makefile.am (TESTS): Update.
979
980 2010-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
981
982         * tests/README: Don't put GCS mandated tools in $required.
983
984 2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
985
986         * HACKING: Hint at old commits with `git describe' output.
987
988 2010-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
989
990         Fix regression in test `colon4.test'.
991         * tests/colon4.test: Fix botched editing to `configure.in'
992         that made the test useless.  Since we are at it, improve
993         comments and make grepping of generated Makefile.in slightly
994         stricter.
995         Regression introduced by change "Modernize, improve and/or
996         extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
997
998 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
999
1000         Do not require "gzip" explicitly in tests.
1001         The gzip utility is simply expected to be present on any decent
1002         target system for Automake.  So it's pointless to put it in
1003         $required.
1004         * tests/install2.test ($required): Do not require "gzip".
1005         * tests/lex3.test: Likewise.
1006         * tests/pr9.test: Likewise.
1007         From a suggestion by Ralf Wildenhues.
1008
1009         Make some `confh*.test' tests more "semantic" (plus tweakings).
1010         * tests/confh.test: Run "autoconf", "configure" and "make check",
1011         instead of munging/grepping the generated `Makefile.in'.
1012         * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1013         white spaces.  Do not create useless dummy source file `foo.c'
1014         and useless dummy header file `acconfig.h'.
1015         (configure.in): Remove superfluous call to `AC_OUTPUT'.
1016         * tests/confh6.test: Add trailing `:' command.
1017         * tests/confh7.test: In comments, add reference to ...
1018         * tests/confh8.test: ... this new test, "semantic" sister
1019         of `confh7.test'.
1020         * tests/Makefile.am (TESTS): Updated.
1021         Prompted by a report from Ralf Wildenhues.
1022
1023         Remove useless whitespace padding in XFAIL_TESTS definition.
1024         * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1025
1026 2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1027
1028         parallel-tests: avoid command-line length limit issue.
1029         * automake.in (handle_tests): New argument $makefile, new
1030         substitution %MAKEFILE%.
1031         (generate_makefile): Adjust.
1032         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1033         sanitized TEST_LOGS value as makefile snippet on standard
1034         input to $(MAKE), to avoid exceeding the command line limit on
1035         w32 (MSYS).
1036         * NEWS: Update.
1037         Report by Bob Friesenhahn.
1038
1039         Posix 2008 requires make to set errexit.
1040         * lib/am/check.am: Update comment.
1041
1042 2010-08-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
1043
1044         Fix bug in test missing6.test.
1045         * tests/missing6.test: Fix the hack used to edit `configure.in',
1046         to avoid producing a configure script that breaks with shells
1047         that do not support $LINENO.  Also throw in a couple of cosmetic
1048         changes.
1049
1050 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1051
1052         Improve robustness of mdate-sh script.
1053         * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1054         $ls_command is word-split properly upon invocation.
1055         (error): New function.
1056         (main): Use it.  Improve error checking to avoid endless loop
1057         in case $ls_command gave bogus output.  Fix eval quotation.
1058         * tests/mdate6.test: New test, to expose eval quotation error.
1059         * tests/Makefile.am: Update.
1060
1061 2010-08-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1062
1063         Fix potential regressions in depcomp{3,5}.test.
1064         * tests/depcomp3.test: Do not uselessly escape the character `$'
1065         in makefile rules, when it's used to expand a make macro.
1066         * tests/depcomp5.test: Likewise.
1067
1068 2010-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1069             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1070
1071         Docs: clarify how to avoid automatic dependencies tracking.
1072         * doc/automake.texi (Automatic dependency tracking): Mention that
1073         automatic dependencies tracking is enabled by default, but that
1074         the package developer can disable it altogether.  Add a reference
1075         to the proper section for a more in-depth explanation.
1076
1077         Fix typo in manual (`Makefile.in' instead of `Makefile.am').
1078         * doc/automake.texi (Automatic dependency tracking): Fix typo.
1079
1080 2010-08-16  Bruno Haible  <bruno@clisp.org>
1081
1082         Don't hide the table of contents.
1083         * doc/automake.texi: Move the table of contents to the beginning.
1084
1085 2010-08-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
1086
1087         Tweak and/or extend some `acloca*.test' tests.
1088         * tests/aclocal8.test:  Ensure verbose printing of captured
1089         output.
1090         * tests/aclocal.test: Likewise.  Also, add trailing `:'
1091         command.
1092         * tests/acloca19.test: Likewise.
1093         * tests/aclocal5.test: Add trailing `:' command, and prefer
1094         `$me' over hard-coded test name.
1095         * tests/aclocal6.test: Likewise.
1096         * tests/aclocal18.test: Add trailing `:' command, and make
1097         some grepping slightly stricter.
1098         * tests/acloca14.test: Likewise.  Also, prefer `diff' over
1099         `cmp', and add some "cosmetic" blank lines.
1100
1101 2010-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
1102
1103         Tweak and extend tests `pr[!0-9]*.test'.
1104         * tests/primary3.test: Add trailing `:' command.
1105         * tests/primary.test: Make grepping of Automake's stderr stricter.
1106         Also, add trailing `:' command, and cosmetic changes in spacing.
1107         * tests/primary2.test: Likewise.
1108         * tests/prefix.test: Enable `errexit' shell flags, and related
1109         changes.  Add a trailing `:' command.
1110         * tests/proginst.test: Likewise.
1111
1112         Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1113         * tests/pr2.test: Add trailing `:' command.
1114         * tests/pr229.test: Likewise.
1115         * tests/pr401.test: Likewise.
1116         * tests/pr401b.test: Likewise.
1117         * tests/pr401c.test: Likewise.
1118         * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1119         spacing.
1120         * tests/pr300-lib.test: Likewise.
1121         * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1122         of captured make stdout.
1123         * tests/pr211.test: Add trailing `:' command.  Also, use the
1124         `configure.in' stub created by ./defs, rather than writing it
1125         from scratch.
1126         * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1127         * tests/pr287.test: Likewise, and move setting of `errexit' shell
1128         flag earlier in the script (just after inclusion of ./defs).
1129         * tests/pr220.test: Make grepping of Automake's stderr stricter.
1130         Also, add trailing `:' command, and cosmetic changes in spacing.
1131         * tests/pr224.test: Move setting of `errexit' shell flag earlier
1132         in the script (just after inclusion of ./defs).  Do not export
1133         `CC=gcc' to configure explicitly (it's already exported globally
1134         in ./defs, since we have "gcc" in $required).  Use the stub for
1135         `configure.in' created by ./defs, rather than writing it from
1136         scratch.  Do not create dummy files required by "gnu" mode (e.g.
1137         README, NEWS), since we run automake in foreign mode anyway.
1138         * tests/pr72.test: Enable `errexit' shell flags, and related
1139         changes.  Extend existing checks a bit.
1140         * tests/pr9.test: Likewise.  Also, avoid obsolescent constructs in
1141         the generated `configure.in', and extend existing checks over the
1142         generated tarball a bit.
1143         * tests/pr87.test: Enable `errexit' shell flags, and related
1144         changes.  Add a trailing `:' command.  Also, do not create dummy
1145         files required by "gnu" mode (e.g. README, NEWS), since we run
1146         automake in foreign mode anyway.
1147         * tests/pr243.test: Avoid obsolescent constructs in the generated
1148         `configure.in'.  Enable the `errexit' shell flag, and related
1149         changes.  Cosmetic changes to spacing, add trailing `:' command,
1150         and add a "FIXME" comment.
1151         * tests/pr266.test: Likewise, and add explicit command line switch
1152         `--enable-dependecy-tracking' to the ./configure call.
1153         * tests/pr279.test: Avoid obsolescent constructs in the generated
1154         `configure.in'; also, use the `configure.in' stub created by
1155         ./defs, rather than writing it from scratch.  Enable `errexit'
1156         shell flag, and related changes.  Add trailing `:' command.
1157         * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1158         stricter.
1159         * tests/pr307.test: Move setting of `errexit' shell flag earlier
1160         in the script (just after inclusion of ./defs).  Escape literal
1161         dots in grep regular expressions.  Also, add a trailing `:'
1162         command, and cosmetic changes to spacing.
1163
1164         Tests for PR: add excerpts from original bug report, for clarity.
1165         * tests/pr2.test: Ditto.
1166         * tests/pr9.test: Likewise.
1167         * tests/pr72.test: Likewise.
1168         * tests/pr87.test: Likewise.
1169         * tests/pr211.test: Likewise.
1170         * tests/pr220.test: Likewise.
1171         * tests/pr224.test: Likewise.
1172         * tests/pr229.test: Likewise.
1173         * tests/pr243.test: Likewise.
1174         * tests/pr266.test: Likewise.
1175         * tests/pr279.test: Likewise, and tell to keep it in sync
1176         with its sister test.
1177         * tests/pr279-2.test: Likewise.
1178
1179 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1180
1181         Tweak, extend and improve tests `cond[a-z]*.test'.
1182         * tests/condd.test: Add trailing `:' command.  Typofix in
1183         comment.
1184         * tests/condhook.test: Make sure target `install-data-hook' is
1185         not called by `make install', but that data files are installed.
1186         Use proper m4 quoting in configure.in. Add trailing `:' command.
1187         * tests/condhook2.test: New test, sister test of condhook, with
1188         inverted semantic.
1189         * tests/condinc2.test: Use proper m4 quoting in configure.in.
1190         Prefer trailing `:' command over trailing `Exit 0'.
1191         * tests/condman2.test: Enable errexit shell flag, and related
1192         changes.  Add trailing `:' command.
1193         * tests/condman.test: Likewise.  Also, do not create useless
1194         dummy manpages, and use proper m4 quoting in configure.in.
1195         * tests/condman3.test: New test, similar to condman.test, but
1196         it also runs ./configure and "make install", and check the
1197         installed files.
1198         * tests/Makefile.am (TESTS): Updated.
1199
1200         Modernize, improve and/or extend tests `colon*.test.
1201         * tests/colon.test: Rely on the `configure.in' stub created by
1202         `./defs', rather than writing one from scratch.  Do not create
1203         a useless dummy file.  Add trailing `:' command.
1204         * tests/colon4.test: Enable the `errexit' shell flag, and
1205         related changes.  Rely on the `configure.in' stub created by
1206         `./defs', rather than writing one from scratch.
1207         * tests/colon7.test: Enable `errexit' shell flag, and related
1208         changes.  Improve the generated `configure.in' file.  Add
1209         trailing `:' command.
1210         * tests/colon2.test: Likewise.  Also, add some new checks.
1211         * tests/colon5.test: Improve the generated `configure.in' file.
1212         Add new, much deeper checks.  Add trailing `:' command.
1213         * tests/colon6.test: Likewise.
1214         * tests/colon3.test: Add trailing `:' command.  Remove useless
1215         comments and echos.  Improve the generated `configure.in' file.
1216         make some grepping tests stricter.  Add a "FIXME" comments about
1217         planned improvements.
1218
1219         Improve and extend tests `asm*.test'.
1220         * tests/asm.test: Use configure.in stub generated by ./defs,
1221         and avoid obsoleted autoconf constructs.  Make grepping of
1222         Automake stderr stricter.  Do not create useless source file.
1223         Improve verbose messages.  Minor cosmetic changes.  Tell to
1224         keep it in sync with other sister tests asm*.test.
1225         * tests/asm2.test: Likewise.
1226         * tests/asm3.test: Likewise.
1227
1228         Modernize, improve and/or extend test scripts `conf*.test'.
1229         * tests/confh5.test: Cosmetic changes.
1230         * tests/conff.test: Likewise.
1231         * tests/confdeps.test: Likewise.
1232         * tests/conflnk.test: Likewise.
1233         * tests/conflnk2.test: Likewise.
1234         * tests/confsub.test: Likewise.
1235         * tests/confvar.test: Likewise, and make grepping of Makefile.in
1236         stricter.
1237         * tests/confvar2.test: Likewise.
1238         * tests/conflnk3.test: Cosmetic changes.  Re-enable a temporarily
1239         disabled test (which didn't work with autoconf <= 2.59, but now we
1240         are requiring autoconf 2.62, so...)
1241         * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1242         accordingly to "TODO" comments.
1243         * tests/conff2.test: Make grepping of Automake's stderr stricter.
1244         Add some comments explaining why we don't use the `configure.in'
1245         stub preset be ./defs.
1246         * tests/confh.test: Use the `configure.in' stub created by ./defs,
1247         rather than writing one from scratch, and do not call AC_OUTPUT.
1248         Enable `errexit' shell flag, and related changes.  Prefer diff over
1249         cmp to compare text files. Prefer perl over sed to fetch the value
1250         of $(DIST_COMMON) from Makefile.in.  Make grepping of the contents
1251         of $(DIST_COMMON) stricter.
1252         * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1253         rather than writing one from scratch.  Make grepping of Makefile.in
1254         stricter.
1255         * tests/confh5.test: Make grepping of `config.h' stricter.  Add a
1256         comment.
1257         * tests/configure.test: Avoid obsolescent constructs in generated
1258         `configure.ac'.  Do not write `configure.in' two times.  Escape
1259         literal dots in grep regular expressions.
1260         * tests/confincl.test:  Enable `errexit' shell flag, and related
1261         changes.  Prefer fgrep over grep.  Other cosmetic changes.
1262         * tests/config.test: Renamed to ...
1263         * tests/confh6.test: ... this.  Fix m4 quoting in `configure.in',
1264         and make grepping of `config.h' and `config.h.in' stricter.
1265         * tests/conf2.test: Renamed ...
1266         * tests/confh7.test: ... to this.  Use the `configure.in' stub
1267         created by ./defs, rather than writing one from scratch.  Try to
1268         run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1269         `configure.in'.
1270         * tests/Makefile.am (TESTS): Updated.
1271
1272         Minor improvements and fixes in tests `depcomp*.test'.
1273         * tests/depcomp.test: Do not create useless dummy source files.
1274         Add a trailing `:' command.
1275         * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1276         it's not in in the environment, rather than exporting it with an
1277         empty value.  Do not pass CC=gcc to configure, as that's already
1278         done in ./defs since we have gcc in $required.  Ensure verbose
1279         printing of captured stderr, and normalize its checking.  Add a
1280         trailing `:' command.
1281         * tests/depcomp3.test: Quote literal dots and dollar characters in
1282         grep regexps.  Always use `: >' rather than `touch' to create empty
1283         files.  Explicitly declare phony targets as such in the created
1284         Makefile.am.  Add a trailing `:' command.
1285         * tests/depcomp4.test: Quote literal dots and dollar characters in
1286         grep regexp.  Explicitly declare phony targets as such in the
1287         created Makefile.am.  Ensure verbose printing of captured makes'
1288         stoud/stderr.  Add a trailing `:' command.
1289         * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1290         in the script (just after inclusion of ./defs).  Quote literal dots
1291         and dollar characters in grep regexps.  Explicitly declare phony
1292         targets as such in the created Makefile.am.  Add a trailing `:'
1293         command.
1294         * tests/depcomp6.test: Consistently use m4 quoting in the generated
1295         configure.in.  Cosmetic fixes to spacing.  Make the "dummy" `if'
1296         statement required by OpenBSD's sh `set -e' more robust, and add
1297         explanatory comments to it.
1298         * tests/depcomp7.test: Likewise, and add  a trailing `:' command.
1299
1300         Separate failing part of test `all.test'.
1301         * tests/all.test: Keep only (x)failing part of the test.  Working
1302         checks moved out to ...
1303         * tests/all2.test: ... this new test.
1304         * tests/Makefile.am (TESTS): Updated.
1305
1306         Modernize, improve and extend tests `subobj*.test'.
1307         * tests/subobjname.test:  Add trailing `:' command.
1308         * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1309         Escape literal dots in grep regexps.
1310         * tests/subobj2.test:  Add trailing `:' command.  Do not use the
1311         unportable fgrep option `-e'.
1312         * tests/subobj3.test: Add trailing `:' command.
1313         (configure.in): Use proper m4 quoting, and avoid obsolescent
1314         constructs.
1315         * tests/subobj8.test: Likewise.  Also, enable `errexit' shell
1316         flag, with related changes
1317         * tests/subobj4.test: Likewise.  Also, make grepping of
1318         `Makefile.in' stricter.
1319         * tests/subobj5.test: Add trailing `:' command.  Move setting of
1320         `errexit' shell flag earlier in the script (just after inclusion
1321         of ./defs).
1322         (configure.in): Use the stub created by `./defs', rather than
1323         writing it from scratch, and avoid obsolescent constructs.
1324         * tests/subobj6.test: Add trailing `:' command.  Move setting of
1325         `errexit' shell flag earlier in the script (just after inclusion
1326         of ./defs).  Do not create useless dummy ac-init file `f'.
1327         * tests/subobj7.test: Do not create useless dummy ac-init file
1328         `f'.
1329         (configure.in): Use the stub created by `./defs', rather than
1330         writing it from scratch, and avoid obsolescent constructs.
1331         * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1332         in the script (just after inclusion of ./defs).  Fail the test if
1333         `make distcheck' fails.  Ensure verbose printing of captured make
1334         stdout.  Avoid useless fork by doing simple grep instead of using
1335         test -n "`COMMAND | grep ...`".
1336         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1337         (Makefile.am): Explicitly mark target "print" as phony.
1338         * tests/subobj10.test: Removed duplicated call to `set -e'.  Add
1339         trailing `:' command.
1340         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1341
1342         Remove a couple of obsoleted tests.
1343         * tests/fpinstall.test: Removed.
1344         * tests/fpinst2.test: Likewise.
1345         * tests/Makefile.am (TESTS): Updated.
1346
1347         Bootstrap: updated HACKING entry.
1348         * HACKING ("Working with git"): Explain how to override the
1349         autoconf and autom4te programs used by the bootstrap process.
1350
1351         Bootstrap: fixlet.
1352         * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1353         since we don't generate it.  Correctly quote arguments of
1354         `eval' builtin.  Fixed a botched error message.  Removed an
1355         extra blank line.
1356
1357         Bootstrap: don't search perl in $PATH.
1358         * bootstrap: Do not explicitly search perl in $PATH anymore.
1359         ($PATH_SEPARATOR): Removed, it's no more needed.
1360
1361         Bootstrap: let the user choose which autoconf to use.
1362         * bootstrap ($AUTOCONF): New variable, from the environment.
1363         ($AUTOM4TE): Likewise, for clarity.
1364         Use "$AUTOCONF" instead of calling "autoconf" directly.
1365
1366         Minor improvements to tests ar*.test.
1367         * tests/ar.test: Add trailing `:' command.
1368         * tests/ar2.test: Likewise, and make grepping of generated
1369         Makefile.in stricter.
1370
1371 2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1372
1373         Fix maintainer-check failure.
1374         * tests/cond5.test: Quote sleep argument, this isn't about
1375         time stamp differences.
1376
1377         Sync auxiliary files from upstream.
1378         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1379         Sync from upstream.
1380
1381 2010-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1382
1383         Work around a nasty bug (segfault) of Solaris make.
1384         * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1385         from $list, to avoid triggering a nasty bug (potential segfault)
1386         on Solaris make.
1387
1388 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
1389
1390         Make cond5.test more robust on MSYS.
1391         * tests/cond5.test: Add delay before the first kill attempt to
1392         cater for problems with MSYS bash.
1393
1394 2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1395
1396         Add example git work flow; discuss merge --log in HACKING.
1397         * HACKING: Update.
1398         Suggestion by Stefano Lattarini.
1399
1400         Add more hints for debugging make rules.
1401         * doc/automake.texi (Debugging Make Rules): Show command to find
1402         out expanded values of variables; point to makefile debugger.
1403         * THANKS: Update.
1404         Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1405
1406 2010-07-27  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)
1407
1408         Fix typo in the manual.
1409         * doc/automake.texi (Scripts): Fix typo.
1410
1411 2010-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1412
1413         Document current policy for development with git.
1414         * HACKING (Working with git): Overhaul.
1415         Prompted by suggestion from Stefano Lattarini.
1416
1417         Fix AM_COND_IF for gone-invalid condition shell expression.
1418         * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1419         variable, rather than re-evaluating the shell expression for
1420         the condition.
1421         * tests/cond40.test: Extend test.
1422         * NEWS: Update.
1423
1424         Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1425         * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1426         to avoid shell syntax error if the m4 expansion is empty.
1427         * tests/cond40.test: Enhance test.
1428
1429         Coverage: bogus option to AM_INIT_AUTOMAKE.
1430         * tests/init2.test: New test.
1431         * tests/Makefile.am: Update.
1432
1433 2010-07-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1434
1435         Modernize and improve test scripts `subdir*.test'.
1436         * tests/subdir.test: Enable `errexit' shell flag, and related
1437         changes.  Use the `configure.in' stub created by `./defs',
1438         rather than writing one from scratch.
1439         * tests/subdir2.test: Likewise.
1440         * tests/subdir4.test: Likewise.
1441         * tests/subdir3.test: Enable `errexit' shell flag, and related
1442         changes.  Do not create useless dummy source files.
1443         * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1444         and in subdirs) stricter.  Some minor changes to keep it more
1445         in sync with the related test `subdir8.test'.
1446         * tests/subdir8.test: Likewise (but with the related test being
1447         `subdir5.test' here).
1448         * tests/subdir6.test: Cosmetic change in spacing.
1449         * tests/subdir9.test: Define and use new variable `$distdir'.  Add
1450         trailing `:' command.
1451         * tests/subdir10.test: Cosmetic consistency-related change.
1452         * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1453         (configure.in): Use stub created by `./defs', rather than writing
1454         it from scratch.  Do not use obsoleted and/or deprecated forms of
1455         autoconf/automake macros.
1456
1457         Modernize and improve test scripts `dist*.test'.
1458         * tests/distcleancheck.test: Do not add useless `-e' option to
1459         a $MAKE call.  Extend test by grepping stderr of make.
1460         * tests/distcom2.test: Do not run the same test script on the
1461         Makefile.in twice, but save its output in an intermediate file
1462         instead.  Make grepping of DIST_COMMON definition stricter.
1463         Display the content of more files, to ease debugging.  Add a
1464         trailing `:' command.  Improved heading comments w.r.t. sister
1465         test(s).
1466         * tests/distcom6.test: Likewise, and avoid to uselessly run
1467         autoconf.
1468         * tests/distcom3.test: Ensure verbose printing of captured stdout
1469         and stderr.  Make grepping of captured stderr stricter.  Also,
1470         add trailing `:' command.
1471         * tests/distcom4.test: Declare the target `test' in the generated
1472         Makefile.am as `.PHONY'.  Display content of more files, to ease
1473         debugging.  Add trailing `:' command.
1474         * tests/distcom5.test: Likewise.  Also, factor out common sed
1475         script in subroutine `extract_distcommon'.
1476         * tests/distcom7.test: Prefer cat + here-doc over echo to write
1477         test Makefile.am files.  Add a trailing `:' command.
1478         * tests/distname.test: Prefer `gzip -d' over `gunzip'.  Move the
1479         call to `set -e' earlier.  Be stricter and more verbose in the
1480         checking of the generated tarball.
1481         (configure.in): Use the stub provided by ./defs, instead of
1482         writing it from scratch.  Avoid obsoleted constructs.  Remove
1483         useless call to `AM_PROG_CC_C_O'.
1484         * tests/distdir.test: Various minor improvements/normalizations.
1485         * tests/distlinks.test: Likewise.
1486
1487 2010-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1488
1489         Improve and extend test cond5.test.
1490         * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1491         the background automake process, but poll it every 10 seconds for
1492         at most 30 times (this makes the test both faster on good machines,
1493         and more resilient to spurious timeout-due failures when in low
1494         priority or on heavily-loaded systems).
1495         Check also that automake writes the expected error messages on the
1496         standard error.
1497         Enable `errexit' flag, and related changes.
1498         Rely on the `configure.in' stub created by `./defs', rather than
1499         writing one from scratch.
1500
1501 2010-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1502
1503         Update program --help output to match current GCS.
1504         * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1505         is not defined, for compatibility to Autoconf < 2.64.
1506         * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1507         PACKAGE_URL.
1508         (sc_diff_automake_in_automake): Update number of diff lines for
1509         additional substitutions.
1510         * aclocal.in (usage): Use PACKAGE_BUGREPORT.  Point to Automake
1511         home page and GNU general help page.
1512         * automake.in (usage): Likewise.
1513         * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1514         address.
1515         (Introduction, Creating amhello, amhello Explained, Options):
1516         Use it throughout.
1517         * lib/Automake/Makefile.am (do_subst): Substitute
1518         PACKAGE_BUGREPORT.
1519         * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1520         * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1521         messages.
1522
1523         Clean up @var handling in the manual.
1524         * doc/automake.texi: Throughout the manual, lower-case @var
1525         names, replace a few one-character names.
1526
1527 2010-06-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
1528
1529         Fix typo-related bug in test script silent5.test.
1530         * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1531         defined).
1532
1533         Tests: remove useless repetitions of `foreign' automake option.
1534         * tests/multlib.test (configure.in): Remove useless use of
1535         `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1536         already in $AUTOMAKE by default, so no point in repeating it).
1537         * tests/subobj10.test: Likewise.
1538         * tests/subobj9.test: Likewise.
1539         * tests/lex3.test (Makefile.am): Similarly, remove useless use
1540         of `foreign' option in AUTOMAKE_OPTIONS.
1541         * tests/lex5.test: Likewise.
1542         * tests/pr279.test: Likewise.
1543         * tests/pr279-2.test: Likewise.
1544         * tests/specflg3.test: Likewise.
1545         * tests/target-cflags.test: Likewise.
1546
1547         Drop useless requirement "gzip" in lex5.test.
1548         * tests/lex5.test ($required): Do not list "gzip", as it's
1549         never used.
1550
1551 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
1552
1553         Fix bugs in test script silent5.test.
1554         * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1555         instead of egrep) that could have led to false negatives.
1556
1557 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1558
1559         Add a test checking that distributed broken symlinks cause
1560         `make dist' to fail.
1561         * tests/distlinksbrk.test: New test.
1562         * tests/Makefile.am (TESTS): Updated.
1563
1564 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1565
1566         Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1567         * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1568         and AM_LFLAGS, LFLAGS in the order in which they now appear in
1569         the rules.
1570         * NEWS: Update.
1571         * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1572         tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1573         please maintainer-check.  Ensure generated C files contain a
1574         declaration, to please compilers.
1575
1576 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1577
1578         Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1579         $(FLAGS) precedence.
1580         * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1581         "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1582         $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1583         * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1584         * NEWS: Updated.
1585
1586         New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1587         $(AM_FLAGS) and $(FLAGS) precedence.
1588         * tests/lflags.test: New test, check that user $(LFLAGS) takes
1589         precedence over automake (AM_LFLAGS) and (foo_LFLAGS).  Still
1590         xfailing.
1591         * tests/lflags2.test: Likewise.
1592         * tests/yflags.test: New test, check that user $(YFLAGS) takes
1593         precedence over automake (AM_YFLAGS) and (foo_YFLAGS).  Still
1594         xfailing.
1595         * tests/yflags2.test: Likewise.
1596         * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1597
1598 2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1599
1600         Modernize, improve and extend tests `suffix*.test'.
1601         * tests/suffix3.test: Enable `errexit' shell flag, and related
1602         changes.
1603         * tests/suffix4.test: Likewise.
1604         * tests/suffix6.test: Likewise, and do not create a useless dummy
1605         source file.
1606         * tests/suffix7.test: Likewise.
1607         * tests/suffix5.test: Enable `errexit' shell flag, and related
1608         changes.  Make grepping of Makefile.in slightly stricter.
1609         * tests/suffix.test: Enable `errexit' shell flag, and related
1610         changes.  Also, do not redirect grep output to /dev/null, as this
1611         might unmotivatedly hide useful information.
1612         * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1613         in the script (just after inclusion of ./defs).  Use a more
1614         idiomatic way to count text occurrences in Makefile.in with
1615         grep.  Do not create useless dummy source files.
1616         * tests/suffix10.test: Ensure verbose printing of captured make
1617         stdout.  Minor cosmetic changes.
1618         * tests/suffix8.test: Likewise.  Also, drop useless call to the
1619         env(1) utility, and make grepping of make output stricter by using
1620         $FGREP rather than plain grep.
1621         * tests/suffix11.test: Likewise.
1622         * tests/suffix12.test: Likewise.
1623         * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1624         the `configure.in' stub.  Cosmetic changes.
1625         * tests/suffix13.test: Cosmetic spacing change.
1626
1627 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
1628
1629         Add useful comment in test script ext.test.
1630         * tests/ext.test: Add a comment explaining why an apparently
1631         useless `if' statement is indeed required.
1632
1633         Add useful comment in test script obsolete.test.
1634         * tests/obsolete.test: Add a comment explaining why we need
1635         an indirection in adding $AUTOUPDATE to $required.
1636
1637         Normalize whitespaces in 'tests/Makefile.am'.
1638         * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1639         definition of this variable.
1640
1641 2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1642
1643         Remove a couple of unneeded conditionals from tests.
1644         * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1645         for the FOOTEST conditional.
1646
1647 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1648
1649         Modernize, improve and/or fix various test scripts.
1650         * tests/symlink3.test: Deleted, separated into two new, more
1651         complete tests ...
1652         * tests/forcemiss.test: ... this one ...
1653         * tests/forcemiss2.test: ... and this one.
1654         * tests/symlink2.test: Enable `errexit' shell flag, make test
1655         stricter, and skip it if symlink creation is not supported.
1656         * tests/postproc.test: Enable `errexit' shell flag, related
1657         changes, and a couple of unrelated cosmetic changes.
1658         * tests/recurs.test: Use the `configure.in' stub created by
1659         `./defs', rather than writing one from scratch.  Make grepping
1660         of Automake stderr slightly stricter.
1661         * tests/substtarg.test: Likewise.
1662         * tests/strip.test: Likewise, and move the call to `set -e'
1663         earlier (just after the inclusion of `./defs'). Also, make sure
1664         that the script installed by `make install-script' is equal to
1665         the original one.
1666         * tests/substref.test: Use the `configure.in' stub created by
1667         `./defs', rather than writing one from scratch.  Move the call
1668         to `set -e' earlier (just after the inclusion of `./defs').
1669         Avoid to explicitly export CC for configure (that's already done
1670         in ./defs).  Avoid potential problems with unpredictable make
1671         output.  Finally, make grepping of Makefile.in stricter.
1672         * tests/substre2.test: Ensure verbose printing of the captured
1673         make's output, and make its grepping slightly stricter.
1674         * tests/cygwin32.test: Enable `errexit' shell flag, and related
1675         changes.  Also, do not create useless dummy source/data files.
1676         * tests/scripts.test: Likewise.
1677         * tests/recurs2.test: Likewise.  Also, use the `configure.in'
1678         stub created by `./defs'.
1679         * tests/Makefile.am (TESTS): Updated.
1680
1681         Modernize, improve and/or fix tests `pluseq*.test.
1682         * tests/pluseq5.test: Append to configure.in using cat with an
1683         here-doc, not using echo.
1684         * tests/pluseq10.test: Make sure that the captured output of
1685         `make' command is always displayed. Where possible, use $FGREP
1686         instead of grep (this change makes some checks slightly stricter).
1687         * tests/pluseq8.test: Enable `errexit' shell flag, with related
1688         changes.
1689         * tests/pluseq.test: Likewise.  Also, do not create useless dummy
1690         data files, and use better m4 quoting in generated configure.in.
1691         * tests/pluseq2.test: Likewise.  Also, append to configure.in
1692         using cat with an here-doc, not using echo.
1693         * tests/pluseq3.test: Likewise.
1694         * tests/pluseq4.test: Likewise.
1695         * tests/pluseq6.test: Likewise.
1696         * tests/pluseq7.test: Do not create useless dummy source file.
1697         * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1698         Automake stderr.  Some unrelated cosmetic changes.
1699
1700         Testsuite: ensure verbose printing of captured stderr.
1701         * tests/acloca18.test: Print captured stderr before either failing
1702         or grepping it.  Be sure to send captured stderr to stderr, not to
1703         stdout.
1704         * tests/ansi3b.test: Likewise.
1705         * tests/cond39.test: Likewise.
1706         * tests/configure.test: Likewise.
1707         * tests/missing3.test: Likewise.
1708         * tests/missing6.test: Likewise.
1709         * tests/output-order.test: Likewise.
1710         * tests/pr300-ltlib.test: Likewise.
1711         * tests/python6.test: Likewise.
1712         * tests/python7.test: Likewise.
1713         * tests/python8.test: Likewise.
1714         * tests/python9.test: Likewise.
1715         * tests/subobj.test: Likewise.
1716         * tests/vars3.test: Likewise.
1717         * tests/missing4.test: Likewise, and fix a call to grep not to use
1718         the `-c' flag.
1719         * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1720         created by `./defs', rather than writing one from scratch.
1721
1722         Enable `errexit' shell flag in various tests.
1723         * tests/backsl.test: Enable the `errexit' shell flag, and
1724         related changes.
1725         * tests/backsl2.test: Likewise.
1726         * tests/block.test: Likewise.
1727         * tests/canon2.test: Likewise.
1728         * tests/canon4.test: Likewise.
1729         * tests/comment2.test: Likewise.
1730         * tests/condlib.test: Likewise.
1731         * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1732         * tests/canon3.test: Likewise.  Also, avoid to create an useless
1733         dummy source file.
1734         * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1735         related changes.  Do some cosmetic improvements in the generated
1736         `configure.in' file.
1737         * tests/cond4.test: Likewise.
1738         * tests/cond14.test: Likewise.
1739         * tests/condinc.test: Likewise.
1740         * tests/cond7.test: Likewise.  Also, remove useless setting of
1741         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1742         * tests/ansi.test: Enable the `errexit' shell flag, and related
1743         changes.  Extended, esp. by running autoconf, ./configure and
1744         make, and by looking into the distdir.
1745
1746 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1747             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1748
1749         Extend tests/README w.r.t. trailing `:' in test scripts.
1750         * tests/README (section "Writing test cases" subsection "Do"):
1751         Explain why apparently redundant trailing `:' and `Exit 0' in
1752         test scripts can indeed be useful.
1753
1754 2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1755
1756         Improve determination of PATH separator in bootstrap script.
1757         * bootstrap: Determine what the PATH separator is the same way
1758         autoconf does.
1759
1760         Minor improvements in bootstrap script.
1761         * bootstrap: Consistently use two-spaces indentation.  Cosmetic
1762         improvement to comments.
1763         ($me): New variable, containing program basename.
1764         Prepend it to all error messages.
1765
1766         Testsuite now works with BSD make in parallel mode.
1767         * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1768         which are exported by BSD make when run in parallel mode, and
1769         which can confuse make processes spawned by our testsuite.
1770         This change fixes a lot of spurious failure when the testsuite
1771         is run with BSD make in parallel mode.
1772
1773 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
1774
1775         Modernize, improve and/or fix various test scripts.
1776         * tests/sanity.test: Rely on the `configure.in' stub created by
1777         `./defs', rather than writing one from scratch.
1778         * tests/depend2.test: Likewise.  Also, call `set -e' just after
1779         the inclusion of `./defs', instead that later in the script.
1780         * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1781         $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1782         * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1783         Make auxiliary rules in the generated Makefile more silent.
1784         These changes make some checks slightly stricter.
1785         * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1786         * tests/gettext2.test: Place final `:' at the end of the script,
1787         rather than in the middle.
1788         * tests/exeext.test: Call `set -e' just after the inclusion of
1789         `./defs', instead that later in the script.
1790         * tests/extra5.test: Likewise.
1791         * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
1792         plain `mv', just to be sure.
1793         * tests/depcomp.test: Enable `errexit' shell flag, with related
1794         changes.  Also, modernize the generated configure.in.
1795         * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
1796         stub created by `./defs', rather than writing one from scratch.
1797         * tests/cond10.test: Likewise.
1798         * tests/depcomp2.test: Likewise.
1799         * tests/depend3.test: Likewise.
1800         * tests/distcom7.test: Likewise.
1801         * tests/fortdep.test: Likewise.  Also, remove definition of
1802         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1803         since that flag is already provided by $AUTOMAKE.
1804         * tests/mdate.test: Made stricter, by checking that Automake
1805         actually failed, and by making a stricter grep on the error
1806         message.  Also, set shell `errexit flag'.
1807         * tests/python2.test: Improved verbose messages.
1808
1809         Make test `ammissing.test' stricter.
1810         * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1811         Enable `errexit' shell flag.
1812
1813 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1814
1815         Enable `errexit' shell flag in some test scripts.
1816         * tests/subcond.test: Enabled `errexit' shell flag, and related
1817         minor changes.
1818         * tests/subst.test: Likewise.
1819         * tests/vars.test: Likewise.
1820         * tests/version4.test: Likewise.
1821         * tests/vpath.test: Likewise.
1822         * tests/vtexi2.test: Likewise.
1823         * tests/werror.test: Likewise.
1824         * tests/whoami.test: Likewise.
1825         * tests/tags.test: Likewise, and avoid to crate an useless dummy
1826         header file.
1827         * tests/acsilent.test: Likewise, and don't use an easily-avoided
1828         command substitution.
1829         * tests/unused.test: Likewise, and don't use an easily-avoided
1830         command substitution.
1831         * tests/version.test: Likewise, and avoid deprecated constructs
1832         in the generated `configure.in'.
1833         * tests/version2.test: Likewise, and avoid deprecated constructs
1834         in the generated `configure.in'.
1835
1836 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1837
1838         Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1839         * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
1840         the verbose log contains all output.
1841         * tests/mdate.test: Likewise.
1842         Prompted by Stefano Lattarini's change to discover.test.
1843
1844 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1845
1846         Improve tests link*.test (enable `errexit' shell flag).
1847         * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1848         changes.  Also, do not create useless source files.
1849         * tests/link_dist.test: Likewise.
1850         * tests/link_f90_only.test: Likewise.
1851         * tests/link_f_only.test: Likewise.
1852         * tests/link_fc.test: Likewise.
1853         * tests/link_fccxx.test: Likewise.
1854         * tests/link_fcxx.test: Likewise.
1855
1856 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1857
1858         Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1859         * tests/ext.test: Inside shell compound command, use
1860         `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1861         fix failure with OpenBSD sh introduced with last patch.
1862         Actually ensure that a rule for .EXT.o is created for each
1863         known extension EXT.
1864
1865 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1866
1867         Enable `errexit' shell flag in some test scripts.
1868         * tests/dash.test: Enable `errexit' shell flag, and related
1869         changes.
1870         * tests/defun.test: Likewise.
1871         * tests/defun2.test: Likewise.
1872         * tests/dejagnu.test: Likewise.
1873         * tests/double.test: Likewise.
1874         * tests/distcom2.test: Likewise.
1875         * tests/empty2.test: Likewise.
1876         * tests/empty3.test: Likewise.
1877         * tests/empty4.test: Likewise.
1878         * tests/exdir.test: Likewise.
1879         * tests/ext.test: Likewise.
1880         * tests/extra.test: Likewise.
1881         * tests/extra2.test: Likewise.
1882         * tests/extra3.test: Likewise.
1883         * tests/extra4.test: Likewise.
1884         * tests/flibs.test: Likewise.
1885         * tests/fnoc.test: Likewise.
1886         * tests/fo.test: Likewise.
1887         * tests/instexec.test: Likewise.
1888         * tests/ltdeps.test: Likewise.
1889         * tests/nodep.test: Likewise.
1890         * tests/nodepcomp.test: Likewise.
1891         * tests/f90only.test: Likewise, and remove botched/obsoleted
1892         comments and unnecessary commands.
1893         * tests/fonly.test: Likewise, and remove botched/obsoleted
1894         comments and unnecessary commands.
1895         * tests/discover.test: Likewise, and made stricter.
1896
1897         Enable `errexit' shell flag in all tests cxx*.test.
1898         * tests/cxx.test: Enabled `errexit' shell flag, and related
1899         minor changes.
1900         * tests/cxxansi.test: Likewise.
1901         * tests/cxxcpp.test: Likewise.
1902         * tests/cxxlibobj.test: Likewise.
1903         * tests/cxxlink.test: Likewise.
1904         * tests/cxxo.test: Likewise.
1905
1906         Enable `errexit' shell flag in various tests.
1907         * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1908         minor changes.
1909         * tests/acoutpt.test: Likewise.
1910         * tests/acoutqnl.test: Likewise.
1911         * tests/amassign.test: Likewise.
1912         * tests/ansi2.test: Likewise.
1913         * tests/ansi4.test: Likewise.
1914         * tests/badprog.test: Likewise.
1915         * tests/checkall.test: Likewise.
1916         * tests/clean.test: Likewise.
1917         * tests/colneq2.test: Likewise.
1918         * tests/colon.test: Likewise.
1919         * tests/colon5.test: Likewise.
1920         * tests/colon6.test: Likewise.
1921         * tests/comment.test: Likewise.
1922         * tests/compile_f90_c_cxx.test: Likewise.
1923         * tests/compile_f_c_cxx.test: Likewise.
1924         * tests/cond3.test: Likewise.
1925         * tests/cond6.test: Likewise.
1926         * tests/cond13.test: Likewise.
1927         * tests/conf2.test: Likewise.
1928         * tests/confvar.test: Likewise.
1929         * tests/confvar2.test: Likewise.
1930         * tests/cond8.test: Likewise, plus a cosmetic change.
1931         * tests/confh4.test: Likewise.  Also, add in the heading comments
1932         an excerpt from the original bug report which motivated the
1933         creation of this test, to make its purpose clearer.
1934
1935 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1936
1937         Rewrite manual to be gender-neutral.
1938         * doc/automake.texi (GNU Build System)
1939         (Standard Directory Variables, General Operation, CVS)
1940         (Hard-Coded Install Paths, Dependencies As Side Effects):
1941         Rewrite text to not contain gender-specific pronouns when
1942         speaking about developers or users, either by avoiding pronouns
1943         or by addressing them as `you' instead.
1944         * THANKS: Update.
1945         Report by Christina Gratorp.
1946
1947         * AUTHORS: Update.
1948
1949 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1950
1951         Make tests on user extensibility of silent-rules mode stricter.
1952         * tests/silent6.test: Made stricter w.r.t. the grepping of the
1953         output produced by `make'.
1954         * tests/silent7.test: Likewise.
1955
1956         Tests on silent-mode for C/Libtool made stricter.
1957         * tests/silent.test: Made stricter w.r.t. the grepping of the
1958         output produced by `make'.
1959         * tests/silent2.test: Likewise.
1960         * tests/silent4.test: Likewise.
1961         * tests/silent9.test: Likewise.
1962         * tests/silent3.test: Likewise, and add a final `make distclean'
1963         command to keep it better in sync with tests/silent{4,9}.test.
1964
1965         Improved test silent5.test.
1966         * tests/silent5.test: Remove by hand all generated C files after
1967         non-verbose builds, to ensure the following builds are clean.
1968         Try to clean and rebuild with the same verbosity and without
1969         removing generated sources in between, to check that this does
1970         not trigger a different set of rules.  Make grepping of make's
1971         output stricter.  Improved/added some comments.
1972
1973         New tests for Automake silent-mode with Fortran.
1974         * tests/silentf77.test: New test.
1975         * tests/silentf90.test: Likewise.
1976         * tests/Makefile.am (TESTS): Updated accordingly.
1977
1978         New test `silentcxx.test' (Automake silent-mode with C++).
1979         * tests/silentcxx.test: New test.
1980         * tests/Makefile.am (TESTS): Updated accordingly.
1981
1982         New test `silentyacc.test' (Automake silent-mode with Yacc).
1983         * tests/silentyacc.test: New test.
1984         * tests/Makefile.am (TESTS): Updated accordingly.
1985
1986         New test `silentlex.test' (Automake silent-mode with Lex).
1987         * tests/silentlex.test: New test.
1988         * tests/Makefile.am (TESTS): Updated accordingly.
1989
1990         Relax tests on silent-rules to cater to overly verbose makes.
1991         * tests/silent.test: When testing silent builds, don't fail if
1992         make's output simply contains the `mv' substring, but only if
1993         it contains the `mv ' substring (note the trailing space).
1994         * tests/silent2.test: Likewise.
1995         * tests/silent3.test: Likewise.
1996         * tests/silent4.test: Likewise.
1997         * tests/silent5.test: Likewise.
1998         * tests/silent9.test: Likewise.
1999
2000 2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2001
2002         Fix silent-rules output for disabled dependency tracking.
2003         * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2004         expansion code to also work in the case where %AMDEP% expands
2005         to FALSE at config.status time, using new substitution string
2006         %VERBOSE-NODEP%.
2007         * automake.in (verbose_nodep_flag): New function, appending
2008         `@am__nodep@' to the verbose-variable name.
2009         (handle_languages): If dependencies are not disabled, use it to
2010         set %VERBOSE-NODEP%.
2011         * m4/depend.m4: Substitute am__nodep as '_no', so the second
2012         verbose-variable will always expand to an empty string, if
2013         dependencies are enabled.
2014         * tests/silent5.test: Also test --disable-dependency-tracking;
2015         also test per-target flags for non-C language files.
2016         * tests/silent9.test: New test, like silent4.test but disable
2017         dependency tracking.
2018         * tests/Makefile.am: Adjust.
2019         * NEWS, THANKS: Update.
2020         Report by Dmitry V. Levin <ldv@altlinux.org>.
2021
2022 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2023
2024         Extend test on `nostdinc' automake option.
2025         * tests/nostdinc.test: Enable `errexit' shell flag.  Related and
2026         unrelated minor changes.  Make the grepping of the generated
2027         Makefile.in slightly stricter.  Generate and run configure, so that
2028         the generated Makefile can be grepped too.
2029
2030 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2031
2032         Make gnupload portable to EBCDIC hosts.
2033         * lib/gnupload: Use literal newline as argument for 'tr' rather
2034         than \015, for EBCDIC hosts.  Also, avoid unportable nested
2035         double-quotes and backquotes.
2036         * THANKS: Update.
2037         Report from Eric Blake and Steve Goetze via gnulib.
2038
2039 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2040
2041         Fix Autoconf version required by Automake's configure.
2042         Automake configure script used to tell that automake required
2043         autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2044         and if that was not found, it gave an error saying that Automake
2045         required configure 2.61a-341 or later.  This change should
2046         eliminate such inconsistencies.
2047         * configure.ac ($required_autoconf_version): New variable.
2048         Use it throughout.
2049
2050 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2051
2052         Fix unportable sed script in maintainer-check test.
2053         * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2054         not contain semicolon after 'b' or brace commands, for NetBSD.
2055
2056         Wildcards are not portable to NetBSD make.
2057         * doc/automake.texi (Wildcards): Document portability issue.
2058         * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2059         Require GNU make.
2060
2061 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2062
2063         Make test for configure.in vs. configure.ac stricter.
2064         * tests/configure.test: Use a configure.in file that provokes
2065         an automake error, to ensure configure.ac is preferred.
2066
2067         Avoid possible false negatives in dejagnu7.test.
2068         * tests/dejagnu7.test: Enable shell `errexit' flag.  Also, avoid
2069         unportable use of fgrep option `-e'.
2070
2071         Fix conflnk3.test to work with Solaris/Heirloom Sh.
2072         * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
2073         instead of respectively `test -e FILE' and `test ! -e FILE',
2074         since Solaris Sh doesn't grok the latter.  Do not SKIP the test
2075         if the shell doesn't support `test -e'.
2076
2077 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2078
2079         Fix typo in manual.
2080         * doc/automake.texi (Simple Tests using parallel-tests): Add
2081         missing closing parenthesis.
2082
2083         Fix leftover call to removed function macros_dump.
2084         * automake.in (read_main_am_file): Call variables_dump, not
2085         macros_dump.  Print actual error before list of variables.
2086
2087 2010-04-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
2088
2089         Minor improvements in comments of test `silent3.test'.
2090         * tests/silent3.test: Tell to keep it in sync with `silent9.test'
2091         too.
2092
2093 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2094
2095         testsuite: ensure verbose printing of captured output.
2096         * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
2097         tests/fort2.test, tests/help.test, tests/missing3.test,
2098         tests/missing6.test: Print captured stdout or stderr before
2099         grepping it.
2100
2101 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2102
2103         Make test badopt.test stricter (by enabling `set -e').
2104         * tests/badopt.test: Add call to `set -e'.  Due to this change,
2105         an unexpected failure in the call to `$ACLOCAL' (whose outcome
2106         was previously unchecked) would cause the whole test to fail.
2107         Also, bumped the copyright years.
2108
2109         Make test for configure.in vs. configure.ac stricter.
2110         * tests/configure.test: Use a configure.in file that provokes
2111         an automake error, to ensure configure.ac is preferred.
2112
2113         Use `set -e' in confsub.test (avoids possible false negatives).
2114         * tests/confsub.test: Enable shell `errexit' flag, and related
2115         changes (this helps avoiding some possible minor false negatives).
2116         Also, bumped copyright years.
2117
2118 2010-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2119
2120         Fix -Werror handling for presence of configure.in and configure.ac.
2121         * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2122         $configure_ac at the global level, before command-line arguments
2123         have been parsed.
2124         (require_variables): Initialize it here.
2125         * tests/configure.test: New test.
2126         * tests/Makefile.am: Update.
2127         Report by Stefano Lattarini.
2128
2129 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2130
2131         Avoid possible false negatives in confh5.test.
2132         * tests/confh5.test: Enable shell `errexit' flag, and bumped
2133         copyright years.  Due to this change, any unexpected failure
2134         in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2135         a failure in grepping expected text in output files should now
2136         cause the whole test to fail.
2137
2138 2010-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2139
2140         Fixed typo in POD documentation of Automake::Channels.
2141         * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2142         @<...> was used instead of C<...>.
2143
2144 2010-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
2145
2146         Refactor tests on Automake TESTS color output.
2147         * tests/color.test: Tests using the expect program moved out to...
2148         * tests/color2.test: ... this new file.
2149         * tests/Makefile.am (TESTS): Extended accordingly.
2150
2151 2010-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2152
2153         Fix typos in comments in test confh5.test
2154         * tests/confh5.test: Fix a couple of typos in comments.
2155
2156         Avoid possible false negatives in canon-name.test.
2157         * tests/canon-name.test: Enable shell `errexit' flag.  Improve
2158         test description.
2159
2160 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2161
2162         Fix per-Makefile.am setting of -Werror.
2163         Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2164         Makefile.am would carry over to other Makefile.am files
2165         treated afterwards by the same thread, causing inconsistent
2166         and unstable exit status values.
2167         * lib/Automake/Channels.pm (dup_channel_setup)
2168         (drop_channel_setup): Save and restore the setting of
2169         $warnings_are_errors.
2170         * tests/werror3.test: New test.
2171         * tests/Makefile.am: Adjust.
2172         * NEWS: Update.
2173
2174 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2175
2176         Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2177         * tests/confh5.test: In the generated Makefile.am: do not use
2178         `test ! -e FILE' to check for the non-existence of a file, since
2179         that is not supported by Solaris/Heirloom Sh.
2180
2181         Make test `aclocal3.test' stricter.
2182         * tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
2183         succeds unexpectedly.
2184
2185         Add tests checking that symlinks are resolved by `make dist'.
2186         * tests/distlinks.test: New test.
2187         * tests/Makefile.am (TESTS): Updated accordingly.
2188         Suggested by observations from Ralf Wildenhues.
2189
2190 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2191
2192         Use -9 for maximum xz compression with dist-xz.
2193         * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2194         * NEWS, THANKS: Update.
2195         Report by Pavel Sanda.
2196
2197 2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
2198
2199         Avoid an unportable use of `$status' shell variable.
2200         * Makefile.am (path-check): Don't use the `$status' shell variable
2201         in the target's rules, as it's special in Zsh (equivalent to `$?',
2202         and readonly).
2203
2204         Avoid another use of `chmod -R'.
2205         * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2206         $(distdir) before removing it (as Solaris `chmod -R' touches
2207         symlink targets).  Instead, use the cleanup strategy used in
2208         distdir.am.
2209
2210 2010-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2211
2212         Remove uses of @acronym and @sc.
2213         * doc/automake.texi (Public Macros, Limitations on File Names):
2214         Remove all usage of @acronym and @sc in the manual.
2215         Suggested by Karl Berry.
2216
2217 2010-03-13  Karl Berry  <karl@freefriends.org>
2218
2219         GNU hello uses fdl.texi, not gpl.texi.
2220         * doc/automake.texi (Texinfo): Adjust example to upstream
2221         change.
2222
2223 2010-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2224
2225         Formatting cleanups in macro comments.
2226         * automake.in, lib/Automake/Channels.pm,
2227         lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2228         lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2229         m4/options.m4, m4/substnot.m4: Fix macro comment format.
2230
2231 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2232             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2233
2234         Avoid generation of `tests/defs-p' file.
2235         * tests/defs.in: In the generated `configure.in' snippet: call
2236         `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2237         variable `parallel_tests' is set to `yes'.
2238         * tests/Makefile.am (defs-p): Target removed.
2239         (check_SCRIPTS): Removed `defs-p'.
2240         (clean-local-check): Do not unlink `defs-p' anymore.
2241         ($(parallel_tests)): Transformation rules for the test scripts
2242         adjusted.
2243         * tests/gen-parallel-tests: Selection rules for the test
2244         scripts adjusted.
2245         * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2246         then include `./defs' (rather than simply including `./defs-p').
2247         * tests/parallel-tests2.test: Likewise.
2248         * tests/parallel-tests3.test: Likewise.
2249         * tests/parallel-tests4.test: Likewise.
2250         * tests/parallel-tests5.test: Likewise.
2251         * tests/parallel-tests6.test: Likewise.
2252         * tests/parallel-tests7.test: Likewise.
2253         * tests/parallel-tests8.test: Likewise.
2254         * tests/parallel-tests9.test: Likewise.
2255         * tests/parallel-tests10.test: Likewise.
2256         * tests/README (Section "Writing Test Cases" subsection "Do"):
2257         Adjusted the parts referring to tests checking `parallel-tests'
2258         behaviour.  Some other minor related improvements.
2259         * tests/.gitignore (defs-p): Removed.
2260
2261 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2262
2263         Remove redundant unset of variable TESTS from some test scripts.
2264         * tests/color.test: Do not unset the `TESTS' variable, as it's
2265         already unset in the `defs' file.
2266         * tests/check5.test: Likewise.
2267         * tests/check8.test: Likewise.
2268         * tests/check9.test: Likewise.
2269         * tests/check10.test: Likewise.
2270         * tests/check11.test: Likewise.
2271         * tests/parallel-tests.test: Likewise.
2272         * tests/parallel-tests3.test: Likewise.
2273         * tests/parallel-tests4.test: Likewise.
2274         * tests/parallel-tests5.test: Likewise.
2275         * tests/parallel-tests6.test: Likewise.
2276         * tests/parallel-tests7.test: Likewise.
2277
2278 2010-02-22  Karl Berry  <karl@gnu.org>
2279
2280         Improve help message of mdate-sh.
2281         * mdate-sh: mention actual output format in help message.
2282
2283 2010-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2284
2285         Deprecate dist-lzma in favor of dist-xz.
2286         * doc/automake.texi (The Types of Distributions, Options):
2287         Adjust text to reflect renaming of lzma to xz.
2288         * NEWS: Update.
2289         Missing deprecation noted by Antonio Diaz Diaz.
2290
2291 2010-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2292
2293         Add tests about support of wildcards in EXTRA_DIST.
2294         * tests/extra10.test: New test, check basic support of wildcards
2295         in EXTRA_DIST.
2296         * tests/extra11.test: New test, check more complex usage of
2297         wildcards in EXTRA_DIST.
2298         * tests/extra12.test: New test, check usage of wildcards in
2299         EXTRA_DIST when $builddir != $srcdir.
2300         * tests/Makefile.am (TESTS): Updated accordingly.
2301         Necessity of these new tests suggested by Braden McDaniel
2302         and Ralf Wildenhues.
2303
2304 2010-02-08  Simon Josefsson  <simon@josefsson.org>
2305
2306         Fix copyright statement in gnupload script.
2307         * lib/gnupload: Fix copyright statement.
2308
2309 2010-02-06  Dmitry V. Levin  <ldv@altlinux.org>  (tiny change)
2310             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2311
2312         Fix exit status of signal handlers in shell scripts.
2313         The value of `$?' on entrance to signal handlers in shell scripts
2314         cannot be relied upon, so set the exit code explicitly to
2315         128 + SIG<SIGNAL>.
2316         * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2317         * lib/elisp-comp: Likewise.
2318         * lib/install-sh: Likewise.
2319         * lib/ylwrap: Likewise.  Also, fix script to trap signal 13, not 3.
2320         * NEWS, THANKS: Update.
2321         Bug report, analysis, and initial patch by Dmitry V. Levin.
2322
2323 2010-02-06  Karl Berry  <karl@gnu.org>
2324
2325         Improve gnupload usage text.
2326         * gnupload (usage): Shorten to make more likely to fit on a tty
2327         line.  Mention CMD in the synopsis.  With ..., plural is implied.
2328
2329 2010-01-28  Christos Kontas  <xakon@yahoo.com>  (tiny change)
2330
2331         Fix some typos in the manual
2332         * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2333
2334 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2335
2336         Slighty improve tests acoutbs.test and acoutbs2.test.
2337         * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
2338         autoconf and configure work, that the file `zot' is created by
2339         configure, and that no file containing a backslash in its name is
2340         created.
2341         * tests/acoutbs.test: Likewise, plus updated copyright years.
2342
2343         Fix test acoutbs2.test.
2344         * tests/acoutbs2: In the generated configure.in: add proper calls
2345         to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2346         PACKAGE and VERSION. Add a call to aclocal before calling automake.
2347         Updated copyright years.
2348         * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2349
2350         Add forgotten test scripts to $(TESTS).
2351         * tests/Makefile.am (TESTS): Added test scripts present on the
2352         filesystem, which were erroneously left out from $(TESTS):
2353         acoutbs2.test, badopt.test, extra2.test.
2354         (XFAIL_TESTS): Added acoutbs2.test.
2355
2356 2010-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2357
2358         Sync auxiliary files from upstream.
2359         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2360         Sync from upstream.
2361
2362         Bump copyright years.
2363         * aclocal.in (write_aclocal, version): Bump copyright years.
2364         * automake.in (gen_copyright, version): Likewise.
2365         * doc/automake.texi: Likewise.
2366
2367         Rotate ChangeLog.
2368         * ChangeLog.09: New file, rotated from ...
2369         * ChangeLog: ... here.
2370         * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2371
2372 -----
2373
2374 Copyright (C) 2010  Free Software Foundation, Inc.
2375
2376 Copying and distribution of this file, with or without modification, are
2377 permitted provided the copyright notice and this notice are preserved.
2378
2379 ;; Variables:
2380 ;; coding: utf-8
2381 ;; End: