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