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