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