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