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