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