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