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