1 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
3 maintainer check: quote literal `$' in Makefile rule
4 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
5 character in double-quoted string. Fix a bug in which the rule
6 emitted an erroneously empty substring in its error message.
8 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
10 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
11 * tests/compile2.test: Do no uselessly (implicitly) repeat the
12 computation of PATH_SEPARATOR again.
13 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
14 extending/redefining PATH.
15 * tests/instmany-python.test: Likewise.
16 * tests/instmany.test: Likewise.
17 * tests/man4.test: Likewise.
18 * tests/mkinst3.test: Likewise.
19 * tests/mmodely.test: Likewise.
20 * tests/multlib.test: Likewise.
21 * tests/txinfo30.test: Likewise.
22 * tests/README (Section "Writing test cases" subsection "Do"):
24 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
25 (syntax_check_rules): Updated.
27 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
28 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
29 ($ACLOCAL, $AUTOMAKE): Use it.
30 ($PATH_SEPARATOR): New AC_SUBST'd variables.
33 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
35 Manual: be more agnostic w.r.t. version control system used.
36 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
37 directories as a type of probably-unwanted files that are copied
38 regardless when adding directories to EXTRA_DIST.
39 (The dist Hook): Show a dist-hook example which removes Subversion
40 `.svn' private directories from distdir, rather than CVS private
42 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
43 the version control system used.
45 Manual: index refer to target "git-dist", not "cvs-dist".
46 * doc/automake.texi (General Operation): Index the non-standard
47 example about "git-dist" under the "git-dist" label, not under
50 Perl modules: remove references to "Automake CVS repository".
51 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
52 git repository" rather than to "Automake's CVS repository".
53 * lib/Automake/Configure_ac.pm: Likewise.
54 * lib/Automake/FileUtils.pm: Likewise.
55 * lib/Automake/Struct.pm: Likewise.
56 * lib/Automake/XFile.pm: Likewise.
57 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
58 branches" rather than "CVS branches".
60 Remove obsolete .cvsignore files.
61 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
62 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
63 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
64 savannah's CVS readonly mirror there's no way to commit back to
65 the real repository, so this files are not worth maintaining or
68 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
70 * m4/dmalloc.m4: Bump serial number and copyright years.
72 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
74 Fix broken link in `AM_WITH_DMALLOC' help screen.
75 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
76 `http://www.dmalloc.com', not to the dmalloc tarball there (which
77 seems to have been removed, substituted by multiple release
80 2010-09-17 Eric Blake <eblake@redhat.com>
82 Avoid triple-space after period.
83 * automake.in (handle_single_transform): Avoid 3 spaces at
85 * ChangeLog.03: Likewise.
86 * lib/Automake/ChannelDefs.pm: Likewise.
87 * lib/Automake/Channels.pm (_print_message): Likewise.
88 * lib/Automake/Rule.pm (rule): Likewise.
89 * lib/Automake/Variable.pm (var): Likewise.
90 * lib/am/distdir.am: Likewise.
91 * tests/insthook.test: Likewise.
93 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
95 Test automake-generated portions of configure help screen.
96 * tests/help-depend.test: New test.
97 * tests/help-depend2.test: Likewise.
98 * tests/help-dmalloc.test: Likewise.
99 * tests/help-init.test: Likewise.
100 * tests/help-lispdir.test: Likewise.
101 * tests/help-maintainer.test: Likewise.
102 * tests/help-multilib.test: Likewise.
103 * tests/help-regex.test: Likewise.
104 * tests/help-silent.test: Likewise.
105 * tests/help-upc.test: Likewise.
106 * tests/mmode.test: Remove tests on `configure --help' output,
107 they are supersed by tests in `help-maintainer.test'.
108 * tests/Makefile.am (TESTS): Update.
110 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
112 * tests/README: Don't put GCS mandated tools in $required.
114 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
116 * HACKING: Hint at old commits with `git describe' output.
118 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
120 Fix regression in test `colon4.test'.
121 * tests/colon4.test: Fix botched editing to `configure.in'
122 that made the test useless. Since we are at it, improve
123 comments and make grepping of generated Makefile.in slighty
125 Regression introduced by change "Modernize, improve and/or
126 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
128 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
130 Do not require "gzip" explicitly in tests.
131 The gzip utility is simply expected to be present on any decent
132 target system for Automake. So it's pointless to put it in
134 * tests/install2.test ($required): Do not require "gzip".
135 * tests/lex3.test: Likewise.
136 * tests/pr9.test: Likewise.
137 From a suggestion by Ralf Wildenhues.
139 Make some `confh*.test' tests more "semantic" (plus tweakings).
140 * tests/confh.test: Run "autoconf", "configure" and "make check",
141 instead of munging/grepping the generated `Makefile.in'.
142 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
143 white spaces. Do not create usless dummy source file `foo.c'
144 and useless dummy header file `acconfig.h'.
145 (configure.in): Remove superfluous call to `AC_OUTPUT'.
146 * tests/confh6.test: Add trailing `:' command.
147 * tests/confh7.test: In comments, add reference to ...
148 * tests/confh8.test: ... this new test, "semantic" sister
150 * tests/Makefile.am (TESTS): Updated.
151 Prompted by a report from Ralf Wildenhues.
153 Remove useless whitespace padding in XFAIL_TESTS definition.
154 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
156 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
158 parallel-tests: avoid command-line length limit issue.
159 * automake.in (handle_tests): New argument $makefile, new
160 substitution %MAKEFILE%.
161 (generate_makefile): Adjust.
162 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
163 sanitized TEST_LOGS value as makefile snippet on standard
164 input to $(MAKE), to avoid exceeding the command line limit on
167 Report by Bob Friesenhahn.
169 Posix 2008 requires make to set errexit.
170 * lib/am/check.am: Update comment.
172 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
174 Fix bug in test missing6.test.
175 * tests/missing6.test: Fix the hack used to edit `configure.in',
176 to avoid producing a configure script that breaks with shells
177 that do not support $LINENO. Also throw in a couple of cosmetic
180 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
182 Improve robustness of mdate-sh script.
183 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
184 $ls_command is word-split properly upon invocation.
185 (error): New function.
186 (main): Use it. Improve error checking to avoid endless loop
187 in case $ls_command gave bogus output. Fix eval quotation.
188 * tests/mdate6.test: New test, to expose eval quotation error.
189 * tests/Makefile.am: Update.
191 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
193 Fix potential regressions in depcomp{3,5}.test.
194 * tests/depcomp3.test: Do not uselessly escape the character `$'
195 in makefile rules, when it's used to expand a make macro.
196 * tests/depcomp5.test: Likewise.
198 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
199 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
201 Docs: clarify how to avoid automatic dependencies tracking.
202 * doc/automake.texi (Automatic dependency tracking): Mention that
203 automatic dependencies tracking is enabled by default, but that
204 the package developer can disable it altogether. Add a reference
205 to the proper section for a more in-depth explanation.
207 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
208 * doc/automake.texi (Automatic dependency tracking): Fix typo.
210 2010-08-16 Bruno Haible <bruno@clisp.org>
212 Don't hide the table of contents.
213 * doc/automake.texi: Move the table of contents to the beginning.
215 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
217 Tweak and/or extend some `acloca*.test' tests.
218 * tests/aclocal8.test: Ensure verbose printing of captured
220 * tests/aclocal.test: Likewise. Also, add trailing `:'
222 * tests/acloca19.test: Likewise.
223 * tests/aclocal5.test: Add trailing `:' command, and prefer
224 `$me' over hard-coded test name.
225 * tests/aclocal6.test: Likewise.
226 * tests/aclocal18.test: Add trailing `:' command, and make
227 some grepping slighty stricter.
228 * tests/acloca14.test: Likewise. Also, prefer `diff' over
229 `cmp', and add some "cosmetic" blank lines.
231 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
233 Tweak and extend tests `pr[!0-9]*.test'.
234 * tests/primary3.test: Add trailing `:' command.
235 * tests/primary.test: Make grepping of Automake's stderr stricter.
236 Also, add trailing `:' command, and cosmetic changes in spacing.
237 * tests/primary2.test: Likewise.
238 * tests/prefix.test: Enable `errexit' shell flags, and related
239 changes. Add a trailing `:' command.
240 * tests/proginst.test: Likewise.
242 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
243 * tests/pr2.test: Add trailing `:' command.
244 * tests/pr229.test: Likewise.
245 * tests/pr401.test: Likewise.
246 * tests/pr401b.test: Likewise.
247 * tests/pr401c.test: Likewise.
248 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
250 * tests/pr300-lib.test: Likewise.
251 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
252 of captured make stdout.
253 * tests/pr211.test: Add trailing `:' command. Also, use the
254 `configure.in' stub created by ./defs, rather than writing it
256 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
257 * tests/pr287.test: Likewise, and move setting of `errexit' shell
258 flag earlier in the script (just after inclusion of ./defs).
259 * tests/pr220.test: Make grepping of Automake's stderr stricter.
260 Also, add trailing `:' command, and cosmetic changes in spacing.
261 * tests/pr224.test: Move setting of `errexit' shell flag earlier
262 in the script (just after inclusion of ./defs). Do not export
263 `CC=gcc' to configure explicitly (it's already exported globally
264 in ./defs, since we have "gcc" in $required). Use the stub for
265 `configure.in' created by ./defs, rather than writing it from
266 scratch. Do not create dummy files required by "gnu" mode (e.g.
267 README, NEWS), since we run automake in foreign mode anyway.
268 * tests/pr72.test: Enable `errexit' shell flags, and related
269 changes. Extend existing checks a bit.
270 * tests/pr9.test: Likewise. Also, avoid obolescent constructs in
271 the generated `configure.in', and extend existing checks over the
272 generated tarball a bit.
273 * tests/pr87.test: Enable `errexit' shell flags, and related
274 changes. Add a trailing `:' command. Also, do not create dummy
275 files required by "gnu" mode (e.g. README, NEWS), since we run
276 automake in foreign mode anyway.
277 * tests/pr243.test: Avoid obolescent constructs in the generated
278 `configure.in'. Enable the `errexit' shell flag, and related
279 changes. Cosmetic changes to spacing, add trailing `:' command,
280 and add a "FIXME" comment.
281 * tests/pr266.test: Likewise, and add explicit command line switch
282 `--enable-dependecy-tracking' to the ./configure call.
283 * tests/pr279.test: Avoid obolescent constructs in the generated
284 `configure.in'; also, use the `configure.in' stub created by
285 ./defs, rather than writing it from scratch. Enable `errexit'
286 shell flag, and related changes. Add trailing `:' command.
287 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
289 * tests/pr307.test: Move setting of `errexit' shell flag earlier
290 in the script (just after inclusion of ./defs). Escape literal
291 dots in grep regular expressions. Also, add a trailing `:'
292 command, and cosmetic changes to spacing.
294 Tests for PR: add excerpts from original bug report, for clarity.
295 * tests/pr2.test: Ditto.
296 * tests/pr9.test: Likewise.
297 * tests/pr72.test: Likewise.
298 * tests/pr87.test: Likewise.
299 * tests/pr211.test: Likewise.
300 * tests/pr220.test: Likewise.
301 * tests/pr224.test: Likewise.
302 * tests/pr229.test: Likewise.
303 * tests/pr243.test: Likewise.
304 * tests/pr266.test: Likewise.
305 * tests/pr279.test: Likewise, and tell to keep it in sync
306 with its sister test.
307 * tests/pr279-2.test: Likewise.
309 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
311 Tweak, extend and improve tests `cond[a-z]*.test'.
312 * tests/condd.test: Add trailing `:' command. Typofix in
314 * tests/condhook.test: Make sure target `install-data-hook' is
315 not called by `make install', but that data files are installed.
316 Use proper m4 quoting in configure.in. Add trailing `:' command.
317 * tests/condhook2.test: New test, sister test of condhook, with
319 * tests/condinc2.test: Use proper m4 quoting in configure.in.
320 Prefer trailing `:' command over trailing `Exit 0'.
321 * tests/condman2.test: Enable errexit shell flag, and related
322 changes. Add trailing `:' command.
323 * tests/condman.test: Likewise. Also, do not create useless
324 dummy manpages, and use proper m4 quoting in configure.in.
325 * tests/condman3.test: New test, similar to condman.test, but
326 it also runs ./configure and "make install", and check the
328 * tests/Makefile.am (TESTS): Updated.
330 Modernize, improve and/or extend tests `colon*.test.
331 * tests/colon.test: Rely on the `configure.in' stub created by
332 `./defs', rather than writing one from scratch. Do not create
333 a useless dummy file. Add trailing `:' command.
334 * tests/colon4.test: Enable the `errexit' shell flag, and
335 related changes. Rely on the `configure.in' stub created by
336 `./defs', rather than writing one from scratch.
337 * tests/colon7.test: Enable `errexit' shell flag, and related
338 changes. Improve the generated `configure.in' file. Add
339 trailing `:' command.
340 * tests/colon2.test: Likewise. Also, add some new checks.
341 * tests/colon5.test: Improve the generated `configure.in' file.
342 Add new, much deeper checks. Add trailing `:' command.
343 * tests/colon6.test: Likewise.
344 * tests/colon3.test: Add trailing `:' command. Remove useless
345 comments and echos. Improve the generated `configure.in' file.
346 make some grepping tests stricter. Add a "FIXME" comments about
347 planned improvements.
349 Improve and extend tests `asm*.test'.
350 * tests/asm.test: Use configure.in stub generated by ./defs,
351 and avoid obsoleted autoconf constructs. Make grepping of
352 Automake stderr stricter. Do not create useless source file.
353 Improve verbose messages. Minor cosmetic changes. Tell to
354 keep it in sync with other sister tests asm*.test.
355 * tests/asm2.test: Likewise.
356 * tests/asm3.test: Likewise.
358 Modernize, improve and/or extend test scripts `conf*.test'.
359 * tests/confh5.test: Cosmetic changes.
360 * tests/conff.test: Likewise.
361 * tests/confdeps.test: Likewise.
362 * tests/conflnk.test: Likewise.
363 * tests/conflnk2.test: Likewise.
364 * tests/confsub.test: Likewise.
365 * tests/confvar.test: Likewise, and make grepping of Makefile.in
367 * tests/confvar2.test: Likewise.
368 * tests/conflnk3.test: Cosmetic changes, and re-enable a temporarly
369 disabled test (which didn't work with autoconf <= 2.59, but now we
370 are requiring autoconf 2.62, so...)
371 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
372 accordingly to "TODO" comments.
373 * tests/conff2.test: Make grepping of Automake's stderr stricter.
374 Add some comments explaining why we don't use the `configure.in'
375 stub preset be ./defs.
376 * tests/confh.test: Use the `configure.in' stub created by ./defs,
377 rather than writing one from scratch, and do not call AC_OUTPUT.
378 Enable `errexit' shell flag, and related changes. Prefer diff over
379 cmp to compare text files. Prefer perl over sed to fetch the value
380 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
381 of $(DIST_COMMON) stricter.
382 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
383 rather than writing one from scratch. Make grepping of Makefile.in
385 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
387 * tests/configure.test: Avoid obsolescent constructs in generated
388 `configure.ac'. Do not write `configure.in' two times. Escape
389 literal dots in grep regular expressions.
390 * tests/confincl.test: Enable `errexit' shell flag, and related
391 changes. Prefer fgrep over grep. Other cosmetic changes.
392 * tests/config.test: Renamed to ...
393 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
394 and make grepping of `config.h' and `config.h.in' stricter.
395 * tests/conf2.test: Renamed ...
396 * tests/confh7.test: ... to this. Use the `configure.in' stub
397 created by ./defs, rather than writing one from scratch. Try to
398 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
400 * tests/Makefile.am (TESTS): Updated.
402 Minor improvements and fixes in tests `depcomp*.test'.
403 * tests/depcomp.test: Do not create useless dummy source files.
404 Add a trailing `:' command.
405 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
406 it's not in in the environment, rather tthan exporting it with an
407 empty value. Do not pass CC=gcc to configure, as that's already
408 done in ./defs since we have gcc in $required. Ensure verbose
409 printing of captured stderr, and normalize its checking. Add a
410 trailing `:' command.
411 * tests/depcomp3.test: Quote literal dots and dollar characters in
412 grep regexps. Always use `: >' rather than `touch' to create empty
413 files. Explicitly declare phony targets as such in the created
414 Makefile.am. Add a trailing `:' command.
415 * tests/depcomp4.test: Quote literal dots and dollar characters in
416 grep regexp. Explicitly declare phony targets as such in the
417 created Makefile.am. Ensure verbose printing of captured makes'
418 stoud/stderr. Add a trailing `:' command.
419 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
420 in the script (just after inclusion of ./defs). Quote literal dots
421 and dollar characters in grep regexps. Explicitly declare phony
422 targets as such in the created Makefile.am. Add a trailing `:'
424 * tests/depcomp6.test: Consistenty use m4 quoting in the generated
425 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
426 statement required by OpenBSD's sh `set -e' more robust, and add
427 explanatory comments to it.
428 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
430 Separate failing part of test `all.test'.
431 * tests/all.test: Keep only (x)failing part of the test. Working
432 checks moved out to ...
433 * tests/all2.test: ... this new test.
434 * tests/Makefile.am (TESTS): Updated.
436 Modernize, improve and extend tests `subobj*.test'.
437 * tests/subobjname.test: Add trailing `:' command.
438 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
439 Escape literal dots in grep regexps.
440 * tests/subobj2.test: Add trailing `:' command. Do not use the
441 unportable fgrep option `-e'.
442 * tests/subobj3.test: Add trailing `:' command.
443 (configure.in): Use proper m4 quoting, and avoid obsolescent
445 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
446 flag, with related changes
447 * tests/subobj4.test: Likewise. Also, make grepping of
448 `Makefile.in' stricter.
449 * tests/subobj5.test: Add trailing `:' command. Move setting of
450 `errexit' shell flag earlier in the script (just after inclusion
452 (configure.in): Use the stub created by `./defs', rather than
453 writing it from scratch, and avoid obsolescent constructs.
454 * tests/subobj6.test: Add trailing `:' command. Move setting of
455 `errexit' shell flag earlier in the script (just after inclusion
456 of ./defs). Do not create useless dummy ac-init file `f'.
457 * tests/subobj7.test: Do not create useless dummy ac-init file
459 (configure.in): Use the stub created by `./defs', rather than
460 writing it from scratch, and avoid obsolescent constructs.
461 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
462 in the script (just after inclusion of ./defs). Fail the test if
463 `make distcheck' fails. Ensure verbose printing of captured make
464 stdout. Avoid uselsss fork by doing simple grep instead of using
465 test -n "`COMMAND | grep ...`".
466 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
467 (Makefile.am): Explicitly mark target "print" as phony.
468 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
469 trailing `:' command.
470 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
472 Remove a couple of obsoleted tests.
473 * tests/fpinstall.test: Removed.
474 * tests/fpinst2.test: Likewise.
475 * tests/Makefile.am (TESTS): Updated.
477 Bootstrap: updated HACKING entry.
478 * HACKING ("Working with git"): Explain how to override the
479 autoconf and autom4te programs used by the bootstrap process.
482 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
483 since we don't generate it. Correctly quote arguments of
484 `eval' builtin. Fixed a botched error message. Removed an
487 Bootstrap: don't search perl in $PATH.
488 * bootstrap: Do not explicitly search perl in $PATH anymore.
489 ($PATH_SEPARATOR): Removed, it's no more needed.
491 Bootstrap: let the user choose which autoconf to use.
492 * bootstrap ($AUTOCONF): New variable, from the environment.
493 ($AUTOM4TE): Likewise, for clarity.
494 Use "$AUTOCONF" instead of calling "autoconf" directly.
496 Minor improvements to tests ar*.test.
497 * tests/ar.test: Add trailing `:' command.
498 * tests/ar2.test: Likewise, and make grepping of generated
499 Makefile.in stricter.
501 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
503 Fix maintainer-check failure.
504 * tests/cond5.test: Quote sleep argument, this isn't about
505 time stamp differences.
507 Sync auxiliary files from upstream.
508 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
511 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
513 Work around a nasty bug (segfault) of Solaris make.
514 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
515 from $list, to avoid triggering a nasty bug (potential segfault)
518 2010-08-06 Peter Rosin <peda@lysator.liu.se>
520 Make cond5.test more robust on MSYS.
521 * tests/cond5.test: Add delay before the first kill attempt to
522 cater for problems with MSYS bash.
524 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
526 Add example git work flow; discuss merge --log in HACKING.
528 Suggestion by Stefano Lattarini.
530 Add more hints for debugging make rules.
531 * doc/automake.texi (Debugging Make Rules): Show command to find
532 out expanded values of variables; point to makefile debugger.
534 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
536 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
538 Fix typo in the manual.
539 * doc/automake.texi (Scripts): Fix typo.
541 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
543 Document current policy for development with git.
544 * HACKING (Working with git): Overhaul.
545 Prompted by suggestion from Stefano Lattarini.
547 Fix AM_COND_IF for gone-invalid condition shell expression.
548 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
549 variable, rather than re-evaluating the shell expression for
551 * tests/cond40.test: Extend test.
554 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
555 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
556 to avoid shell syntax error if the m4 expansion is empty.
557 * tests/cond40.test: Enhance test.
559 Coverage: bogus option to AM_INIT_AUTOMAKE.
560 * tests/init2.test: New test.
561 * tests/Makefile.am: Update.
563 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
565 Modernize and improve test scripts `subdir*.test'.
566 * tests/subdir.test: Enable `errexit' shell flag, and related
567 changes. Use the `configure.in' stub created by `./defs',
568 rather than writing one from scratch.
569 * tests/subdir2.test: Likewise.
570 * tests/subdir4.test: Likewise.
571 * tests/subdir3.test: Enable `errexit' shell flag, and related
572 changes. Do not create useless dummy source files.
573 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
574 and in subdirs) stricter. Some minor changes to keep it more
575 in sync with the related test `subdir8.test'.
576 * tests/subdir8.test: Likewise (but with the related test being
577 `subdir5.test' here).
578 * tests/subdir6.test: Cosmetic change in spacing.
579 * tests/subdir9.test: Define and use new variable `$distdir'. Add
580 trailing `:' command.
581 * tests/subdir10.test: Cosmetic consistency-related change.
582 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
583 (configure.in): Use stub created by `./defs', rather than writing
584 it from scratch. Do not use obsoleted and/or deprecated forms of
585 autoconf/automake macros.
587 Modernize and improve test scripts `dist*.test'.
588 * tests/distcleancheck.test: Do not add useless `-e' option to
589 a $MAKE call. Extend test by grepping stderr of make.
590 * tests/distcom2.test: Do not run the same test script on the
591 Makefile.in twice, but save its output in an intermediate file
592 instead. Make grepping of DIST_COMMON definition stricter.
593 Display the content of more files, to ease debugging. Add a
594 trailing `:' command. Improved heading comments w.r.t. sister
596 * tests/distcom6.test: Likewise, and avoid to uselessly run
598 * tests/distcom3.test: Ensure verbose printing of captured stdout
599 and stderr. Make grepping of captured stderr stricter. Also,
600 add trailing `:' command.
601 * tests/distcom4.test: Declare the target `test' in the generated
602 Makefile.am as `.PHONY'. Display content of more files, to ease
603 debugging. Add trailing `:' command.
604 * tests/distcom5.test: Likewise. Also, factor out common sed
605 script in subroutine `extract_distcommon'.
606 * tests/distcom7.test: Prefer cat + here-doc over echo to write
607 test Makefile.am files. Add a trailing `:' command.
608 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
609 call to `set -e' earlier. Be stricter and more verbose in the
610 checking of the generated tarball.
611 (configure.in): Use the stub provided by ./defs, instead of
612 writing it from scratch. Avoid obsoleted constructs. Remove
613 useless call to `AM_PROG_CC_C_O'.
614 * tests/distdir.test: Various minor improvements/normalizations.
615 * tests/distlinks.test: Likewise.
617 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
619 Improve and extend test cond5.test.
620 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
621 the background automake process, but poll it every 10 seconds for
622 at most 30 times (this makes the test both faster on good machines,
623 and more resilient to spurious timeout-due failures when in low
624 priority or on heavily-loaded systems).
625 Check also that automake writes the expected error messages on the
627 Enable `errexit' flag, and related changes.
628 Rely on the `configure.in' stub created by `./defs', rather than
629 writing one from scratch.
631 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
633 Update program --help output to match current GCS.
634 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
635 is not defined, for compatibility to Autoconf < 2.64.
636 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
638 (sc_diff_automake_in_automake): Update number of diff lines for
639 additional substitutions.
640 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
641 home page and GNU general help page.
642 * automake.in (usage): Likewise.
643 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
645 (Introduction, Creating amhello, amhello Explained, Options):
647 * lib/Automake/Makefile.am (do_subst): Substitute
649 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
650 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
653 Clean up @var handling in the manual.
654 * doc/automake.texi: Throughout the manual, lower-case @var
655 names, replace a few one-character names.
657 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
659 Fix typo-related bug in test script silent5.test.
660 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
663 Tests: remove useless repetitions of `foreign' automake option.
664 * tests/multlib.test (configure.in): Remove useless use of
665 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
666 already in $AUTOMAKE by default, so no point in repeating it).
667 * tests/subobj10.test: Likewise.
668 * tests/subobj9.test: Likewise.
669 * tests/lex3.test (Makefile.am): Similarly, remove useless use
670 of `foreign' option in AUTOMAKE_OPTIONS.
671 * tests/lex5.test: Likewise.
672 * tests/pr279.test: Likewise.
673 * tests/pr279-2.test: Likewise.
674 * tests/specflg3.test: Likewise.
675 * tests/target-cflags.test: Likewise.
677 Drop useless requirement "gzip" in lex5.test.
678 * tests/lex5.test ($required): Do not list "gzip", as it's
681 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
683 Fix bugs in test script silent5.test.
684 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
685 instead of egrep) that could have led to false negatives.
687 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
689 Add a test checking that distributed broken symlinks cause
691 * tests/distlinksbrk.test: New test.
692 * tests/Makefile.am (TESTS): Updated.
694 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
696 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
697 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
698 and AM_LFLAGS, LFLAGS in the order in which they now appear in
701 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
702 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
703 please maintainer-check. Ensure generated C files contain a
704 declaration, to please compilers.
706 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
708 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
710 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
711 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
712 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
713 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
716 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
717 $(AM_FLAGS) and $(FLAGS) precedence.
718 * tests/lflags.test: New test, check that user $(LFLAGS) takes
719 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
721 * tests/lflags2.test: Likewise.
722 * tests/yflags.test: New test, check that user $(YFLAGS) takes
723 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
725 * tests/yflags2.test: Likewise.
726 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
728 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
730 Modernize, improve and extend tests `suffix*.test'.
731 * tests/suffix3.test: Enable `errexit' shell flag, and related
733 * tests/suffix4.test: Likewise.
734 * tests/suffix6.test: Likewise, and do not create a useless dummy
736 * tests/suffix7.test: Likewise.
737 * tests/suffix5.test: Enable `errexit' shell flag, and related
738 changes. Make grepping of Makefile.in slighty stricter.
739 * tests/suffix.test: Enable `errexit' shell flag, and related
740 changes. Also, do not redirect grep output to /dev/null, as this
741 might unmotivatedly hide useful information.
742 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
743 in the script (just after inclusion of ./defs). Use a more
744 idiomatic way to count text occurrences in Makefile.in with
745 grep. Do not create useless dummy source files.
746 * tests/suffix10.test: Ensure verbose printing of captured make
747 stdout. Minor cosmetic changes.
748 * tests/suffix8.test: Likewise. Also, drop useless call to the
749 env(1) utility, and make grepping of make output stricter by using
750 $FGREP rather than plain grep.
751 * tests/suffix11.test: Likewise.
752 * tests/suffix12.test: Likewise.
753 * tests/suffix9.test: Prefet cat + here-doc over echo to append to
754 the `configure.in' stub. Cosmetic changes.
755 * tests/suffix13.test: Cosmetic spacing change.
757 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
759 Add useful comment in test script ext.test.
760 * tests/ext.test: Add a comment explaining why an apparently
761 useless `if' statement is indeed required.
763 Add useful comment in test script obsolete.test.
764 * tests/obsolte.test: Add a comment explaining why we need
765 an indirection in adding $AUTOUPDATE to $required.
767 Normalize whitespaces in 'tests/Makefile.am'.
768 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
769 definition of this variable.
771 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
773 Remove a couple of unneeded conditionals from tests.
774 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
775 for the FOOTEST conditional.
777 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
779 Modernize, improve and/or fix various test scripts.
780 * tests/symlink3.test: Deleted, separated into two new, more
782 * tests/forcemiss.test: ... this one ...
783 * tests/forcemiss2.test: ... and this one.
784 * tests/symlink2.test: Enable `errexit' shell flag, make test
785 stricter, and skip it if symlink creation is not supported.
786 * tests/postproc.test: Enable `errexit' shell flag, related
787 changes, and a couple of unrelated cosmetic changes.
788 * tests/recurs.test: Use the `configure.in' stub created by
789 `./defs', rather than writing one from scratch. Make grepping
790 of Automake stderr slighty stricter.
791 * tests/substtarg.test: Likewise.
792 * tests/strip.test: Likewise, and move the call to `set -e'
793 earlier (just after the inclusion of `./defs'). Also, make sure
794 that the script installed by `make install-script' is equal to
796 * tests/substref.test: Use the `configure.in' stub created by
797 `./defs', rather than writing one from scratch. Move the call
798 to `set -e' earlier (just after the inclusion of `./defs').
799 Avoid to explicitly export CC for configure (that's already done
800 in ./defs). Avoid potential problems with unpredictable make
801 output. Finally, make grepping of Makefile.in stricter.
802 * tests/substre2.test: Ensure verbose printing of the captured
803 make's output, and make its grepping slighty stricter.
804 * tests/cygwin32.test: Enable `errexit' shell flag, and related
805 changes. Also, do not create useless dummy source/data files.
806 * tests/scripts.test: Likewise.
807 * tests/recurs2.test: Likewise. Also, use the `configure.in'
808 stub created by `./defs'.
809 * tests/Makefile.am (TESTS): Updated.
811 Modernize, improve and/or fix tests `pluseq*.test.
812 * tests/pluseq5.test: Append to configure.in using cat with an
813 here-doc, not using echo.
814 * tests/pluseq10.test: Make sure that the captured output of
815 `make' command is always displayed. Where possible, use $FGREP
816 instead of grep (this change makes some checks slighty stricter).
817 * tests/pluseq8.test: Enable `errexit' shell flag, with related
819 * tests/pluseq.test: Likewise. Also, do not create useless dummy
820 data files, and use better m4 quoting in generated configure.in.
821 * tests/pluseq2.test: Likewise. Also, append to configure.in
822 using cat with an here-doc, not using echo.
823 * tests/pluseq3.test: Likewise.
824 * tests/pluseq4.test: Likewise.
825 * tests/pluseq6.test: Likewise.
826 * tests/pluseq7.test: Do not create useless dummy source file.
827 * tests/pluseq9.test: Slighty extended w.r.t. the grepping of
828 Automake stderr. Some unrelated cosmetic changes.
830 Testsuite: ensure verbose printing of captured stderr.
831 * tests/acloca18.test: Print captured stderr before either failing
832 or grepping it. Be sure to send captured stderr to stderr, not to
834 * tests/ansi3b.test: Likewise.
835 * tests/cond39.test: Likewise.
836 * tests/configure.test: Likewise.
837 * tests/missing3.test: Likewise.
838 * tests/missing6.test: Likewise.
839 * tests/output-order.test: Likewise.
840 * tests/pr300-ltlib.test: Likewise.
841 * tests/python6.test: Likewise.
842 * tests/python7.test: Likewise.
843 * tests/python8.test: Likewise.
844 * tests/python9.test: Likewise.
845 * tests/subobj.test: Likewise.
846 * tests/vars3.test: Likewise.
847 * tests/missing4.test: Likewise, and fix a call to grep not to use
849 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
850 created by `./defs', rather than writing one from scratch.
852 Enable `errexit' shell flag in various tests.
853 * tests/backsl.test: Enable the `errexit' shell flag, and
855 * tests/backsl2.test: Likewise.
856 * tests/block.test: Likewise.
857 * tests/canon2.test: Likewise.
858 * tests/canon4.test: Likewise.
859 * tests/comment2.test: Likewise.
860 * tests/condlib.test: Likewise.
861 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
862 * tests/canon3.test: Likewise. Also, avoid to create an useless
864 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
865 related changes. Do some cosmetic improvements in the generated
867 * tests/cond4.test: Likewise.
868 * tests/cond14.test: Likewise.
869 * tests/condinc.test: Likewise.
870 * tests/cond7.test: Likewise. Also, remove useless setting of
871 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
872 * tests/ansi.test: Enable the `errexit' shell flag, and related
873 changes. Extended, esp. by running autoconf, ./configure and
874 make, and by looking into the distdir.
876 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
877 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
879 Extend tests/README w.r.t. trailing `:' in test scripts.
880 * tests/README (section "Writing test cases" subsection "Do"):
881 Explain why apparently redundant trailing `:' and `Exit 0' in
882 test scripts can indeed be useful.
884 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
886 Improve determination of PATH separator in bootstrap script.
887 * bootstrap: Detemine what the PATH separator is the same way
890 Minor improvements in bootstrap script.
891 * bootstrap: Consistently use two-spaces indentation. Cosmetic
892 improvement to comments.
893 ($me): New variable, containing program basename.
894 Prepend it to all error messages.
896 Testsuite now works with BSD make in parallel mode.
897 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
898 which are exported by BSD make when run in parallel mode, and
899 which can confuse make processes spawned by our testsuite.
900 This change fixes a lot of spurious failure when the testsuite
901 is run with BSD make in parallel mode.
903 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
905 Modernize, improve and/or fix various test scripts.
906 * tests/sanity.test: Rely on the `configure.in' stub created by
907 `./defs', rather than writing one from scratch.
908 * tests/depend2.test: Likewise. Also, call `set -e' just after
909 the inclusion of `./defs', instead that later in the script.
910 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
911 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
912 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
913 Make auxiliary rules in the generated Makefile more silent.
914 These changes make some checks slighty stricter.
915 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
916 * tests/gettext2.test: Place final `:' at the end of the script,
917 rather than in the middle.
918 * tests/exeext.test: Call `set -e' just after the inclusion of
919 `./defs', instead that later in the script.
920 * tests/extra5.test: Likewise.
921 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
922 plain `mv', just to be sure.
923 * tests/depcomp.test: Enable `errexit' shell flag, with related
924 changes. Also, modernize the generated configure.in.
925 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
926 stub created by `./defs', rather than writing one from scratch.
927 * tests/cond10.test: Likewise.
928 * tests/depcomp2.test: Likewise.
929 * tests/depend3.test: Likewise.
930 * tests/distcom7.test: Likewise.
931 * tests/fortdep.test: Likewise. Also, remove definition of
932 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
933 since that flag is already provided by $AUTOMAKE.
934 * tests/mdate.test: Made stricter, by checking that Automake
935 actually failed, and by making a stricter grep on the error
936 message. Also, set shell `errexit flag'.
937 * tests/python2.test: Improved verbose messages.
939 Make test `ammissing.test' stricter.
940 * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
941 Enable `errexit' shell flag.
943 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
945 Enable `errexit' shell flag in some test scripts.
946 * tests/subcond.test: Enabled `errexit' shell flag, and related
948 * tests/subst.test: Likewise.
949 * tests/vars.test: Likewise.
950 * tests/version4.test: Likewise.
951 * tests/vpath.test: Likewise.
952 * tests/vtexi2.test: Likewise.
953 * tests/werror.test: Likewise.
954 * tests/whoami.test: Likewise.
955 * tests/tags.test: Likewise, and avoid to crate an useless dummy
957 * tests/acsilent.test: Likewise, and don't use an easily-avoided
958 command substitution.
959 * tests/unused.test: Likewise, and don't use an easily-avoided
960 command substitution.
961 * tests/version.test: Likewise, and avoid deprecated constructs
962 in the generated `configure.in'.
963 * tests/version2.test: Likewise, and avoid deprecated constructs
964 in the generated `configure.in'.
966 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
968 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
969 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
970 the verbose log contains all output.
971 * tests/mdate.test: Likewise.
972 Prompted by Stefano Lattarini's change to discover.test.
974 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
976 Improve tests link*.test (enable `errexit' shell flag).
977 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
978 changes. Also, do not create useless source files.
979 * tests/link_dist.test: Likewise.
980 * tests/link_f90_only.test: Likewise.
981 * tests/link_f_only.test: Likewise.
982 * tests/link_fc.test: Likewise.
983 * tests/link_fccxx.test: Likewise.
984 * tests/link_fcxx.test: Likewise.
986 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
988 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
989 * tests/ext.test: Inside shell compound command, use
990 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
991 fix failure with OpenBSD sh introduced with last patch.
992 Actually ensure that a rule for .EXT.o is created for each
995 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
997 Enable `errexit' shell flag in some test scripts.
998 * tests/dash.test: Enable `errexit' shell flag, and related
1000 * tests/defun.test: Likewise.
1001 * tests/defun2.test: Likewise.
1002 * tests/dejagnu.test: Likewise.
1003 * tests/double.test: Likewise.
1004 * tests/distcom2.test: Likewise.
1005 * tests/empty2.test: Likewise.
1006 * tests/empty3.test: Likewise.
1007 * tests/empty4.test: Likewise.
1008 * tests/exdir.test: Likewise.
1009 * tests/ext.test: Likewise.
1010 * tests/extra.test: Likewise.
1011 * tests/extra2.test: Likewise.
1012 * tests/extra3.test: Likewise.
1013 * tests/extra4.test: Likewise.
1014 * tests/flibs.test: Likewise.
1015 * tests/fnoc.test: Likewise.
1016 * tests/fo.test: Likewise.
1017 * tests/instexec.test: Likewise.
1018 * tests/ltdeps.test: Likewise.
1019 * tests/nodep.test: Likewise.
1020 * tests/nodepcomp.test: Likewise.
1021 * tests/f90only.test: Likewise, and remove botched/obsoleted
1022 comments and unecessary commands.
1023 * tests/fonly.test: Likewise, and remove botched/obsoleted
1024 comments and unecessary commands.
1025 * tests/discover.test: Likewise, and made stricter.
1027 Enable `errexit' shell flag in all tests cxx*.test.
1028 * tests/cxx.test: Enabled `errexit' shell flag, and related
1030 * tests/cxxansi.test: Likewise.
1031 * tests/cxxcpp.test: Likewise.
1032 * tests/cxxlibobj.test: Likewise.
1033 * tests/cxxlink.test: Likewise.
1034 * tests/cxxo.test: Likewise.
1036 Enable `errexit' shell flag in various tests.
1037 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1039 * tests/acoutpt.test: Likewise.
1040 * tests/acoutqnl.test: Likewise.
1041 * tests/amassign.test: Likewise.
1042 * tests/ansi2.test: Likewise.
1043 * tests/ansi4.test: Likewise.
1044 * tests/badprog.test: Likewise.
1045 * tests/checkall.test: Likewise.
1046 * tests/clean.test: Likewise.
1047 * tests/colneq2.test: Likewise.
1048 * tests/colon.test: Likewise.
1049 * tests/colon5.test: Likewise.
1050 * tests/colon6.test: Likewise.
1051 * tests/comment.test: Likewise.
1052 * tests/compile_f90_c_cxx.test: Likewise.
1053 * tests/compile_f_c_cxx.test: Likewise.
1054 * tests/cond3.test: Likewise.
1055 * tests/cond6.test: Likewise.
1056 * tests/cond13.test: Likewise.
1057 * tests/conf2.test: Likewise.
1058 * tests/confvar.test: Likewise.
1059 * tests/confvar2.test: Likewise.
1060 * tests/cond8.test: Likewise, plus a cosmetic change.
1061 * tests/confh4.test: Likewise. Also, add in the heading comments
1062 an excerpt from the original bug report which motivated the
1063 creation of this test, to make its purpose clearer.
1065 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1067 Rewrite manual to be gender-neutral.
1068 * doc/automake.texi (GNU Build System)
1069 (Standard Directory Variables, General Operation, CVS)
1070 (Hard-Coded Install Paths, Dependencies As Side Effects):
1071 Rewrite text to not contain gender-specific pronouns when
1072 speaking about developers or users, either by avoiding pronouns
1073 or by addressing them as `you' instead.
1075 Report by Christina Gratorp.
1079 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1081 Make tests on user extensibility of silent-rules mode stricter.
1082 * tests/silent6.test: Made stricter w.r.t. the grepping of the
1083 output produced by `make'.
1084 * tests/silent7.test: Likewise.
1086 Tests on silent-mode for C/Libtool made stricter.
1087 * tests/silent.test: Made stricter w.r.t. the grepping of the
1088 output produced by `make'.
1089 * tests/silent2.test: Likewise.
1090 * tests/silent4.test: Likewise.
1091 * tests/silent9.test: Likewise.
1092 * tests/silent3.test: Likewise, and add a final `make distclean'
1093 command to keep it better in sync with tests/silent{4,9}.test.
1095 Improved test silent5.test.
1096 * tests/silent5.test: Remove by hand all generated C files after
1097 non-verbose builds, to ensure the following builds are clean.
1098 Try to clean and rebuild with the same verbosity and without
1099 removing generated sources in between, to check that this does
1100 not trigger a different set of rules. Make grepping of make's
1101 output stricter. Improved/added some comments.
1103 New tests for Automake silent-mode with Fortran.
1104 * tests/silentf77.test: New test.
1105 * tests/silentf90.test: Likewise.
1106 * tests/Makefile.am (TESTS): Updated accordingly.
1108 New test `silentcxx.test' (Automake silent-mode with C++).
1109 * tests/silentcxx.test: New test.
1110 * tests/Makefile.am (TESTS): Updated accordingly.
1112 New test `silentyacc.test' (Automake silent-mode with Yacc).
1113 * tests/silentyacc.test: New test.
1114 * tests/Makefile.am (TESTS): Updated accordingly.
1116 New test `silentlex.test' (Automake silent-mode with Lex).
1117 * tests/silentlex.test: New test.
1118 * tests/Makefile.am (TESTS): Updated accordingly.
1120 Relax tests on silent-rules to cater to overly verbose makes.
1121 * tests/silent.test: When testing silent builds, don't fail if
1122 make's output simply contains the `mv' substring, but only if
1123 it contains the `mv ' substring (note the trailing space).
1124 * tests/silent2.test: Likewise.
1125 * tests/silent3.test: Likewise.
1126 * tests/silent4.test: Likewise.
1127 * tests/silent5.test: Likewise.
1128 * tests/silent9.test: Likewise.
1130 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1132 Fix silent-rules output for disabled dependency tracking.
1133 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1134 expansion code to also work in the case where %AMDEP% expands
1135 to FALSE at config.status time, using new substitution string
1137 * automake.in (verbose_nodep_flag): New function, appending
1138 `@am__nodep@' to the verbose-variable name.
1139 (handle_languages): If dependencies are not disabled, use it to
1140 set %VERBOSE-NODEP%.
1141 * m4/depend.m4: Substitute am__nodep as '_no', so the second
1142 verbose-variable will always expand to an empty string, if
1143 dependencies are enabled.
1144 * tests/silent5.test: Also test --disable-dependency-tracking;
1145 also test per-target flags for non-C language files.
1146 * tests/silent9.test: New test, like silent4.test but disable
1147 dependency tracking.
1148 * tests/Makefile.am: Adjust.
1149 * NEWS, THANKS: Update.
1150 Report by Dmitry V. Levin <ldv@altlinux.org>.
1152 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1154 Extend test on `nostdinc' automake option.
1155 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
1156 unrelated minor changes. Make the grepping of the generated
1157 Makefile.in slighty stricter. Generate and run configure, so that
1158 the generated Makefile can be grepped too.
1160 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1162 Make gnupload portable to EBCDIC hosts.
1163 * lib/gnupload: Use literal newline as argument for 'tr' rather
1164 than \015, for EBCDIC hosts. Also, avoid unportable nested
1165 double-quotes and backquotes.
1167 Report from Eric Blake and Steve Goetze via gnulib.
1169 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1171 Fix Autoconf version required by Automake's configure.
1172 Automake configure script used to tell that automake required
1173 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1174 and if that was not found, it gave an error saying that Automake
1175 required configure 2.61a-341 or later. This change should
1176 eliminate such inconsistencies.
1177 * configure.ac ($required_autoconf_version): New variable.
1180 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1182 Fix unportable sed script in maintainer-check test.
1183 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1184 not contain semicolon after 'b' or brace commands, for NetBSD.
1186 Wildcards are not portable to NetBSD make.
1187 * doc/automake.texi (Wildcards): Document portability issue.
1188 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1191 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1193 Make test for configure.in vs. configure.ac stricter.
1194 * tests/configure.test: Use a configure.in file that provokes
1195 an automake error, to ensure configure.ac is preferred.
1197 Avoid possible false negatives in dejagnu7.test.
1198 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
1199 unportable use of fgrep option `-e'.
1201 Fix conflnk3.test to work with Solaris/Heirloom Sh.
1202 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1203 instead of respectively `test -e FILE' and `test ! -e FILE',
1204 since Solaris Sh doesn't grok the latter. Do not SKIP the test
1205 if the shell doesn't support `test -e'.
1207 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1210 * doc/automake.texi (Simple Tests using parallel-tests): Add
1211 missing closing parenthesis.
1213 Fix leftover call to removed function macros_dump.
1214 * automake.in (read_main_am_file): Call variables_dump, not
1215 macros_dump. Print actual error before list of variables.
1217 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1219 Minor improvements in comments of test `silent3.test'.
1220 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1223 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1225 testsuite: ensure verbose printing of captured output.
1226 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1227 tests/fort2.test, tests/help.test, tests/missing3.test,
1228 tests/missing6.test: Print captured stdout or stderr before
1231 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1233 Make test badopt.test stricter (by enabling `set -e').
1234 * tests/badopt.test: Add call to `set -e'. Due to this change,
1235 an unexpected failure in the call to `$ACLOCAL' (whose outcome
1236 was previously unchecked) would cause the whole test to fail.
1237 Also, bumped the copyright years.
1239 Make test for configure.in vs. configure.ac stricter.
1240 * tests/configure.test: Use a configure.in file that provokes
1241 an automake error, to ensure configure.ac is preferred.
1243 Use `set -e' in confsub.test (avoids possible false negatives).
1244 * tests/confsub.test: Enable shell `errexit' flag, and related
1245 changes (this helps avoiding some possible minor false negatives).
1246 Also, bumped copyright years.
1248 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1250 Fix -Werror handling for presence of configure.in and configure.ac.
1251 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1252 $configure_ac at the global level, before command-line arguments
1254 (require_variables): Initialize it here.
1255 * tests/configure.test: New test.
1256 * tests/Makefile.am: Update.
1257 Report by Stefano Lattarini.
1259 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1261 Avoid possible false negatives in confh5.test.
1262 * tests/confh5.test: Enable shell `errexit' flag, and bumped
1263 copyright years. Due to this change, any unexpected failure
1264 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1265 a failure in grepping expected text in output files should now
1266 cause the whole test to fail.
1268 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1270 Fixed typo in POD documentation of Automake::Channels.
1271 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1272 @<...> was used instead of C<...>.
1274 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1276 Refactor tests on Automake TESTS color output.
1277 * tests/color.test: Tests using the expect program moved out to...
1278 * tests/color2.test: ... this new file.
1279 * tests/Makefile.am (TESTS): Extended accordingly.
1281 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1283 Fix typos in comments in test confh5.test
1284 * tests/confh5.test: Fix a couple of typos in comments.
1286 Avoid possible false negatives in canon-name.test.
1287 * tests/canon-name.test: Enable shell `errexit' flag. Improve
1290 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1292 Fix per-Makefile.am setting of -Werror.
1293 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1294 Makefile.am would carry over to other Makefile.am files
1295 treated afterwards by the same thread, causing inconsistent
1296 and unstable exit status values.
1297 * lib/Automake/Channels.pm (dup_channel_setup)
1298 (drop_channel_setup): Save and restore the setting of
1299 $warnings_are_errors.
1300 * tests/werror3.test: New test.
1301 * tests/Makefile.am: Adjust.
1304 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1306 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1307 * tests/confh5.test: In the generated Makefile.am: do not use
1308 `test ! -e FILE' to check for the non-existence of a file, since
1309 that is not supported by Solaris/Heirloom Sh.
1311 Make test `aclocal3.test' stricter.
1312 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
1313 succeds unexpectedly.
1315 Add tests checking that symlinks are resolved by `make dist'.
1316 * tests/distlinks.test: New test.
1317 * tests/Makefile.am (TESTS): Updated accordingly.
1318 Suggested by observations from Ralf Wildenhues.
1320 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1322 Use -9 for maximum xz compression with dist-xz.
1323 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1324 * NEWS, THANKS: Update.
1325 Report by Pavel Sanda.
1327 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
1329 Avoid an unportable use of `$status' shell variable.
1330 * Makefile.am (path-check): Don't use the `$status' shell variable
1331 in the target's rules, as it's special in Zsh (equivalent to `$?',
1334 Avoid another use of `chmod -R'.
1335 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1336 $(distdir) before removing it (as Solaris `chmod -R' touches
1337 symlink targets). Instead, use the cleanup strategy used in
1340 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1342 Remove uses of @acronym and @sc.
1343 * doc/automake.texi (Public Macros, Limitations on File Names):
1344 Remove all usage of @acronym and @sc in the manual.
1345 Suggested by Karl Berry.
1347 2010-03-13 Karl Berry <karl@freefriends.org>
1349 GNU hello uses fdl.texi, not gpl.texi.
1350 * doc/automake.texi (Texinfo): Adjust example to upstream
1353 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1355 Formatting cleanups in macro comments.
1356 * automake.in, lib/Automake/Channels.pm,
1357 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1358 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1359 m4/options.m4, m4/substnot.m4: Fix macro comment format.
1361 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1362 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1364 Avoid generation of `tests/defs-p' file.
1365 * tests/defs.in: In the generated `configure.in' snippet: call
1366 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1367 variable `parallel_tests' is set to `yes'.
1368 * tests/Makefile.am (defs-p): Target removed.
1369 (check_SCRIPTS): Removed `defs-p'.
1370 (clean-local-check): Do not unlink `defs-p' anymore.
1371 ($(parallel_tests)): Transformation rules for the test scripts
1373 * tests/gen-parallel-tests: Selection rules for the test
1375 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1376 then include `./defs' (rather than simply including `./defs-p').
1377 * tests/parallel-tests2.test: Likewise.
1378 * tests/parallel-tests3.test: Likewise.
1379 * tests/parallel-tests4.test: Likewise.
1380 * tests/parallel-tests5.test: Likewise.
1381 * tests/parallel-tests6.test: Likewise.
1382 * tests/parallel-tests7.test: Likewise.
1383 * tests/parallel-tests8.test: Likewise.
1384 * tests/parallel-tests9.test: Likewise.
1385 * tests/parallel-tests10.test: Likewise.
1386 * tests/README (Section "Writing Test Cases" subsection "Do"):
1387 Adjusted the parts referring to tests checking `parallel-tests'
1388 behaviour. Some other minor related improvements.
1389 * tests/.gitignore (defs-p): Removed.
1391 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1393 Remove redundant unset of variable TESTS from some test scripts.
1394 * tests/color.test: Do not unset the `TESTS' variable, as it's
1395 already unset in the `defs' file.
1396 * tests/check5.test: Likewise.
1397 * tests/check8.test: Likewise.
1398 * tests/check9.test: Likewise.
1399 * tests/check10.test: Likewise.
1400 * tests/check11.test: Likewise.
1401 * tests/parallel-tests.test: Likewise.
1402 * tests/parallel-tests3.test: Likewise.
1403 * tests/parallel-tests4.test: Likewise.
1404 * tests/parallel-tests5.test: Likewise.
1405 * tests/parallel-tests6.test: Likewise.
1406 * tests/parallel-tests7.test: Likewise.
1408 2010-02-22 Karl Berry <karl@gnu.org>
1410 Improve help message of mdate-sh.
1411 * mdate-sh: mention actual output format in help message.
1413 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1415 Deprecate dist-lzma in favor of dist-xz.
1416 * doc/automake.texi (The Types of Distributions, Options):
1417 Adjust text to reflect renaming of lzma to xz.
1419 Missing deprecation noted by Antonio Diaz Diaz.
1421 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1423 Add tests about support of wildcards in EXTRA_DIST.
1424 * tests/extra10.test: New test, check basic support of wildcards
1426 * tests/extra11.test: New test, check more complex usage of
1427 wildcards in EXTRA_DIST.
1428 * tests/extra12.test: New test, check usage of wildcards in
1429 EXTRA_DIST when $builddir != $srcdir.
1430 * tests/Makefile.am (TESTS): Updated accordingly.
1431 Necessity of these new tests suggested by Braden McDaniel
1432 and Ralf Wildenhues.
1434 2010-02-08 Simon Josefsson <simon@josefsson.org>
1436 Fix copyright statement in gnupload script.
1437 * lib/gnupload: Fix copyright statement.
1439 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
1440 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1442 Fix exit status of signal handlers in shell scripts.
1443 The value of `$?' on entrance to signal handlers in shell scripts
1444 cannot be relied upon, so set the exit code explicitly to
1446 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1447 * lib/elisp-comp: Likewise.
1448 * lib/install-sh: Likewise.
1449 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
1450 * NEWS, THANKS: Update.
1451 Bug report, analysis, and initial patch by Dmitry V. Levin.
1453 2010-02-06 Karl Berry <karl@gnu.org>
1455 Improve gnupload usage text.
1456 * gnupload (usage): Shorten to make more likely to fit on a tty
1457 line. Mention CMD in the synopsis. With ..., plural is implied.
1459 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
1461 Fix some typos in the manual
1462 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1464 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1466 Slighty improve tests acoutbs.test and acoutbs2.test.
1467 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
1468 autoconf and configure work, that the file `zot' is created by
1469 configure, and that no file containing a backslash in its name is
1471 * tests/acoutbs.test: Likewise, plus updated copyright years.
1473 Fix test acoutbs2.test.
1474 * tests/acoutbs2: In the generated configure.in: add proper calls
1475 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1476 PACKAGE and VERSION. Add a call to aclocal before calling automake.
1477 Updated copyright years.
1478 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1480 Add forgotten test scripts to $(TESTS).
1481 * tests/Makefile.am (TESTS): Added test scripts present on the
1482 filesystem, which were erroneously left out from $(TESTS):
1483 acoutbs2.test, badopt.test, extra2.test.
1484 (XFAIL_TESTS): Added acoutbs2.test.
1486 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1488 Sync auxiliary files from upstream.
1489 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1492 Bump copyright years.
1493 * aclocal.in (write_aclocal, version): Bump copyright years.
1494 * automake.in (gen_copyright, version): Likewise.
1495 * doc/automake.texi: Likewise.
1498 * ChangeLog.09: New file, rotated from ...
1499 * ChangeLog: ... here.
1500 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1504 Copyright (C) 2010 Free Software Foundation, Inc.
1506 Copying and distribution of this file, with or without modification, are
1507 permitted provided the copyright notice and this notice are preserved.