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