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