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