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