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