1 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3 * THANKS (Daniel Richard G.): Update e-mail address.
5 2011-08-16 Daniel Richard G. <skunk@iskunk.org> (tiny change)
6 Stefano Lattarini <stefano.lattarini@gmail.com>
8 java: avoid compilation errors when CLASSPATH is empty
9 * lib/am/java.am (CLASSPATH_ENV): When redefining `$CLASSPATH',
10 do not append an empty component in case the previous value of
11 CLASSPATH is empty or unset.
12 * tests/java-empty-classpath.test: New test.
13 * tests/Makefile.am (TESTS): Update.
14 Fixes automake bug#9306.
16 2011-08-16 Stefano Lattarini <stefano.lattarini@gmail.com>
18 parallel-tests: no more spurious successes for FreeBSD make
19 Work around a bug of FreeBSD make bug that was causing the
20 automake-generated "check" target to complete with success
21 even if some tests failed; this happened only when FreeBSD
22 make was run in concurrent mode (as in, e.g., "make -j2
23 check"). The bug is not present in NetBSD make.
24 This change fixes automake bug#9245:
25 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
26 See also FreeBSD PR bin/159730:
27 <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>
28 * lib/am/check.am [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Use a
29 more "safe" (and apparently redundant) idiom to exit with error,
30 so that the non-zero exit status is picked up also by FreeBSD
31 make when it's running in concurrent mode.
33 * tests/check-concurrency-bug9245.test: New test.
34 * tests/Makefile.am (TESTS): Update.
36 2011-08-11 Stefano Lattarini <stefano.lattarini@gmail.com>
38 hacking: we now require autoconf 2.68
39 * HACKING ("Working in git"): Use autoconf and autom4te 2.68,
40 not 2.67, in the examples.
42 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
44 test defs: more environment cleanup
45 * tests/defs.in: Also unset variables AM_COLOR_TESTS and
48 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
50 tests: fix spurious failure with Solaris make
51 * tests/distcheck-configure-flags-am.test: Avoid using `+=' too
52 liberally with AM_DISTCHECK_CONFIGURE_FLAGS, since the line breaks
53 so introduced, in conjunction with single quotes, might confuse
56 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
58 maintcheck: fix maintainer-check failures, both real and spurious
59 * tests/amhello-binpkg.test: Use "$MAKE", not bare "make".
60 * Makefile.am (sc_perl_local): Also allow perl special variable
61 `$~' to be localized. And be slightly laxer in the regexp, to
62 allow for usages like "local $_ = $foo;".
63 (sc_tests_overriding_macros_on_cmdline): Also allow for command
64 line overriding of the `DISABLE_HARD_ERRORS' make variable. Try
65 to avoid false positives for usages like "$MAKE || st=$?".
67 2011-08-03 Bruno Haible <bruno@clisp.org>
69 docs: how to use '-I' option in AM_CPPFLAGS for best VPATH support
70 * doc/automake.texi (Program Variables): Recommend -I options to
71 both the build directory and the source directory when needed.
73 2011-07-23 Stefano Lattarini <stefano.lattarini@gmail.com>
75 tests: relax a test on amhello examples to cater to Solaris tar
76 * tests/amhello-binpkg.test: When the tar implementation in use
77 is not GNU tar, relax the tests on tar output, to avoid spurious
78 failures. For example, "tar cvf ..." with GNU tar can output
79 lines like "./usr/bin/hello" on the standard output, while with
80 Solaris tar it can output lines like "a ./usr/bin/hello 8K" on
81 standard output, and with Heirloom tar it can output lines like
82 "a ./usr/bin/hello 15 tape blocks" on standard error.
84 2011-07-15 Benoit Sigoure <tsunanet@gmail.com>
86 docs: add references between the 2 sections on java support
87 * doc/automake.texi (Java Support, Java): Add cross-references.
89 2011-07-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
91 Sync auxiliary files from upstream.
92 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
93 lib/texinfo.tex: Sync from upstream.
95 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
97 tests: fix weakness in 'tests-environment-backcompat.test'
98 * tests/tests-environment-backcompat.test: Do not override the
99 content of xfailing test `baz.test' with a "weaker" version that
100 fails unconditionally: the test must fail only when the 'strict'
101 pragma is in use, in order not to reduce coverage.
103 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
105 docs, tests: synchronize examples on silent-rules from config.site
106 * doc/automake.texi (Automake silent-rules Option): Reference test
107 'silent-configsite.test' in comments.
109 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
111 tests: portability fixes in tests on amhello examples
112 * tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to
113 extract a gzip-compressed tarball, that's unportable to some
114 tar implementations; use the "gzip -dc fo.tar.gz | tar xf -"
116 * tests/amhello-cflags.test: Likewise.
117 * tests/amhello-cross-compile.test: Likewise.
118 Suggestion from Ralf Wildenhues.
120 2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
122 remake: add test ensuring that slower remakes don't hang
123 * tests/remake-subdir-long-time.test: New test.
124 * tests/Makefile.am (TESTS): Update.
125 Suggestion by Ralf Wildenhues.
127 2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
129 remake: fix outdated comment in configure.am
130 * lib/am/configure.am: Fix comment falsified by changes in
131 commit `v1.11-366-gbee9871'.
132 Suggestion by Ralf Wildenhues.
134 2011-07-01 Stefano Lattarini <stefano.lattarini@gmail.com>
136 docs, tests: synchronize examples from docs to tests
137 * tests/README (Writing test cases): Give suggestions on how to
138 keep test cases and examples in the documentation synchronized.
139 * doc/automake.texi: Improve or fix existing testcase-referencing
140 comments, and add many new ones.
141 * HACKING (Administrivia): Suggest to test complex examples and
142 idioms from the manual.
143 * tests/specflg8.test: Improve synchronization with the example
145 * tests/output11.test:Likewise.
146 * tests/txinfo21.test:Likewise.
147 * tests/interp.test: Likewise. Since we are at it, and enable
148 the `errexit' shell flag, do related changes, and add trailing
150 * tests/amhello-cflags.test: New test.
151 * tests/amhello-cross-compile.test: Likewise.
152 * tests/amhello-binpkg.test: Likewise.
153 * tests/tests-environment-backcompat.test: Likewise.
154 * tests/parallel-tests-log-compiler-example.test: Likewise.
155 * tests/Makefile.am (TESTS): Update.
157 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
159 docs: avoid a footnote, some related rewordings and improvements
160 * doc/automake.texi (Dist): Reword the part about automatically
161 distributed files to avoid a footnote. Since we are at it, extend
162 a bit, and add an example and a reference to a relevant test case.
164 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
166 docs: minor cosmetic fixes
167 * doc/automake.texi: Break few overly long lines, throughout the
169 ("Simple Tests"): Move @vindex for XFAIL_TESTS to the correct
170 position, i.e., before and not after the paragraph where it is
172 ("Options" @item ansi2knr): Use @pxref instead of @xref. This
173 fixes a texinfo warning.
174 ("Other things Automake recognizes" @item AM_C_PROTOTYPES): Use
175 @pxref instead of @ref.
177 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
179 help: improve text about automatically-distributed files
180 This change fixes automake bug#7819.
181 * automake.in (usage): Distinguish between files that are always
182 automatically distributed when found, and those which are only
183 "under certain conditions".
184 * doc/automake.texi (Basics of Distribution): Update accordingly.
185 * tests/autodist-subdir.test: Update.
186 * tests/autodist-no-duplicate.test: Likewise.
187 * tests/autodist.test: Likewise.
188 (configure.in): Remove useless call to AM_MAINTAINER_MODE.
190 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
192 refactor: split 'usage' subroutine in automake
193 This change is related to automake bug#7819.
194 * automake.in (print_autodist_files): New subroutine,
196 (usage): ... this, which now uses it.
197 * tests/autodist-no-duplicate.test: New test.
198 * tests/Makefile.am (TESTS): Update.
200 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
202 tests: fix bug in 'autodist.test'
203 * tests/autodist.test: Avoid spurious failure due to no
204 `defs-static' file being found in the parent directory.
206 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
208 maintcheck: extend 'sc_tests_plain_*' checks
209 * Makefile.am (sc_tests_plain_autom4te): New check.
210 (sc_tests_plain_autoreconf): Likewise.
211 (sc_tests_plain_autoheader): Likewise.
212 (syntax_check_rules): Update.
214 2011-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
216 maintcheck: avoid few spurious failures
217 * Makefile.am (sc_tests_plain_aclocal, sc_tests_plain_perl,
218 sc_tests_plain_autoconf, sc_tests_plain_automake,
219 sc_tests_plain_autoupate): Be stricter in matching an erroneous
220 literal command, i.e., `aclocal', `automake', `perl', etc.
222 2011-06-20 Bert Wesarg <bert.wesarg@googlemail.com> (tiny change)
224 check: don't use multi-line coloring for the report
225 "less -R" can't handle multi-line coloring as it is done for the
226 check reports of the serial and parallel testsuite, because of
227 performance reasons. Thus, color each line of the check report
229 * lib/am/check.am (am__text_box): Accept colors for lines, and
230 color each line by its own.
231 [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Let am__text_box handle
233 [!%?PARALLEL_TESTS%] $(check-TESTS): Color each report line by
237 2011-06-18 Stefano Lattarini <stefano.lattarini@gmail.com>
239 docs: AM_DISTCHECK_CONFIGURE_FLAGS is for corner cases
240 * doc/automake.texi (Checking the Distribution): Explain that the
241 developers should take care of making their code buildable without
242 requiring any special configure options, so that in general
243 AM_DISTCHECK_CONFIGURE_FLAGS shouldn't be used. Give an example
244 of where its use is legitimate.
245 Suggestions from Ralf Wildenhues and Eric Blake.
247 2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com>
249 ansi2knr: deprecate, it will go away in the next major release
250 * doc/automake.texi: Loudly and repeatedly state that the old
251 de-ANSI-fication features are now deprecated and will be removed
252 in the next major Automake release. Other related adjustments.
253 * lib/Automake/Options.pm (_process_option_list ): Give a warning
254 in the `obsolete' category when the `ansi2knr' option is used.
255 * m4/protos.m4 (AM_C_PROTOTYPES): Deprecate this macro: a warning
256 in the `obsolete' category will be emitted it if is used.
257 * tests/ansi2knr-deprecation.test: New test.
258 * tests/Makefile.am (TESTS): Update.
259 * tests/ansi.test: Adjust, by calling autoconf and/or automake
260 with the `-Wno-obsolete' flag.
261 * tests/ansi10.test: Likewise.
262 * tests/ansi2.test: Likewise.
263 * tests/ansi3.test: Likewise.
264 * tests/ansi3b.test: Likewise.
265 * tests/ansi4.test: Likewise.
266 * tests/ansi5.test: Likewise.
267 * tests/ansi6.test: Likewise.
268 * tests/ansi7.test: Likewise.
269 * tests/ansi8.test: Likewise.
270 * tests/ansi9.test: Likewise.
271 * tests/cxxansi.test: Likewise.
272 * tests/libobj8.test: Likewise.
273 * NEWS: Update about the future planned backward-incompatibility
274 due to the removal of de-ANSI-fication feature.
276 2011-06-19 Stefano Lattarini <stefano.lattarini@gmail.com>
278 docs: primary/prefix combination "pkglib_PROGRAMS" is now invalid
279 * doc/automake.texi (Program Sources): pkglib_PROGRAMS is not a
280 valid combination anymore, so don't document it. Inconsistency
281 introduced in commit `v1.11-373-g9ca6326'.
283 2011-06-19 Jim Meyering <meyering@redhat.com>
285 docs: replace obsolete @vindex entry with a useful one
286 * doc/automake.texi (Program Sources): Do not index obsolete
287 pkglib_PROGRAMS here. Do index pkglibexec_PROGRAMS.
289 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
291 tests: optimize tests on primary/prefix mismatch for speed
292 * tests/primary-prefix-invalid-couples.test: Partial rewrite, in
293 order to use just a single automake invocation rather than one
294 invocation for each invalid primary/prefix couple. This improves
295 the test script execution time by an order of magnitude.
296 Since we are at it, throw in some other improvements to avoid
297 unrelated automake warnings and failures that could potentially
298 cause false positives w.r.t. the automake exit status.
300 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
302 news: update w.r.t. introduction of AM_DISTCHECK_CONFIGURE_FLAGS
303 * NEWS (Miscellaneous changes): Update.
305 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
307 maintcheck: DISTCHECK_CONFIGURE_FLAGS can be defined on make cmdline
308 * Makefile.am (sc_tests_overriding_macros_on_cmdline): It's now
309 acceptable that the test scripts override DISTCHECK_CONFIGURE_FLAGS
310 on the make command line. Update comments accordingly. Since we
311 are at it, make the relevant grepping rules slightly tighter.
313 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
315 distcheck: add support for AM_DISTCHECK_CONFIGURE_FLAGS
316 * doc/automake.texi (Checking the Distribution): Suggest to use
317 AM_DISTCHECK_CONFIGURE_FLAGS, not DISTCHECK_CONFIGURE_FLAGS, to
318 define (in the top-level Makefile.am) extra flags to be passed
319 to configure at "make distcheck" time; DISTCHECK_CONFIGURE_FLAGS
320 should be reserved for the user. Add proper `@vindex' directive.
321 Document that AM_DISTCHECK_CONFIGURE_FLAGS is not honoured in a
322 subpackage Makefile.am, but the flags in it are passed down to
323 the configure script of the subpackage.
324 * lib/am/distdir.am (distcheck): Also pass the flags in
325 $(AM_DISTCHECK_CONFIGURE_FLAGS) to the configure invocation.
327 * tests/defs.in.test (AM_DISTCHECK_CONFIGURE_FLAGS,
328 DISTCHECK_CONFIGURE_FLAGS): Unset in case they are exported in
329 the environment, they might improperly influence our testsuite.
330 * tests/distcheck-configure-flags.test: New test.
331 * tests/distcheck-configure-flags-am.test: Likewise.
332 * tests/distcheck-configure-flags-subpkg.test: Likewise.
333 * distcheck-hook.test: Likewise.
334 * distcheck-hook2.test: Likewise.
335 * tests/Makefile.am (TESTS): Update.
336 Closes automake bug#8784.
338 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
340 docs: better documentation for silent make rules
341 * doc/automake.texi (Options): Detailed description of the
342 automake option `silent-rules' moved from here ...
343 (Silent Make): ... into this new chapter, expanded, improved,
344 and subdivided into ...
345 (Make verbosity, Tricks For Silencing Make,
346 Automake silent-rules Option): ... these new sections.
347 (@menu, @detailmenu): Update.
348 * tests/silent-configsite.test: New test, checking that the
349 user can control default mode of silent-rules from config.site,
350 as is documented in the manual.
351 * tests/Makefile.am (TESTS): Updated.
353 2011-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
355 Warnings about primary/prefix mismatch fixed and extended.
356 * automake.in (%standard_prefix): Add `doc' and `locale'.
357 Rename `pkgdatadir' to `pkgdata'. Similarly for`pkglibdir',
358 `pkgincludedir' and `pkglibexecdir'.
359 (handle_programs): List `pkglibexec', not `pkglib', among the
360 prefixes valid for the `PROGRAMS' primary.
361 (handle_data): List also `doc' among the prefixes valid for
362 the `DATA' primary. This is required by automake's own build
364 * tests/dirforbid.test: Test removed, superseded by ...
365 * tests/primary-prefix-invalid-couples.test: ... this new test.
366 * tests/primary-prefix-valid-couples.test: New test.
367 * tests/primary-prefix-couples-documented-valid.test: Likewise.
368 * tests/primary-prefix-couples-force-valid.test: Likewise.
369 * tests/java3.test: Adjusted, and extended a bit.
370 * tests/Makefile.am (TESTS): Updated.
372 From a report by Eric Blake.
374 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
376 test defs: new function 'fatal_', for hard errors
377 Before this patch, the only way offered by tests/defs to
378 properly signal a hard error was the `framework_failure_'
379 function. But the error message issued by that function,
380 as its name would suggest, refers to a set-up failure in the
381 testsuite, while hard errors can obviously also be due to
382 other reasons. The best way to fix this inconsistency is to
383 introduce a new function with a more general error message.
384 Inspired by a recent similar change to Gnulib's tests/init.sh.
385 * tests/defs.in (fatal_): New function.
386 * tests/README (Section "Writing test cases" subsection "Do"):
387 Suggest the use of `fatal_', not of `framework_failure_', for
388 generic hard errors. The latter should be reserved for "real"
391 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
393 maintcheck: fix some failures, extend some checks
394 * Makefile.am (sc_diff_automake_in_automake): Update, as we
395 now expect 9 lines, not 8, to be changed from `automake.in'
397 (sc_diff_aclocal_in_aclocal): New maintainer check, similar to
398 the above, and checking that only 10 lines are changed from
399 `aclocal.in' to `aclocal'.
400 (syntax_check_rules): Update.
401 (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test'
402 from this check, as they can legitimately use the bare `exit'
403 builtin in various places.
404 * doc/automake.texi (Python): Remove stray `@' from the end of
405 a line. Typo introduced in commit `v1.11-312-g5bf7af6'.
406 * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make
407 from the environment rather than from the command line, to
408 pacify the `sc_tests_overriding_macros_on_cmdline' maintainer
410 * tests/depcomp8b.test: Likewise.
412 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
414 remake: behave better with non-GNU make in subdirectories
415 Currently, with every decent make program, it is possible to
416 rebuild out-of-date autotools-generated files with a simple
417 "make Makefile" -- but for this to work reliably with non-GNU
418 make implementations, the command must be issued from the
419 top-level directory. This patch removes such limitation.
420 * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'.
421 * tests/defs.in (using_gmake): New function, backported from the
422 `master' branch (and simplified).
423 * tests/remake-subdir.test: New test.
424 * tests/remake-subdir2.test: Likewise.
425 * tests/remake-subdir-gnu.test: Likewise.
426 * tests/remake-subdir-from-subdir.test: Likewise.
427 * tests/Makefile.am (TESTS): Update.
429 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
431 automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE
432 Currently, the Automake's own configure script allow definition
433 of AUTOCONF and AUTOM4TE, expected to point respectively to an
434 autoconf and autom4te programs. But while these definitions are
435 honoured in the Automake's build systems and test suite, they
436 were *not* honoured in the generated `automake' and `aclocal'
437 scripts. This behaviour, apart from being wrong in that it does
438 not allow the user enough freedom in choosing his tools, also
439 caused inconsistencies in the test suite, brining to spurious
441 Problem reported by Graham Reitz on the automake list; see thread:
442 <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html>
443 * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'.
444 * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'.
445 * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and
450 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
452 build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
453 Our build system allows the user to override AUTOCONF and AUTOHEADER
454 at configure time, and honours these overrides in our testsuite.
455 But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
456 This change fixes that inconsistency.
457 * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
458 AC_SUBSTitutions. Update comments.
459 * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
460 ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
461 ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
462 * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
464 2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
465 Stefano Lattarini <stefano.lattarini@gmail.com>
467 tests/README: fix example about `make -e' usage
468 * tests/README (Section "Writing test cases" subsection "Do"): When
469 some variable is never initialized in the Makefile, `-e' is not
470 necessary in order to override it. DESTDIR is such a variable: we
471 ensure that we do not ever initialize it. And as such, it is quite
473 $ make DESTDIR=/foo/bar install
474 and in fact, quite widely used.
475 So our example about when `make -e' is required, which references
476 the `DESTDIR' variable, is poorly chosen, if not downright wrong.
477 Rewrite it to use `prefix' as the overridden variable instead.
479 2011-05-22 Stefano Lattarini <stefano.lattarini@gmail.com>
481 parallel-tests: stricter checks on DISABLE_HARD_ERRORS support
482 * tests/parallel-tests-harderror.test: New test, doing more
483 in-depth checks on DISABLE_HARD_ERRORS.
484 * tests/parallel-tests.test: Remove tests on DISABLE_HARD_ERRORS,
486 * tests/Makefile.am (TESTS): Update.
488 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
490 testsuite: avoid re-running few tests with 'parallel-tests' option
491 Some tests in our testsuite use the 'simple-tests' driver only
492 marginally, or simply as a mean to conveniently check unrelated
493 invariants. It makes little sense to force these tests to also
494 run with the 'parallel-tests' Automake option active, as doing so
495 offers no real gain in coverage, while often causing a measurable
496 overhead in execution time (for an already too-slow testsuite).
497 * tests/pr401.test (parallel_tests): Define to "no", to prevent
498 the generation of a sibling test script using the 'parallel-tests'
500 * tests/pr401b.test: Likewise.
501 * tests/pr401c.test: Likewise.
503 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
505 testsuite: allow tests to avoid the use of 'parallel-tests' option
506 * tests/gen-parallel-tests: Do not generate "siblings" for tests
507 that explicitly define the `parallel_tests', whether to "yes" or
508 to any other value. Extend heading comments to give a rationale
510 * tests/README: Update.
512 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
514 tests/README: update obsoleted advice
515 * tests/README (Section "Writing test cases" subsection "Do"):
516 Do not suggest to use the `*-p.test' pattern for the names of
517 hand-written tests which use the `parallel-tests' Automake option.
518 Not only is this not respected by the existing tests, but it is
519 more likely to cause conflicts with auto-generated tests.
520 So, suggest to *avoid* using the `*-p.test' pattern in names
521 of hand-written tests instead.
522 (Section "Writing test cases" subsection "Do not"): When
523 suggesting not to override Makefile variables using command
524 line arguments, do not use the badly outdated variables `U'
525 and 'ANSI2KNR' in the example; instead, use the more common
526 and typical `DESTDIR'.
528 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
530 test defs: rename requirement 'non-cross' -> 'native'
531 * tests/defs.in (non-cross): Rename requirement ...
532 (native): ... to this, which is clearer and fits the
533 existing lingo better.
534 Suggestion by Ralf Wildenhues.
536 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
538 testsuite: be more cross-compile friendly
539 * tests/defs.in (cross_compiling): New subroutine.
540 (am__tool_prefix): New internal variable.
541 (gcc, g++, gcj): Force the use of the correct "tool prefix"
542 when cross compiling.
543 (gfortran, g77, non-cross): New requirements.
545 2011-05-11 Stefano Lattarini <stefano.lattarini@gmail.com>
547 check: document and test $(TEST_SUITE_LOG) overriding
548 * doc/automake.texi (Simple Tests using parallel-tests): Explain
549 how and why TEST_SUITE_LOG can be overridden at runtime.
550 * tests/parallel-tests-log-override-1.test: New test, check that
551 the newly documented idiom and similar usages are truly supported.
552 * tests/parallel-tests-log-override-2.test: Likewise.
553 * tests/parallel-tests-log-override-recheck.test: Likewise.
554 * tests/Makefile.am (TESTS): Update.
556 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
558 tests: fix spurious failure of txinfo21.test on FreeBSD
559 * tests/txinfo21.test: Use the `is_newest' subroutine instead of
560 the `ls -t' hack to to determine whether a file has been updated.
561 This is required because at least FreeBSD `ls' do not sort files
562 with the same timestamp in alphabetical order when using the `-t'
565 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
567 tests defs: allow requirements for compilers (mostly dummy)
568 Most of the new requirements that are now accepted in `$required'
569 as consequence of this patch are still dummy. They are planned
570 to be implemented only in master (or in some derived branch), but
571 having them here (even just as no-op) will allow for an easier
572 integration/backporting of potential new testcases.
573 * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
575 (flex): New requirement, picking LEX for configure.
576 (lex): New requirement, alias for `flex'. A more appropriate
577 implementation, looking for a generic `lex' program, will follow
579 (yacc): New requirement, alias for `bison'. A more appropriate
580 implementation, looking for a generic `yacc' program, will follow
583 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
585 tests: fix spurious failure in a test on TESTS (VPATH-related)
586 * tests/check-tests-in-builddir.test: When not using the
587 parallel-tests option, do not check that VPATH components are
588 not present in the displayed test name, since the simple-tests
589 driver do not try to strip them.
591 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
593 test: self check subroutines for skipping/failing of tests
594 * tests/self-check-report.test: New test.
595 * tests/Makefile.am (TESTS): Update.
597 2011-04-23 Jim Meyering <meyering@redhat.com>
598 Stefano Lattarini <stefano.lattarini@gmail.com>
600 test defs: new subroutines for test skipping/failing
601 * tests/defs.in (Exit): Move definition of this function earlier.
602 (warn_, skip_, fail_, framework_failure_): New functions, inspired
603 to the homonyms in gnulib's tests/init.sh.
604 ($stderr_fileno_): New global variable, used by the new functions
606 * tests/README: Updated.
607 From a suggestion by Ralf Wildenhues.
609 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
611 tests: fix typo (copy & paste blunder) in heading comment
612 * tests/maintclean-vpath.test: Correctly refer to the sister test
613 as `maintclean.test', not as `maintclean-vpath.test'.
615 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
617 tests: remove redundant test `mclean.test'
618 * tests/mclean.test: Remove, it's a weak grepping test completely
619 superseded by the much more complete `maintclean.test'.
620 * tests/Makefile.am (TESTS): Update.
622 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
624 testsuite: more environment sanitization
625 * tests/defs.in: Sanity check: abort if any of `parallel_tests'
626 or `required' is in the environment.
627 ($sed_unindent_prog): Initialize to empty, to avoid interferences
628 from the environment.
629 * tests/self-check-me-in-env.test: Renamed to ...
630 * tests/self-check-env-sanitize.test: ... this, and extended.
631 * tests/Makefile.am (TESTS): Update.
632 (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
633 `required'. Adjust comments.
635 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
637 tests: don't allow `$me' to be overridden from the environment
638 * tests/defs.in: Sanity check: abort if $me is in the environment.
639 * tests/self-check-me-in-env.test: New test.
640 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
642 Suggestion by Ralf Wildenhues.
644 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
646 test defs: allow overriding of `$me'
647 * tests/defs.in ($me): Allow overriding by the including test
648 script. Add some explicative comments.
650 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
652 depcomp tests: don't reject slower dependency extractors
653 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
654 option to `configure' invocations, so that slower dependency
655 extractors are not rejected.
656 * tests/depcomp8a.test: Likewise. Also ...
657 (foo.c): ... since we are at it, fix spacing to be consistent
658 with GNU coding standards.
660 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
662 m4: add missing serial numbers to a few files
663 Related to automake bug#8483.
664 * m4/amversion.in: Add serial number.
665 * m4/auxdir.m4: Likewise.
666 * m4/gcj.m4: Likewise.
667 * m4/install-sh.m4: Likewise.
668 * m4/mkdirp.m4: Likewise.
669 * m4/python.m4: Likewise.
670 * m4/runlog.m4: Likewise.
671 * m4/strip.m4: Likewise.
672 * m4/upc.m4: Likewise.
674 2011-04-16 Jim Meyering <meyering@redhat.com>
676 depcomp: correct invalid sed invocation
677 * lib/depcomp: Insert missing -e before '/:$/d'.
678 Otherwise, that use of sed would treat '/:$/d' as a file name.
680 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
682 maintainer check: quote literal `$' in Makefile rule
683 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
684 character in double-quoted string. Fix a bug in which the rule
685 emitted an erroneously empty substring in its error message.
687 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
689 coverage: test for automake bug#8485 (known regression)
690 * tests/yacc-dist-nobuild-subdir.test: New test.
691 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
693 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
695 test defs: define default $distdir (help reducing duplication)
696 * tests/defs.in ($distdir): New variable, might be used in
697 testcases checking distribution-related features.
698 * tests/pr9.test: Use it.
699 * tests/subdir9.test: Likewise.
700 * tests/vtexi3.test: Add comment explaining why we redefine
701 $distdir in this test.
703 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
705 depcomp: fix bugs in tests and in the depcomp script
706 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
707 * tests/depcomp10.test: Make it executable. Fix a blunder that
708 has left part of an intended comment not prefixed by `#', thus
709 causing shell syntax errors. In this same comment, break a
710 too-long reported error message on multiple lines, for clarity.
711 Add reference to the relevant bug report. Add a comment which
712 explains why the test result 'skipped' if the first "make" call
713 fails. Add other useful comments.
714 * tests/depcomp9.test: Slightly improve comments.
716 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
718 Fix hp depmode for VPATH builds with GNU make.
719 * lib/depcomp: Be sure to remove VPATH-prefixed object from
720 dependency output when creating stub rule.
721 * tests/depcomp10.test: New test.
722 * tests/Makefile.am (TESTS): Update.
724 Report by Bruno Haible.
726 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
728 test defs: fix 'javac' requirement for older JDK versions
729 The Java compiler from JDK 1.5 (and presumably earlier versions)
730 cannot handle the `-version' option by itself; and while it does
731 print the version number, it then errors out with an usage error:
734 javac: no source files
735 Usage: javac <options> <source files>
737 Luckily, adding the `-help' option to the `javac' invocation
738 seems to fix this problem.
739 * tests/defs.in (javac): Pass also the `-help' option to the
740 `javac' program. Add a comment explaining why it is needed.
741 Report from Ralf Wildenhues.
743 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
745 test defs: new requirement for the default java compiler
746 * tests/defs.in (for tool in $required): New requirement 'javac'.
747 * tests/java.test: Use it instead of ad-hoc configure check.
748 * tests/java-check.test: Likewise.
749 * tests/instfail-java.test: Likewise.
750 * tests/instdir-java.test: Likewise.
752 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
754 java: check_JAVA does not cause compilation by "make all" anymore
755 Fixes automake bug#8234.
756 * automake.in (handle_java): Make stamp of class files built from
757 java sources in $(check_JAVA) a dependency of `check' target, not
759 * tests/java-check.test: New test.
760 * tests/Makefile.am (TESTS): Update.
763 Report from Petteri Räty.
765 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
767 Clarify regex code in depcomp.
768 * lib/depcomp: Add comment why we don't need regex-escaping here.
769 Suggested by Stefano Lattarini.
771 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
773 Fix makedepend depmode for VPATH builds.
774 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
775 object file name, so a rebuild doesn't attempt to update the
776 .Po files in the source tree.
777 * tests/depcomp9.test: New test.
778 * tests/Makefile.am (TESTS): Update.
781 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
783 tests: fix timestamp-related failures
784 Fixes automake bug#8365.
785 * tests/aclocal6.test: Sleep before modifying m4 files that should
786 trigger remake rules. Remove incorrect/obsoleted comments.
787 * tests/subdir5.test: Likewise, and extend a bit.
788 * tests/subdir8.test: Likewise.
789 * tests/pr8365-remake-timing.test: New xfailing test.
790 * tests/Makefile.am (TESTS): Update.
791 Report from Sam Steingold.
793 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
795 Create subdirs for generated sources even when not dep tracking.
796 * automake.in (handle_single_transform): If $object is derived
797 and lands in subdir, be sure to output a dirstamp dependency.
798 * tests/yacc5.test: Avoid falsely matching the dirstamp
799 dependency when grepping for a rule.
800 * tests/lex-subobj-nodep.test: New test.
801 * tests/Makefile.am (TESTS): Update.
803 Report by Ignacy Gawedzki.
805 Fix locale issue in check-exported-srcdir.test.
806 * tests/check-exported-srcdir.test: Reformulate glob to not fail
807 in a locale that ignores or interleaves character case.
809 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
811 docs: better visibility for aclocal in the index
812 * doc/automake.texi (@menu): Rename title for entry 'configure'
813 from "Scanning configure.ac or configure.in" to the more precise
814 "Scanning configure.ac, using aclocal".
815 (@detailmenu): Adjust.
816 (@node configure): Adjust, and extend @cindex calls accordingly.
818 From a report by Maynard Johnson.
820 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
822 tests: improve tests on "maintainer-clean" target
823 * tests/aclocal6.test: Move checks related to "maintainer-clean"
824 functionalities into ...
825 * tests/maintclean-vpath.test: ... this new test.
826 * tests/maintclean.test: Update heading comments. Extend to also
827 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
828 in configure.in. Add a trailing `:' command. Remove extra blank
830 * tests/Makefile.am (TESTS): Update.
832 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
834 tests: fix unindent to use printf not echo for script.
835 * tests/defs.in: Use printf rather than echo, as the latter may
836 interpret the backslashes in the sed script. Fixes test
837 failures with dash as /bin/sh.
839 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
840 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
842 maintcheck: look for problematic names of testcases
843 The configure.in stub created by default by `tests/defs' obtains
844 the first argument of AC_INIT from the test name, and this can
845 cause some supported autoconf versions to fail with a spurious
846 error if that test name contains the name of an m4 or m4sugar
847 builtin or macro (e.g., `defn' or `m4_undefine').
848 See for example the bug fixed by commit v1.11-287-g1325a8a.
849 This change add a maintainer check that warns about test names
850 which are possibly problematic in this regard.
851 * Makefile.am (sc_test_names): New maintainer-check target.
852 (syntax_check_rules): Add it.
853 (m4_builtins): New helper variable.
854 (TESTS): Updated according to the following renamings.
855 * tests/include.test: Renamed ...
856 * tests/hdr-vars-defined-once.test: ... to this.
857 * tests/sinclude.test: Renamed ...
858 * tests/m4-inclusion.test: ... to this, and simplified
860 * tests/include2.test: Renamed ...
861 * tests/dist-included-parent-dir.test: ... to this, for
864 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
866 tests: fix bug in alloca*.test
867 * tests/alloca.test: Make grepping of automake stderr stricter,
868 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
869 and create a dummy alloca.c file, to ensure that we fail for the
871 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
872 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
873 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
875 From a report by Patrick Welche.
877 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
879 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
880 * tests/comments-in-var-defn.test: The configure.in stub created
881 by default, which has the AC_INIT first argument obtained by the
882 test name, causes autoconf 2.62 to fail with a spurious error
883 message like: "configure.in:1: error: defn: undefined macro:".
884 Thus, to prevent this, the test is renamed to ...
885 * tests/comments-in-var-def.test: ... this.
886 * tests/Makefile.am (TESTS): Updated.
888 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
890 cosmetics: convert encoding from ISO-8859 to UTF-8
891 * ChangeLog.03: Convert encoding to UTF-8.
892 * ChangeLog.96: Likewise.
893 * ChangeLog.98: Likewise.
897 2011-03-01 Peter Rosin <peda@lysator.liu.se>
899 test defs: unindent without temporary file
900 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
901 that strips the "proper" amount of leading whitespace.
902 (unindent): Lazily strip comments from the above program and use it
903 to unindent without using a temporary file.
905 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
907 libtool: suggest LT_INIT if LTLIBRARIES primary is used
908 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
909 defined, automake suggested to add a call to AC_PROG_LIBTOOL
910 in configure.ac. But that macro is deprecated since Libtool
911 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
912 suggest the use of this latter macro instead.
913 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
914 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
915 * tests/libtool4.test: Adjust and extend. Also, add a call to
916 macro AC_PROG_CC in configure.in, to help ensuring that automake
917 does not fail for the wrong reasons.
918 * tests/ltinit.test: New test, ensure that automake's libtool
919 support works with LT_INIT-based interface.
920 Thanks to Jack Kelly for the suggestion.
922 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
924 tests: tempdirs with restrictive permissions are cleaned correctly
925 Before this change, the removal of a temporary test directory
926 containing subdirectories with restrictive permissions (such as
927 'r--r--r--') could fail.
928 * tests/defs: Ensure that all the subdirectories of a temporary
929 test directory have the 'read', 'write' and 'execute' bits set,
930 before trying to remove it with `rm -rf'.
931 * tests/Makefile.am (clean-local-check): Likewise.
933 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
934 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
936 test defs: add subroutine for input unindenting
937 * tests/defs.in (unindent): New subroutine.
939 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
941 python: report the 'PYTHON' influential environment variable
942 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
943 * doc/automake.texi (Python): Update and extend.
944 * tests/help-python.test: New test.
945 * tests/Makefile.am (TESTS): Update.
946 * THANKS (Jack Kelly): Update e-mail address.
947 Suggestion by Jack Kelly.
949 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
951 tests defs: clear TESTS_ENVIRONMENT variable
952 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
953 from environment won't interfere with the testcases.
954 Suggestion by Ralf Wildenhues.
956 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
958 tests: tweak few tests on simple and parallel test drivers
959 * tests/check-exported-srcdir.test: Improve heading comments.
960 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
961 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
962 environment won't risk to interfere with the test.
963 Suggestions by Ralf Wildenhues.
965 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
967 coverage: more tests on simple and parallel test drivers
968 * tests/parallel-tests-subdir.test: New test.
969 * tests/check-exported-srcdir.test: Likewise.
970 * tests/check-tests-in-builddir.test: Likewise.
971 * tests/check-tests_environment.test: Likewise.
972 * tests/Makefile.am (TESTS): Update.
974 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
976 tests: fix spurious failures in lflags*.test
977 * tests/lflags.test: Remove 'LEX' from the environment, so
978 that it won't be erroneously picked up by `make -e'.
979 * tests/lflags2.test: Likewise.
981 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
983 docs: color-tests issues with parallel make
984 * doc/automake.texi (Simple Tests): Document that automatic
985 recognition of a capable terminal attached to stdout can fail
986 with some make implementation when running in parallel mode,
987 thus causing colored test output not to be automatically
988 activated when it should.
990 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
992 tests: avoid instspc.test failures due to make's whitespace trimming
993 * tests/instspc.test: Prepend './' when passing the test
994 characters, to avoid leading whitespace characters to be trimmed
995 from macros set from environment variables. Fixes testsuite
996 failures with HP-UX, IRIX, and Tru64/OSF make.
998 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1000 coverage: test semantics of "dummy" per-target flags
1001 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
1002 per-target flags triggers the use of renamed objects.
1003 * tests/Makefile.am (TESTS): Update.
1004 Suggestion by Ralf Wildenhues.
1006 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1008 tests defs: sanitize IFS
1009 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
1010 ($sp): New variable, holding a single whitespace character.
1011 ($tab): New variable, holding a tabulation character.
1012 ($nl): New variable, holding a newline character.
1014 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1016 tests: fix VPATH auto-expansion workarounds.
1017 * tests/parallel-tests8.test, tests/suffix13.test:
1018 Ensure $< is not surrounded by white space, to prevent Solaris
1019 make from applying automatic VPATH text expansion.
1021 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1023 tests: fix spurious failures in yflags*.test
1024 * tests/yflags.test: Remove 'YACC' from the environment, so
1025 that it won't be erroneously picked up by `make -e'.
1026 * tests/yflags2.test: Likewise.
1028 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1030 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
1031 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
1032 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
1033 up its internal memory when copying this tree.
1035 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1036 Stefano Lattarini <stefano.lattarini@gmail.com>
1038 Add comment to check-TESTS rule working around make 3.80 bug.
1039 * lib/am/check.am (check-TESTS): Update comment.
1041 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1043 tests: less strict double-colon spy.test again.
1044 * tests/spy.test: We know BSD make doesn't invoke more than one
1045 double-colon rule, so no need to expose that failure.
1047 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1049 install-sh: avoid Tru64 sh `test' operator precedence issues.
1050 * lib/install-sh: Protect file names and directory components
1051 that consist of `=', `(', `)', or `!'. Move protection as early
1052 as possible, to avoid errors such as with Tru64 sh `test -z ='.
1053 * tests/instsh2.test: Extend test to cover more possibilities.
1054 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
1056 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1057 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1059 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
1060 * doc/automake.texi (Simple Tests): Do not claim Automake uses
1061 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
1062 parallel-tests driver.
1064 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1066 Allow _AM_DEPENDENCIES to be used later in configure.
1067 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
1068 conftest.dir before recreating it.
1070 Report by Eric Blake, from report by Scott McCreary against M4.
1072 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1074 tests: avoid failure on w32 file systems.
1075 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
1076 be turned unreadable.
1078 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1080 tests: allow double-colon spy.test to work with HP-UX make.
1081 * tests/spy.test: Fix comment typos. Ensure prerequisites we
1082 do not want to depend on are strictly older than the target.
1083 Also test with a target out of date wrt. more than one rule.
1085 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1087 tests: remove useless requirements from cond36.test
1088 * tests/cond36.test ($required): Remove.
1089 Since we are at it, add a trailing `:' command.
1091 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1092 Stefano Lattarini <stefano.lattarini@gmail.com>
1094 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
1095 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
1096 Test file readability before redirecting input from it, to avoid
1097 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
1098 * tests/parallel-tests-unreadable-log.test: New test.
1099 * tests/Makefile.am (TESTS): Update.
1102 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1104 * NEWS, README: Update copyright years.
1106 Fix parallel-tests.test failure with HP-UX make.
1107 * tests/parallel-tests.test: Sleep inside inner tests, so logs
1108 are newer than logs of tests they depend on, for HP-UX make.
1110 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1112 docs: ensure example are separated with empty lines in the input
1113 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
1114 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
1115 lines before `@example' and after `@end example' lines, so info
1116 output is rendered correctly, and a following @noindent honored.
1117 Report by Stefano Lattarini.
1119 2011-01-15 Jim Meyering <meyering@redhat.com>
1121 tests: fix comment typo
1122 * tests/substref.test: Fix grammar in a comment.
1124 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1126 tests: fix spurious failures in two texinfo tests
1127 * tests/txinfo.test ($required): Add 'makeinfo'.
1128 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
1129 that make won't try to run makeinfo (which could be unavailable)
1131 Found by NixOS Hydra, reported by Ralf Wildenhues.
1133 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1135 Avoid testsuite failures due to Autoconf Fortran change.
1136 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
1137 require computing the canonical host name. Ensure config.guess
1138 and config.sub files are present for respective checks.
1139 * tests/compile_f_c_cxx.test: Add stub files.
1140 * tests/flibs.test: Likewise.
1141 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
1143 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1145 docs: clustered '-d' not recognized in YFLAGS
1146 This change fixes automake bug#7828.
1147 * doc/automake.texi (Yacc and Lex): Document that automake
1148 recognizes '-d' in AM_YFLAGS only if it's not clustered with
1150 From a report by Юрий Пухальский.
1152 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1154 tests: add checks on automatically-distributed files
1155 Related to automake bug#7819.
1156 * tests/autodist.test: New test.
1157 * tests/autodist-subdir.test: Likewise.
1158 * tests/autodist-acconfig.test: Likewise.
1159 * tests/autodist-acconfig-no-subdir.test: Likewise.
1160 * tests/autodist-aclocal-m4.test: Likewise.
1161 * tests/autodist-config-headers.test: Likewise.
1162 * tests/autodist-configure-no-subdir.test: Likewise.
1163 * tests/autodist-stamp-vti.test: Likewise.
1164 * tests/Makefile.am (TESTS): Update.
1166 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1168 tests: work around a texi+cygnus bug causing a spurious XFAIL
1169 * tests/txinfo5b.test: New test, like txinfo5.test but calling
1170 automake with the `-Wno-override' option to work around a bug
1171 in the texinfo + cygnus interaction.
1172 * tests/txinfo5.test: Update heading comments.
1173 * tests/Makefile.am (TEST): Updated.
1175 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
1177 Fix another typo in Rule.pm comment.
1178 * lib/Automake/Rule.pm: Fix typo.
1180 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1182 Improve, extend and tweak tests on Texinfo support.
1183 * tests/instdir-texi.test: Add a call to `ls -l' after that to
1184 `make', for debugging. When looking for required tools, do not
1185 redirect the output of "$tool --help" to /dev/null, and do not
1186 uselessly run it in a subshell.
1187 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
1188 make. All checks moved into Makefile.am.
1189 * tests/txinfo8.test: Likewise, and modernize the generated
1191 * tests/txinfo2.test: Moved checks into Makefile.am, and other
1193 * tests/txinfo5.test: Enable `errexit' shell flag, and related
1194 changes. Add trailing `:' command.
1195 * tests/txinfo6.test: Likewise, and make grepping of generated
1196 Makefile.in stricter.
1197 * tests/txinfo7.test: Enable `errexit' shell flag, and related
1198 changes. Add trailing `:' command. Do not add unnecessary stuff
1200 * tests/txinfo9.test: Verify that more targets which are expected
1201 to be generated only once really are. Make grepping less strict,
1202 to avoid exposing too much internal details. More minor changes.
1203 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
1204 for appending to configure.in. Updated/fixed heading comments.
1205 * tests/txinfo23.test: Likewise, and extended a little by making
1206 it check that no info file is created in the $(srcdir).
1207 * tests/txinfo24.test: Likewise.
1208 * tests/txinfo25.test: Likewise.
1209 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
1210 for appending to configure.in. Also, check that index files are
1211 cleaned also by "make clean", not only by "make distclean".
1212 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
1213 and added trailing `:' command. This testcase also used to check
1214 that automake ignores in-line comments when using variables, but
1215 preserves them in the output; these checks (added in commit
1216 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
1217 so they have been moved ...
1218 * tests/comments-in-var-defn.test: ... into this new test.
1219 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
1220 trailing `:' command.
1221 * tests/txinfo29.test: Likewise. Relax grepping of generated
1222 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
1223 append to configure.in.
1224 * tests/txinfo3.test: Likewise.
1225 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
1226 make it stricter, sometimes laxer). Move `set -e' setting just
1227 after the inclusion of ./defs. De-uglify a sed command. Other
1228 minor cosmetic improvements.
1229 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
1230 trailing `:' command.
1231 * tests/vtexi3.test: New test on version.texi support.
1232 * tests/vtexi4.test: Likewise.
1233 * tests/Makefile.am (TESTS): Updated.
1235 2011-01-09 Peter Rosin <peda@lysator.liu.se>
1237 Fix another typo in Rule.pm comment.
1238 * lib/Automake/Rule.pm: Fix typo.
1240 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1242 cosmetics: remove trailing whitespaces
1243 * doc/automake.texi: Remove trailing whitespaces.
1244 * tests/cond13.test: Likewise.
1245 * tests/cond14.test: Likewise.
1246 * tests/fort4.test: Likewise.
1247 * tests/fort5.test: Likewise.
1248 * tests/suffix7.test: Likewise.
1249 * tests/vtexi2.test: Likewise.
1251 automake: minor fixes in comments
1252 * automake.in: Some minor fixes and enhancements in comments.
1254 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1256 Add test coverage for deleted header files.
1257 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
1258 also check for the deleted header bug. If no dependency
1259 tracking mechanism could be found, SKIP rather than exit
1260 successfully. Use GNU style spacing and ANSI C prototypes.
1262 Fix typos in Rule.pm comments.
1263 * lib/Automake/Rule.pm: Fix typos in comments.
1265 docs: split 'amhello Explained' node.
1266 * doc/automake.texi (amhello Explained): Split node ...
1267 (amhello's configure.ac Setup Explained)
1268 (amhello's Makefile.am Setup Explained) : ... into these two.
1269 (Top, Hello World): Adjust, and add @anchor for stable URL links.
1270 Suggestion by Karl Berry in automake bug#7766.
1272 2011-01-08 Karl Berry <karl@freefriends.org>
1273 Eric Blake <eblake@redhat.com>
1275 docs: reference defining directories in amhello node.
1276 * doc/automake.texi (amhello Explained): Point to Autoconf
1277 manual for how to convert directory values into macros.
1278 (Optional): Fix grammar nit.
1280 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1282 * NEWS: Fix typo (forgotten word).
1284 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1285 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1287 docs: how to work around checks on invalid primary/directory couples
1288 * doc/automake.texi (Uniform): Document the blessed idiom which can
1289 be used to work around automake checks on invalid primary/directory
1290 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
1292 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1294 Sync auxiliary files from upstream.
1295 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1298 Fix maintainer-check regression.
1299 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
1302 Bump copyright years.
1303 * aclocal.in (write_aclocal, version): Bump copyright years.
1304 * automake.in (gen_copyright, version): Likewise.
1305 * doc/automake.texi: Likewise.
1307 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1308 Stefano Lattarini <stefano.lattarini@gmail.com>
1310 Work around a bug in file-inclusion mechanism of Solaris make.
1311 * automake.in (handle_single_transform): In the name of the
1312 dependency file: collapse multiple slash characters into a single
1314 * tests/subobj11a.test: New test.
1315 * tests/subobj11b.test: Likewise.
1316 * tests/subobj11c.test: Likewise.
1317 * tests/depcomp8a.test: Likewise.
1318 * tests/depcomp8b.test: Likewise.
1319 * tests/Makefile.am (TESTS): Updated.
1321 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
1322 patch and tests by Stefano Lattarini.
1324 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1326 Fix two spurious testsuite failures on IRIX 6.5.
1327 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
1328 weaker make implementations (e.g. IRIX 6.5).
1329 * tests/parallel-tests8.test: Likewise, plus a required related
1331 Reported by Ralf Wildenhues. The bugs have been there from the
1332 first versions of the affected test scripts.
1334 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1336 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
1337 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
1338 the AM_CYGWIN32 macro (and indeed hasn't required it since at
1339 least commit Release-1-2-31-g3038064 "merged changes from
1340 Cygnus" of 1997-08-25).
1342 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1344 distlinksbrk.test: Work around botched "make -k".
1345 * tests/distlinksbrk.test: Run "make" multiple times and grep
1346 its output each time for a single error message, rather than
1347 running "make -k" one single time and grepping its output for
1348 all the expected error messages. This should work around make
1349 implementations with limited (broken?) `-k' support; for more
1350 information, see these subthreads on the automake-patches list:
1351 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
1352 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
1353 - 2010-11-15, "Testsuite failures on IRIX 6.5",
1354 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
1356 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1358 Fix sed-related buglet in test "subdir5.test"
1359 * tests/subdir5.test: Always terminate text passed to the
1360 `i' sed command with a newline, to work around limitations
1361 in e.g. older OpenBSD sed.
1363 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1365 docs: fix blunder in example about python extension modules
1366 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
1367 not `quaternion_SOURCES', to declare the sources of python
1368 extension module `quaternion.la'.
1370 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1372 docs: list LTLIBRARIES among Automake primaries
1373 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
1374 the Automake primaries.
1376 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1378 Improve tests on generated portions of configure help screen.
1379 * tests/help-depend.test: Grepping of configure help screen
1380 relaxed to cater for possible line wrapping, and tightened in
1382 * tests/help-depend2.test: Likewise.
1383 * tests/help-dmalloc.test: Likewise.
1384 * tests/help-lispdir.test: Likewise.
1385 * tests/help-maintainer.test: Likewise.
1386 * tests/help-multilib.test: Likewise.
1387 * tests/help-silent.test: Likewise.
1388 * tests/help-upc.test: Likewise.
1389 * tests/help-init.test: Grepping of configure help screen
1392 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1394 Avoid running installed automake from 'libtool --help'.
1395 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
1396 Together with fixed Libtool, this fixes check-coverage to not
1397 invoke installed automake.
1399 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1401 Fix spurious failures in `silent*.test' for $CC != gcc
1402 In some tests on automake-produced silent rules, we forced the
1403 use of gcc depmode to improve testsuite coverage; but this has
1404 unsurprisingly led to spurious failures when some non-GNU C
1405 compilers were used. So we are now careful to require GCC in
1406 tests that force gcc depmode.
1407 From reports by Ralf Wildenhues.
1408 * tests/silent5.test: Test removed, its content split into ...
1409 * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
1410 these new sister tests, the latter of which forces gcc depmode
1411 and lists "gcc" in $required.
1412 * tests/silentlex.test: Test removed, its content split into ...
1413 * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
1414 these new sister tests, the latter of which forces gcc depmode
1415 and lists "gcc" in $required.
1416 * tests/silentyacc.test: Test removed, its content split into ...
1417 * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
1418 these new sister tests, the latter of which forces gcc depmode and
1419 lists "gcc" in $required.
1420 * tests/Makefile.am (TESTS): Updated.
1422 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1424 Tests: consistently use "|| Exit 1" after ". ./defs".
1425 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
1426 `. ./defs', for consistency with other tests.
1427 * tests/autohdr2.test: Likewise.
1428 * tests/autohdr3.test: Likewise.
1429 * tests/autohdr4.test: Likewise.
1430 * tests/cond23.test: Likewise.
1431 * tests/cond24.test: Likewise.
1432 * tests/cond25.test: Likewise.
1433 * tests/cond26.test: Likewise.
1434 * tests/cond27.test: Likewise.
1435 * tests/cond28.test: Likewise.
1436 * tests/cond29.test: Likewise.
1437 * tests/cond30.test: Likewise.
1438 * tests/cond31.test: Likewise.
1439 * tests/cond32.test: Likewise.
1440 * tests/cond33.test: Likewise.
1441 * tests/cond34.test: Likewise.
1442 * tests/cond35.test: Likewise.
1443 * tests/cond36.test: Likewise.
1444 * tests/cond37.test: Likewise.
1445 * tests/cond38.test: Likewise.
1446 * tests/cond39.test: Likewise.
1447 * tests/cond40.test: Likewise.
1448 * tests/cond41.test: Likewise.
1449 * tests/cond42.test: Likewise.
1450 * tests/cond43.test: Likewise.
1451 * tests/cond44.test: Likewise.
1452 * tests/cond45.test: Likewise.
1453 * tests/dollarvar.test: Likewise.
1454 * tests/dollarvar2.test: Likewise.
1455 * tests/hfs.test: Likewise.
1456 * tests/libobj14.test: Likewise.
1457 * tests/percent.test: Likewise.
1458 * tests/percent2.test: Likewise.
1459 * tests/phony.test: Likewise.
1460 * tests/silent.test: Likewise.
1461 * tests/silent2.test: Likewise.
1462 * tests/silent3.test: Likewise.
1463 * tests/silent4.test: Likewise.
1464 * tests/silent5.test: Likewise.
1465 * tests/silent6.test: Likewise.
1466 * tests/silent7.test: Likewise.
1467 * tests/silent9.test: Likewise.
1468 * tests/silentcxx.test: Likewise.
1469 * tests/silentf77.test: Likewise.
1470 * tests/silentf90.test: Likewise.
1471 * tests/silentlex.test: Likewise.
1472 * tests/silentyacc.test: Likewise.
1474 Avoid useless cleaning in some `silent*.test' tests.
1475 * tests/silentf77.test: Removed useless calls to "make clean"
1476 and "make maintainer-clean".
1477 * tests/silentf90.test: Likewise.
1478 * tests/silent3.test: Removed useless call to "make distclean".
1479 * tests/silent4.test: Likewise.
1480 * tests/silent9.test: Likewise.
1482 2010-11-19 Ian Lance Taylor <iant@google.com>
1484 Sync config-ml.in from GCC.
1485 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
1486 compiler/flag environment variables.
1488 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1490 Automake::Config: remove extra trailing semicolon.
1491 * lib/Automake/Config.in: Remove extra trailing semicolon.
1493 help4.test: fix botched heading comment.
1494 * tests/help4.test: Fixed the heading comment, since it
1495 didn't correctly describe what checks the testcase was
1496 supposed to perform.
1498 help2.test: add checks on aclocal too.
1499 * tests/help2.test: Check that also `aclocal --version' and
1500 `aclocal --help' work with configure.in and acinclude.m4 both
1503 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1505 Fix spurious failures of silent-rules tests with Sun Fortran.
1506 * tests/silentf77.test: Strip from the make output some verbose
1507 messages possibly printed by the SunStudio fortran compilers, to
1508 avoid spurious failures. Add a trailing `:' command.
1509 * tests/silentf90.test: Likewise.
1511 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1513 Fix spurious failures of silent5.test with Sun Fortran.
1514 * tests/silent5.test: Strip from the make output some verbose
1515 messages possibly printed by the SunStudio fortran compilers,
1516 to avoid spurious failures. This bug has been there from the
1517 very first version of this test script.
1519 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1521 Fix regression in colon{5,6}.test (failures on AIX 5.3).
1522 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
1523 post-processing the generated Makefile.in, to work around a bug
1524 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
1525 on the commend line. Calls to `$MAKE' adjusted accordingly.
1526 * tests/colon6.test: Likewise.
1527 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
1528 improve and/or extend tests `colon*.test", and reported by Ralf
1531 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1533 Fix regression in ansi.test (failure on AIX 5.3).
1534 * tests/ansi.test: Remove redundant hackish check done using a
1535 hand-postprocessed Makefile.in. This check worked by setting
1536 the `$(SHELL)' macro on the command line of make, but this is
1537 not supported by the AIX 5.3 make implementation.
1538 This bug has been lurking for a long time, and was activated by
1539 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
1540 tests". Report by Ralf Wildenhues.
1542 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1544 tests: avoid '##'-style comments inside recipe commands.
1545 * tests/confh.test, tests/confh8.test: Remove
1546 double-hash comments from makefile rule commands, they
1547 are not part of the Automake API.
1549 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1551 tests: work around dash quoting issue in case statements.
1552 * tests/color.test, tests/color2.test: Quote variable in case
1553 pattern, to avoid skipping tests with dash 0.5.5.1.
1555 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1557 Rebuild menus in the manual.
1558 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
1559 Thanks to Ian Lance Taylor for the suggestion.
1561 Fix install-strip when $(STRIP) contains several words.
1562 * lib/am/install.am (install-strip): Update comment. Use
1563 separate sub-make invocations for empty and nonempty $(STRIP),
1564 to fix quoting issues.
1565 * tests/strip2.test, tests/strip3.test: New tests.
1566 * tests/Makefile.am (TESTS): Adjust.
1568 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1570 Fix yaccdry.test failure: require bison.
1571 * tests/yaccdry.test: Require bison.
1572 Found by NixOS Hydra.
1574 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
1576 Fix a bug in variable concatenation with `+='.
1577 * lib/Automake/VarDef.pm (append): Since the content of the
1578 "appended-to" variable is going to be unconditionally normalized
1579 later, simply separate the appended value with a single whitespace
1580 character, instead of trying to be uselessly smarter by using
1581 escaped newlines. This fixes a bug in which extra backslashes
1582 where erroneously inserted in the variable's final value.
1583 * tests/pluseq11.test: New test, exposing the bug.
1584 * tests/Makefile.am (TESTS): Update.
1585 Reported by Andy Wingo.
1587 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1589 Fix bug in rules for creating vala vapi/header files.
1590 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
1591 if control structure in a generated make rules. Bug introduced
1592 by previous commit `v1.11-221-gd7c1679', and revealed by failure
1593 of test `vala2.test'.
1595 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1597 Fix and document rules to not touch the tree with `make -n'.
1598 * doc/automake.texi (Multiple Outputs): Document the problem of
1599 modifications during dry-run execution, propose solution.
1601 * automake.in (lang_vala_finish_target): Split recipe so the
1602 stamp file is not removed with GNU `make -n'.
1603 (lang_yacc_target_hook): Separate removal of parser output file
1604 and header remaking.
1605 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
1606 passed to make, take care not to remove any files in that case.
1607 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
1608 %STAMP% file from induced remaking of config header.
1609 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
1611 * tests/Makefile.am (TESTS): Update.
1613 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1615 Add FAQ entry for bug reporting instructions.
1616 * doc/automake.texi (Reporting Bugs): New section.
1617 (Introduction): Refer to it.
1619 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1621 Add support for newer python versions.
1622 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
1623 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
1624 line and fix indentation.
1626 From a report by Thomas Klausner.
1628 Add test for `AM_WITH_DMALLOC' macro.
1629 * tests/dmalloc.test: New test.
1630 * tests/Makefile.am (TESTS): Update.
1632 Fix nits and bugs in tests `help*.test'.
1633 * tests/help4.test: Fix broken sed commands used to strip `-W...'
1634 flags away from "$AUTOMAKE" and "$ACLOCAL".
1635 * tests/help3.test: Likewise, and fix a botched comment.
1636 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
1637 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1638 please maintainer-check.
1639 * tests/help2.test: Likewise.
1641 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1642 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1644 Improve tests `help*.test' (also fixes maintcheck failures).
1645 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1646 flags stripped away rather than hard-coded `automake-$APIVERSION',
1647 to better honour user-overrides. Similarly for aclocal.
1648 * tests/help2.test: Likewise.
1649 * tests/help3.test: Likewise.
1650 * tests/help4.test: Likewise.
1652 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1654 Document and fix expansion of variables before rules.
1655 * doc/automake.texi (General Operation): Document that variables
1656 are expanded before rules.
1657 * lib/am/check.am (am__check_post): Reword a bit so it does not
1658 get matched as a rule.
1659 Suggestion by Ben Pfaff.
1661 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1663 Revert "parallel-tests: avoid command-line length limit issue."
1664 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
1665 because it re-opened the bug fixed by v1.11-10-g218e678.
1667 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1669 parallel-tests: avoid command-line length limit issue.
1670 * automake.in (handle_tests): New argument $makefile, new
1671 substitution %MAKEFILE%.
1672 (generate_makefile): Adjust.
1673 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1674 sanitized TEST_LOGS value as makefile snippet on standard
1675 input to $(MAKE), to avoid exceeding the command line limit on
1678 Report by Bob Friesenhahn.
1680 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1682 Extend tests on `--help' and `--version' options.
1683 * tests/help.test: Create a new empty directory and chdir into
1684 it, rather than removing already present files. Run the aclocal
1685 and automake wrapper scripts directly, instead of relying on
1686 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
1687 in aclocal's and automake's stderr. Add a trailing `:' command.
1688 * tests/help2.test: New test, checking that options `--help' and
1689 `--version' works in directories with broken `configure.in'.
1690 * tests/help3.test: New test, checking that options `--help' and
1691 `--version' take precedence on the other options.
1692 * tests/help4.test: New test, checking that the first among the
1693 `--help' and `--version' options to be specified on the command
1695 * tests/Makefile.am (TESTS): Updated.
1697 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1699 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
1700 * tests/compile2.test: Do no uselessly (implicitly) repeat the
1701 computation of PATH_SEPARATOR again.
1702 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
1703 extending/redefining PATH.
1704 * tests/instmany-python.test: Likewise.
1705 * tests/instmany.test: Likewise.
1706 * tests/man4.test: Likewise.
1707 * tests/mkinst3.test: Likewise.
1708 * tests/mmodely.test: Likewise.
1709 * tests/multlib.test: Likewise.
1710 * tests/txinfo30.test: Likewise.
1711 * tests/README (Section "Writing test cases" subsection "Do"):
1713 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
1714 (syntax_check_rules): Updated.
1716 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
1717 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
1718 ($ACLOCAL, $AUTOMAKE): Use it.
1719 ($PATH_SEPARATOR): New AC_SUBST'd variables.
1722 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1724 Manual: be more agnostic w.r.t. version control system used.
1725 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
1726 directories as a type of probably-unwanted files that are copied
1727 regardless when adding directories to EXTRA_DIST.
1728 (The dist Hook): Show a dist-hook example which removes Subversion
1729 `.svn' private directories from distdir, rather than CVS private
1731 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
1732 the version control system used.
1734 Manual: index refer to target "git-dist", not "cvs-dist".
1735 * doc/automake.texi (General Operation): Index the non-standard
1736 example about "git-dist" under the "git-dist" label, not under
1739 Perl modules: remove references to "Automake CVS repository".
1740 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
1741 git repository" rather than to "Automake's CVS repository".
1742 * lib/Automake/Configure_ac.pm: Likewise.
1743 * lib/Automake/FileUtils.pm: Likewise.
1744 * lib/Automake/Struct.pm: Likewise.
1745 * lib/Automake/XFile.pm: Likewise.
1746 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
1747 branches" rather than "CVS branches".
1749 Remove obsolete .cvsignore files.
1750 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
1751 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
1752 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
1753 savannah's CVS readonly mirror there's no way to commit back to
1754 the real repository, so this files are not worth maintaining or
1757 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1759 * m4/dmalloc.m4: Bump serial number and copyright years.
1761 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1763 Fix broken link in `AM_WITH_DMALLOC' help screen.
1764 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
1765 `http://www.dmalloc.com', not to the dmalloc tarball there (which
1766 seems to have been removed, substituted by multiple release
1769 2010-09-17 Eric Blake <eblake@redhat.com>
1771 Avoid triple-space after period.
1772 * automake.in (handle_single_transform): Avoid 3 spaces at
1774 * ChangeLog.03: Likewise.
1775 * lib/Automake/ChannelDefs.pm: Likewise.
1776 * lib/Automake/Channels.pm (_print_message): Likewise.
1777 * lib/Automake/Rule.pm (rule): Likewise.
1778 * lib/Automake/Variable.pm (var): Likewise.
1779 * lib/am/distdir.am: Likewise.
1780 * tests/insthook.test: Likewise.
1782 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1784 Test automake-generated portions of configure help screen.
1785 * tests/help-depend.test: New test.
1786 * tests/help-depend2.test: Likewise.
1787 * tests/help-dmalloc.test: Likewise.
1788 * tests/help-init.test: Likewise.
1789 * tests/help-lispdir.test: Likewise.
1790 * tests/help-maintainer.test: Likewise.
1791 * tests/help-multilib.test: Likewise.
1792 * tests/help-regex.test: Likewise.
1793 * tests/help-silent.test: Likewise.
1794 * tests/help-upc.test: Likewise.
1795 * tests/mmode.test: Remove tests on `configure --help' output,
1796 they are superseded by tests in `help-maintainer.test'.
1797 * tests/Makefile.am (TESTS): Update.
1799 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1801 * tests/README: Don't put GCS mandated tools in $required.
1803 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1805 * HACKING: Hint at old commits with `git describe' output.
1807 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1809 Fix regression in test `colon4.test'.
1810 * tests/colon4.test: Fix botched editing to `configure.in'
1811 that made the test useless. Since we are at it, improve
1812 comments and make grepping of generated Makefile.in slightly
1814 Regression introduced by change "Modernize, improve and/or
1815 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
1817 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1819 Do not require "gzip" explicitly in tests.
1820 The gzip utility is simply expected to be present on any decent
1821 target system for Automake. So it's pointless to put it in
1823 * tests/install2.test ($required): Do not require "gzip".
1824 * tests/lex3.test: Likewise.
1825 * tests/pr9.test: Likewise.
1826 From a suggestion by Ralf Wildenhues.
1828 Make some `confh*.test' tests more "semantic" (plus tweakings).
1829 * tests/confh.test: Run "autoconf", "configure" and "make check",
1830 instead of munging/grepping the generated `Makefile.in'.
1831 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1832 white spaces. Do not create useless dummy source file `foo.c'
1833 and useless dummy header file `acconfig.h'.
1834 (configure.in): Remove superfluous call to `AC_OUTPUT'.
1835 * tests/confh6.test: Add trailing `:' command.
1836 * tests/confh7.test: In comments, add reference to ...
1837 * tests/confh8.test: ... this new test, "semantic" sister
1839 * tests/Makefile.am (TESTS): Updated.
1840 Prompted by a report from Ralf Wildenhues.
1842 Remove useless whitespace padding in XFAIL_TESTS definition.
1843 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1845 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1847 parallel-tests: avoid command-line length limit issue.
1848 * automake.in (handle_tests): New argument $makefile, new
1849 substitution %MAKEFILE%.
1850 (generate_makefile): Adjust.
1851 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1852 sanitized TEST_LOGS value as makefile snippet on standard
1853 input to $(MAKE), to avoid exceeding the command line limit on
1856 Report by Bob Friesenhahn.
1858 Posix 2008 requires make to set errexit.
1859 * lib/am/check.am: Update comment.
1861 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
1863 Fix bug in test missing6.test.
1864 * tests/missing6.test: Fix the hack used to edit `configure.in',
1865 to avoid producing a configure script that breaks with shells
1866 that do not support $LINENO. Also throw in a couple of cosmetic
1869 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1871 Improve robustness of mdate-sh script.
1872 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1873 $ls_command is word-split properly upon invocation.
1874 (error): New function.
1875 (main): Use it. Improve error checking to avoid endless loop
1876 in case $ls_command gave bogus output. Fix eval quotation.
1877 * tests/mdate6.test: New test, to expose eval quotation error.
1878 * tests/Makefile.am: Update.
1880 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1882 Fix potential regressions in depcomp{3,5}.test.
1883 * tests/depcomp3.test: Do not uselessly escape the character `$'
1884 in makefile rules, when it's used to expand a make macro.
1885 * tests/depcomp5.test: Likewise.
1887 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1888 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1890 Docs: clarify how to avoid automatic dependencies tracking.
1891 * doc/automake.texi (Automatic dependency tracking): Mention that
1892 automatic dependencies tracking is enabled by default, but that
1893 the package developer can disable it altogether. Add a reference
1894 to the proper section for a more in-depth explanation.
1896 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
1897 * doc/automake.texi (Automatic dependency tracking): Fix typo.
1899 2010-08-16 Bruno Haible <bruno@clisp.org>
1901 Don't hide the table of contents.
1902 * doc/automake.texi: Move the table of contents to the beginning.
1904 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1906 Tweak and/or extend some `acloca*.test' tests.
1907 * tests/aclocal8.test: Ensure verbose printing of captured
1909 * tests/aclocal.test: Likewise. Also, add trailing `:'
1911 * tests/acloca19.test: Likewise.
1912 * tests/aclocal5.test: Add trailing `:' command, and prefer
1913 `$me' over hard-coded test name.
1914 * tests/aclocal6.test: Likewise.
1915 * tests/aclocal18.test: Add trailing `:' command, and make
1916 some grepping slightly stricter.
1917 * tests/acloca14.test: Likewise. Also, prefer `diff' over
1918 `cmp', and add some "cosmetic" blank lines.
1920 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1922 Tweak and extend tests `pr[!0-9]*.test'.
1923 * tests/primary3.test: Add trailing `:' command.
1924 * tests/primary.test: Make grepping of Automake's stderr stricter.
1925 Also, add trailing `:' command, and cosmetic changes in spacing.
1926 * tests/primary2.test: Likewise.
1927 * tests/prefix.test: Enable `errexit' shell flags, and related
1928 changes. Add a trailing `:' command.
1929 * tests/proginst.test: Likewise.
1931 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1932 * tests/pr2.test: Add trailing `:' command.
1933 * tests/pr229.test: Likewise.
1934 * tests/pr401.test: Likewise.
1935 * tests/pr401b.test: Likewise.
1936 * tests/pr401c.test: Likewise.
1937 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1939 * tests/pr300-lib.test: Likewise.
1940 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1941 of captured make stdout.
1942 * tests/pr211.test: Add trailing `:' command. Also, use the
1943 `configure.in' stub created by ./defs, rather than writing it
1945 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1946 * tests/pr287.test: Likewise, and move setting of `errexit' shell
1947 flag earlier in the script (just after inclusion of ./defs).
1948 * tests/pr220.test: Make grepping of Automake's stderr stricter.
1949 Also, add trailing `:' command, and cosmetic changes in spacing.
1950 * tests/pr224.test: Move setting of `errexit' shell flag earlier
1951 in the script (just after inclusion of ./defs). Do not export
1952 `CC=gcc' to configure explicitly (it's already exported globally
1953 in ./defs, since we have "gcc" in $required). Use the stub for
1954 `configure.in' created by ./defs, rather than writing it from
1955 scratch. Do not create dummy files required by "gnu" mode (e.g.
1956 README, NEWS), since we run automake in foreign mode anyway.
1957 * tests/pr72.test: Enable `errexit' shell flags, and related
1958 changes. Extend existing checks a bit.
1959 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
1960 the generated `configure.in', and extend existing checks over the
1961 generated tarball a bit.
1962 * tests/pr87.test: Enable `errexit' shell flags, and related
1963 changes. Add a trailing `:' command. Also, do not create dummy
1964 files required by "gnu" mode (e.g. README, NEWS), since we run
1965 automake in foreign mode anyway.
1966 * tests/pr243.test: Avoid obsolescent constructs in the generated
1967 `configure.in'. Enable the `errexit' shell flag, and related
1968 changes. Cosmetic changes to spacing, add trailing `:' command,
1969 and add a "FIXME" comment.
1970 * tests/pr266.test: Likewise, and add explicit command line switch
1971 `--enable-dependecy-tracking' to the ./configure call.
1972 * tests/pr279.test: Avoid obsolescent constructs in the generated
1973 `configure.in'; also, use the `configure.in' stub created by
1974 ./defs, rather than writing it from scratch. Enable `errexit'
1975 shell flag, and related changes. Add trailing `:' command.
1976 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1978 * tests/pr307.test: Move setting of `errexit' shell flag earlier
1979 in the script (just after inclusion of ./defs). Escape literal
1980 dots in grep regular expressions. Also, add a trailing `:'
1981 command, and cosmetic changes to spacing.
1983 Tests for PR: add excerpts from original bug report, for clarity.
1984 * tests/pr2.test: Ditto.
1985 * tests/pr9.test: Likewise.
1986 * tests/pr72.test: Likewise.
1987 * tests/pr87.test: Likewise.
1988 * tests/pr211.test: Likewise.
1989 * tests/pr220.test: Likewise.
1990 * tests/pr224.test: Likewise.
1991 * tests/pr229.test: Likewise.
1992 * tests/pr243.test: Likewise.
1993 * tests/pr266.test: Likewise.
1994 * tests/pr279.test: Likewise, and tell to keep it in sync
1995 with its sister test.
1996 * tests/pr279-2.test: Likewise.
1998 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2000 Tweak, extend and improve tests `cond[a-z]*.test'.
2001 * tests/condd.test: Add trailing `:' command. Typofix in
2003 * tests/condhook.test: Make sure target `install-data-hook' is
2004 not called by `make install', but that data files are installed.
2005 Use proper m4 quoting in configure.in. Add trailing `:' command.
2006 * tests/condhook2.test: New test, sister test of condhook, with
2008 * tests/condinc2.test: Use proper m4 quoting in configure.in.
2009 Prefer trailing `:' command over trailing `Exit 0'.
2010 * tests/condman2.test: Enable errexit shell flag, and related
2011 changes. Add trailing `:' command.
2012 * tests/condman.test: Likewise. Also, do not create useless
2013 dummy manpages, and use proper m4 quoting in configure.in.
2014 * tests/condman3.test: New test, similar to condman.test, but
2015 it also runs ./configure and "make install", and check the
2017 * tests/Makefile.am (TESTS): Updated.
2019 Modernize, improve and/or extend tests `colon*.test.
2020 * tests/colon.test: Rely on the `configure.in' stub created by
2021 `./defs', rather than writing one from scratch. Do not create
2022 a useless dummy file. Add trailing `:' command.
2023 * tests/colon4.test: Enable the `errexit' shell flag, and
2024 related changes. Rely on the `configure.in' stub created by
2025 `./defs', rather than writing one from scratch.
2026 * tests/colon7.test: Enable `errexit' shell flag, and related
2027 changes. Improve the generated `configure.in' file. Add
2028 trailing `:' command.
2029 * tests/colon2.test: Likewise. Also, add some new checks.
2030 * tests/colon5.test: Improve the generated `configure.in' file.
2031 Add new, much deeper checks. Add trailing `:' command.
2032 * tests/colon6.test: Likewise.
2033 * tests/colon3.test: Add trailing `:' command. Remove useless
2034 comments and echos. Improve the generated `configure.in' file.
2035 make some grepping tests stricter. Add a "FIXME" comments about
2036 planned improvements.
2038 Improve and extend tests `asm*.test'.
2039 * tests/asm.test: Use configure.in stub generated by ./defs,
2040 and avoid obsoleted autoconf constructs. Make grepping of
2041 Automake stderr stricter. Do not create useless source file.
2042 Improve verbose messages. Minor cosmetic changes. Tell to
2043 keep it in sync with other sister tests asm*.test.
2044 * tests/asm2.test: Likewise.
2045 * tests/asm3.test: Likewise.
2047 Modernize, improve and/or extend test scripts `conf*.test'.
2048 * tests/confh5.test: Cosmetic changes.
2049 * tests/conff.test: Likewise.
2050 * tests/confdeps.test: Likewise.
2051 * tests/conflnk.test: Likewise.
2052 * tests/conflnk2.test: Likewise.
2053 * tests/confsub.test: Likewise.
2054 * tests/confvar.test: Likewise, and make grepping of Makefile.in
2056 * tests/confvar2.test: Likewise.
2057 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
2058 disabled test (which didn't work with autoconf <= 2.59, but now we
2059 are requiring autoconf 2.62, so...)
2060 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
2061 accordingly to "TODO" comments.
2062 * tests/conff2.test: Make grepping of Automake's stderr stricter.
2063 Add some comments explaining why we don't use the `configure.in'
2064 stub preset be ./defs.
2065 * tests/confh.test: Use the `configure.in' stub created by ./defs,
2066 rather than writing one from scratch, and do not call AC_OUTPUT.
2067 Enable `errexit' shell flag, and related changes. Prefer diff over
2068 cmp to compare text files. Prefer perl over sed to fetch the value
2069 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
2070 of $(DIST_COMMON) stricter.
2071 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
2072 rather than writing one from scratch. Make grepping of Makefile.in
2074 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
2076 * tests/configure.test: Avoid obsolescent constructs in generated
2077 `configure.ac'. Do not write `configure.in' two times. Escape
2078 literal dots in grep regular expressions.
2079 * tests/confincl.test: Enable `errexit' shell flag, and related
2080 changes. Prefer fgrep over grep. Other cosmetic changes.
2081 * tests/config.test: Renamed to ...
2082 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
2083 and make grepping of `config.h' and `config.h.in' stricter.
2084 * tests/conf2.test: Renamed ...
2085 * tests/confh7.test: ... to this. Use the `configure.in' stub
2086 created by ./defs, rather than writing one from scratch. Try to
2087 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
2089 * tests/Makefile.am (TESTS): Updated.
2091 Minor improvements and fixes in tests `depcomp*.test'.
2092 * tests/depcomp.test: Do not create useless dummy source files.
2093 Add a trailing `:' command.
2094 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
2095 it's not in in the environment, rather than exporting it with an
2096 empty value. Do not pass CC=gcc to configure, as that's already
2097 done in ./defs since we have gcc in $required. Ensure verbose
2098 printing of captured stderr, and normalize its checking. Add a
2099 trailing `:' command.
2100 * tests/depcomp3.test: Quote literal dots and dollar characters in
2101 grep regexps. Always use `: >' rather than `touch' to create empty
2102 files. Explicitly declare phony targets as such in the created
2103 Makefile.am. Add a trailing `:' command.
2104 * tests/depcomp4.test: Quote literal dots and dollar characters in
2105 grep regexp. Explicitly declare phony targets as such in the
2106 created Makefile.am. Ensure verbose printing of captured makes'
2107 stoud/stderr. Add a trailing `:' command.
2108 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
2109 in the script (just after inclusion of ./defs). Quote literal dots
2110 and dollar characters in grep regexps. Explicitly declare phony
2111 targets as such in the created Makefile.am. Add a trailing `:'
2113 * tests/depcomp6.test: Consistently use m4 quoting in the generated
2114 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
2115 statement required by OpenBSD's sh `set -e' more robust, and add
2116 explanatory comments to it.
2117 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
2119 Separate failing part of test `all.test'.
2120 * tests/all.test: Keep only (x)failing part of the test. Working
2121 checks moved out to ...
2122 * tests/all2.test: ... this new test.
2123 * tests/Makefile.am (TESTS): Updated.
2125 Modernize, improve and extend tests `subobj*.test'.
2126 * tests/subobjname.test: Add trailing `:' command.
2127 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
2128 Escape literal dots in grep regexps.
2129 * tests/subobj2.test: Add trailing `:' command. Do not use the
2130 unportable fgrep option `-e'.
2131 * tests/subobj3.test: Add trailing `:' command.
2132 (configure.in): Use proper m4 quoting, and avoid obsolescent
2134 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
2135 flag, with related changes
2136 * tests/subobj4.test: Likewise. Also, make grepping of
2137 `Makefile.in' stricter.
2138 * tests/subobj5.test: Add trailing `:' command. Move setting of
2139 `errexit' shell flag earlier in the script (just after inclusion
2141 (configure.in): Use the stub created by `./defs', rather than
2142 writing it from scratch, and avoid obsolescent constructs.
2143 * tests/subobj6.test: Add trailing `:' command. Move setting of
2144 `errexit' shell flag earlier in the script (just after inclusion
2145 of ./defs). Do not create useless dummy ac-init file `f'.
2146 * tests/subobj7.test: Do not create useless dummy ac-init file
2148 (configure.in): Use the stub created by `./defs', rather than
2149 writing it from scratch, and avoid obsolescent constructs.
2150 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
2151 in the script (just after inclusion of ./defs). Fail the test if
2152 `make distcheck' fails. Ensure verbose printing of captured make
2153 stdout. Avoid useless fork by doing simple grep instead of using
2154 test -n "`COMMAND | grep ...`".
2155 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
2156 (Makefile.am): Explicitly mark target "print" as phony.
2157 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
2158 trailing `:' command.
2159 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
2161 Remove a couple of obsoleted tests.
2162 * tests/fpinstall.test: Removed.
2163 * tests/fpinst2.test: Likewise.
2164 * tests/Makefile.am (TESTS): Updated.
2166 Bootstrap: updated HACKING entry.
2167 * HACKING ("Working with git"): Explain how to override the
2168 autoconf and autom4te programs used by the bootstrap process.
2171 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
2172 since we don't generate it. Correctly quote arguments of
2173 `eval' builtin. Fixed a botched error message. Removed an
2176 Bootstrap: don't search perl in $PATH.
2177 * bootstrap: Do not explicitly search perl in $PATH anymore.
2178 ($PATH_SEPARATOR): Removed, it's no more needed.
2180 Bootstrap: let the user choose which autoconf to use.
2181 * bootstrap ($AUTOCONF): New variable, from the environment.
2182 ($AUTOM4TE): Likewise, for clarity.
2183 Use "$AUTOCONF" instead of calling "autoconf" directly.
2185 Minor improvements to tests ar*.test.
2186 * tests/ar.test: Add trailing `:' command.
2187 * tests/ar2.test: Likewise, and make grepping of generated
2188 Makefile.in stricter.
2190 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2192 Fix maintainer-check failure.
2193 * tests/cond5.test: Quote sleep argument, this isn't about
2194 time stamp differences.
2196 Sync auxiliary files from upstream.
2197 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
2200 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2202 Work around a nasty bug (segfault) of Solaris make.
2203 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
2204 from $list, to avoid triggering a nasty bug (potential segfault)
2207 2010-08-06 Peter Rosin <peda@lysator.liu.se>
2209 Make cond5.test more robust on MSYS.
2210 * tests/cond5.test: Add delay before the first kill attempt to
2211 cater for problems with MSYS bash.
2213 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2215 Add example git work flow; discuss merge --log in HACKING.
2217 Suggestion by Stefano Lattarini.
2219 Add more hints for debugging make rules.
2220 * doc/automake.texi (Debugging Make Rules): Show command to find
2221 out expanded values of variables; point to makefile debugger.
2223 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
2225 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
2227 Fix typo in the manual.
2228 * doc/automake.texi (Scripts): Fix typo.
2230 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2232 Document current policy for development with git.
2233 * HACKING (Working with git): Overhaul.
2234 Prompted by suggestion from Stefano Lattarini.
2236 Fix AM_COND_IF for gone-invalid condition shell expression.
2237 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
2238 variable, rather than re-evaluating the shell expression for
2240 * tests/cond40.test: Extend test.
2243 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
2244 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
2245 to avoid shell syntax error if the m4 expansion is empty.
2246 * tests/cond40.test: Enhance test.
2248 Coverage: bogus option to AM_INIT_AUTOMAKE.
2249 * tests/init2.test: New test.
2250 * tests/Makefile.am: Update.
2252 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2254 Modernize and improve test scripts `subdir*.test'.
2255 * tests/subdir.test: Enable `errexit' shell flag, and related
2256 changes. Use the `configure.in' stub created by `./defs',
2257 rather than writing one from scratch.
2258 * tests/subdir2.test: Likewise.
2259 * tests/subdir4.test: Likewise.
2260 * tests/subdir3.test: Enable `errexit' shell flag, and related
2261 changes. Do not create useless dummy source files.
2262 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
2263 and in subdirs) stricter. Some minor changes to keep it more
2264 in sync with the related test `subdir8.test'.
2265 * tests/subdir8.test: Likewise (but with the related test being
2266 `subdir5.test' here).
2267 * tests/subdir6.test: Cosmetic change in spacing.
2268 * tests/subdir9.test: Define and use new variable `$distdir'. Add
2269 trailing `:' command.
2270 * tests/subdir10.test: Cosmetic consistency-related change.
2271 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
2272 (configure.in): Use stub created by `./defs', rather than writing
2273 it from scratch. Do not use obsoleted and/or deprecated forms of
2274 autoconf/automake macros.
2276 Modernize and improve test scripts `dist*.test'.
2277 * tests/distcleancheck.test: Do not add useless `-e' option to
2278 a $MAKE call. Extend test by grepping stderr of make.
2279 * tests/distcom2.test: Do not run the same test script on the
2280 Makefile.in twice, but save its output in an intermediate file
2281 instead. Make grepping of DIST_COMMON definition stricter.
2282 Display the content of more files, to ease debugging. Add a
2283 trailing `:' command. Improved heading comments w.r.t. sister
2285 * tests/distcom6.test: Likewise, and avoid to uselessly run
2287 * tests/distcom3.test: Ensure verbose printing of captured stdout
2288 and stderr. Make grepping of captured stderr stricter. Also,
2289 add trailing `:' command.
2290 * tests/distcom4.test: Declare the target `test' in the generated
2291 Makefile.am as `.PHONY'. Display content of more files, to ease
2292 debugging. Add trailing `:' command.
2293 * tests/distcom5.test: Likewise. Also, factor out common sed
2294 script in subroutine `extract_distcommon'.
2295 * tests/distcom7.test: Prefer cat + here-doc over echo to write
2296 test Makefile.am files. Add a trailing `:' command.
2297 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
2298 call to `set -e' earlier. Be stricter and more verbose in the
2299 checking of the generated tarball.
2300 (configure.in): Use the stub provided by ./defs, instead of
2301 writing it from scratch. Avoid obsoleted constructs. Remove
2302 useless call to `AM_PROG_CC_C_O'.
2303 * tests/distdir.test: Various minor improvements/normalizations.
2304 * tests/distlinks.test: Likewise.
2306 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
2308 Improve and extend test cond5.test.
2309 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
2310 the background automake process, but poll it every 10 seconds for
2311 at most 30 times (this makes the test both faster on good machines,
2312 and more resilient to spurious timeout-due failures when in low
2313 priority or on heavily-loaded systems).
2314 Check also that automake writes the expected error messages on the
2316 Enable `errexit' flag, and related changes.
2317 Rely on the `configure.in' stub created by `./defs', rather than
2318 writing one from scratch.
2320 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2322 Update program --help output to match current GCS.
2323 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
2324 is not defined, for compatibility to Autoconf < 2.64.
2325 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
2327 (sc_diff_automake_in_automake): Update number of diff lines for
2328 additional substitutions.
2329 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
2330 home page and GNU general help page.
2331 * automake.in (usage): Likewise.
2332 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
2334 (Introduction, Creating amhello, amhello Explained, Options):
2336 * lib/Automake/Makefile.am (do_subst): Substitute
2338 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
2339 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
2342 Clean up @var handling in the manual.
2343 * doc/automake.texi: Throughout the manual, lower-case @var
2344 names, replace a few one-character names.
2346 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
2348 Fix typo-related bug in test script silent5.test.
2349 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
2352 Tests: remove useless repetitions of `foreign' automake option.
2353 * tests/multlib.test (configure.in): Remove useless use of
2354 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
2355 already in $AUTOMAKE by default, so no point in repeating it).
2356 * tests/subobj10.test: Likewise.
2357 * tests/subobj9.test: Likewise.
2358 * tests/lex3.test (Makefile.am): Similarly, remove useless use
2359 of `foreign' option in AUTOMAKE_OPTIONS.
2360 * tests/lex5.test: Likewise.
2361 * tests/pr279.test: Likewise.
2362 * tests/pr279-2.test: Likewise.
2363 * tests/specflg3.test: Likewise.
2364 * tests/target-cflags.test: Likewise.
2366 Drop useless requirement "gzip" in lex5.test.
2367 * tests/lex5.test ($required): Do not list "gzip", as it's
2370 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
2372 Fix bugs in test script silent5.test.
2373 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
2374 instead of egrep) that could have led to false negatives.
2376 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2378 Add a test checking that distributed broken symlinks cause
2379 `make dist' to fail.
2380 * tests/distlinksbrk.test: New test.
2381 * tests/Makefile.am (TESTS): Updated.
2383 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2385 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
2386 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
2387 and AM_LFLAGS, LFLAGS in the order in which they now appear in
2390 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
2391 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
2392 please maintainer-check. Ensure generated C files contain a
2393 declaration, to please compilers.
2395 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2397 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
2398 $(FLAGS) precedence.
2399 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
2400 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
2401 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
2402 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
2405 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
2406 $(AM_FLAGS) and $(FLAGS) precedence.
2407 * tests/lflags.test: New test, check that user $(LFLAGS) takes
2408 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
2410 * tests/lflags2.test: Likewise.
2411 * tests/yflags.test: New test, check that user $(YFLAGS) takes
2412 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
2414 * tests/yflags2.test: Likewise.
2415 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
2417 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2419 Modernize, improve and extend tests `suffix*.test'.
2420 * tests/suffix3.test: Enable `errexit' shell flag, and related
2422 * tests/suffix4.test: Likewise.
2423 * tests/suffix6.test: Likewise, and do not create a useless dummy
2425 * tests/suffix7.test: Likewise.
2426 * tests/suffix5.test: Enable `errexit' shell flag, and related
2427 changes. Make grepping of Makefile.in slightly stricter.
2428 * tests/suffix.test: Enable `errexit' shell flag, and related
2429 changes. Also, do not redirect grep output to /dev/null, as this
2430 might unmotivatedly hide useful information.
2431 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
2432 in the script (just after inclusion of ./defs). Use a more
2433 idiomatic way to count text occurrences in Makefile.in with
2434 grep. Do not create useless dummy source files.
2435 * tests/suffix10.test: Ensure verbose printing of captured make
2436 stdout. Minor cosmetic changes.
2437 * tests/suffix8.test: Likewise. Also, drop useless call to the
2438 env(1) utility, and make grepping of make output stricter by using
2439 $FGREP rather than plain grep.
2440 * tests/suffix11.test: Likewise.
2441 * tests/suffix12.test: Likewise.
2442 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
2443 the `configure.in' stub. Cosmetic changes.
2444 * tests/suffix13.test: Cosmetic spacing change.
2446 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
2448 Add useful comment in test script ext.test.
2449 * tests/ext.test: Add a comment explaining why an apparently
2450 useless `if' statement is indeed required.
2452 Add useful comment in test script obsolete.test.
2453 * tests/obsolete.test: Add a comment explaining why we need
2454 an indirection in adding $AUTOUPDATE to $required.
2456 Normalize whitespaces in 'tests/Makefile.am'.
2457 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
2458 definition of this variable.
2460 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2462 Remove a couple of unneeded conditionals from tests.
2463 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
2464 for the FOOTEST conditional.
2466 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2468 Modernize, improve and/or fix various test scripts.
2469 * tests/symlink3.test: Deleted, separated into two new, more
2471 * tests/forcemiss.test: ... this one ...
2472 * tests/forcemiss2.test: ... and this one.
2473 * tests/symlink2.test: Enable `errexit' shell flag, make test
2474 stricter, and skip it if symlink creation is not supported.
2475 * tests/postproc.test: Enable `errexit' shell flag, related
2476 changes, and a couple of unrelated cosmetic changes.
2477 * tests/recurs.test: Use the `configure.in' stub created by
2478 `./defs', rather than writing one from scratch. Make grepping
2479 of Automake stderr slightly stricter.
2480 * tests/substtarg.test: Likewise.
2481 * tests/strip.test: Likewise, and move the call to `set -e'
2482 earlier (just after the inclusion of `./defs'). Also, make sure
2483 that the script installed by `make install-script' is equal to
2485 * tests/substref.test: Use the `configure.in' stub created by
2486 `./defs', rather than writing one from scratch. Move the call
2487 to `set -e' earlier (just after the inclusion of `./defs').
2488 Avoid to explicitly export CC for configure (that's already done
2489 in ./defs). Avoid potential problems with unpredictable make
2490 output. Finally, make grepping of Makefile.in stricter.
2491 * tests/substre2.test: Ensure verbose printing of the captured
2492 make's output, and make its grepping slightly stricter.
2493 * tests/cygwin32.test: Enable `errexit' shell flag, and related
2494 changes. Also, do not create useless dummy source/data files.
2495 * tests/scripts.test: Likewise.
2496 * tests/recurs2.test: Likewise. Also, use the `configure.in'
2497 stub created by `./defs'.
2498 * tests/Makefile.am (TESTS): Updated.
2500 Modernize, improve and/or fix tests `pluseq*.test.
2501 * tests/pluseq5.test: Append to configure.in using cat with an
2502 here-doc, not using echo.
2503 * tests/pluseq10.test: Make sure that the captured output of
2504 `make' command is always displayed. Where possible, use $FGREP
2505 instead of grep (this change makes some checks slightly stricter).
2506 * tests/pluseq8.test: Enable `errexit' shell flag, with related
2508 * tests/pluseq.test: Likewise. Also, do not create useless dummy
2509 data files, and use better m4 quoting in generated configure.in.
2510 * tests/pluseq2.test: Likewise. Also, append to configure.in
2511 using cat with an here-doc, not using echo.
2512 * tests/pluseq3.test: Likewise.
2513 * tests/pluseq4.test: Likewise.
2514 * tests/pluseq6.test: Likewise.
2515 * tests/pluseq7.test: Do not create useless dummy source file.
2516 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
2517 Automake stderr. Some unrelated cosmetic changes.
2519 Testsuite: ensure verbose printing of captured stderr.
2520 * tests/acloca18.test: Print captured stderr before either failing
2521 or grepping it. Be sure to send captured stderr to stderr, not to
2523 * tests/ansi3b.test: Likewise.
2524 * tests/cond39.test: Likewise.
2525 * tests/configure.test: Likewise.
2526 * tests/missing3.test: Likewise.
2527 * tests/missing6.test: Likewise.
2528 * tests/output-order.test: Likewise.
2529 * tests/pr300-ltlib.test: Likewise.
2530 * tests/python6.test: Likewise.
2531 * tests/python7.test: Likewise.
2532 * tests/python8.test: Likewise.
2533 * tests/python9.test: Likewise.
2534 * tests/subobj.test: Likewise.
2535 * tests/vars3.test: Likewise.
2536 * tests/missing4.test: Likewise, and fix a call to grep not to use
2538 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
2539 created by `./defs', rather than writing one from scratch.
2541 Enable `errexit' shell flag in various tests.
2542 * tests/backsl.test: Enable the `errexit' shell flag, and
2544 * tests/backsl2.test: Likewise.
2545 * tests/block.test: Likewise.
2546 * tests/canon2.test: Likewise.
2547 * tests/canon4.test: Likewise.
2548 * tests/comment2.test: Likewise.
2549 * tests/condlib.test: Likewise.
2550 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
2551 * tests/canon3.test: Likewise. Also, avoid to create an useless
2553 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
2554 related changes. Do some cosmetic improvements in the generated
2555 `configure.in' file.
2556 * tests/cond4.test: Likewise.
2557 * tests/cond14.test: Likewise.
2558 * tests/condinc.test: Likewise.
2559 * tests/cond7.test: Likewise. Also, remove useless setting of
2560 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
2561 * tests/ansi.test: Enable the `errexit' shell flag, and related
2562 changes. Extended, esp. by running autoconf, ./configure and
2563 make, and by looking into the distdir.
2565 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2566 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2568 Extend tests/README w.r.t. trailing `:' in test scripts.
2569 * tests/README (section "Writing test cases" subsection "Do"):
2570 Explain why apparently redundant trailing `:' and `Exit 0' in
2571 test scripts can indeed be useful.
2573 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2575 Improve determination of PATH separator in bootstrap script.
2576 * bootstrap: Determine what the PATH separator is the same way
2579 Minor improvements in bootstrap script.
2580 * bootstrap: Consistently use two-spaces indentation. Cosmetic
2581 improvement to comments.
2582 ($me): New variable, containing program basename.
2583 Prepend it to all error messages.
2585 Testsuite now works with BSD make in parallel mode.
2586 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
2587 which are exported by BSD make when run in parallel mode, and
2588 which can confuse make processes spawned by our testsuite.
2589 This change fixes a lot of spurious failure when the testsuite
2590 is run with BSD make in parallel mode.
2592 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2594 Modernize, improve and/or fix various test scripts.
2595 * tests/sanity.test: Rely on the `configure.in' stub created by
2596 `./defs', rather than writing one from scratch.
2597 * tests/depend2.test: Likewise. Also, call `set -e' just after
2598 the inclusion of `./defs', instead that later in the script.
2599 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
2600 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
2601 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
2602 Make auxiliary rules in the generated Makefile more silent.
2603 These changes make some checks slightly stricter.
2604 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
2605 * tests/gettext2.test: Place final `:' at the end of the script,
2606 rather than in the middle.
2607 * tests/exeext.test: Call `set -e' just after the inclusion of
2608 `./defs', instead that later in the script.
2609 * tests/extra5.test: Likewise.
2610 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
2611 plain `mv', just to be sure.
2612 * tests/depcomp.test: Enable `errexit' shell flag, with related
2613 changes. Also, modernize the generated configure.in.
2614 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
2615 stub created by `./defs', rather than writing one from scratch.
2616 * tests/cond10.test: Likewise.
2617 * tests/depcomp2.test: Likewise.
2618 * tests/depend3.test: Likewise.
2619 * tests/distcom7.test: Likewise.
2620 * tests/fortdep.test: Likewise. Also, remove definition of
2621 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
2622 since that flag is already provided by $AUTOMAKE.
2623 * tests/mdate.test: Made stricter, by checking that Automake
2624 actually failed, and by making a stricter grep on the error
2625 message. Also, set shell `errexit flag'.
2626 * tests/python2.test: Improved verbose messages.
2628 Make test `ammissing.test' stricter.
2629 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
2630 Enable `errexit' shell flag.
2632 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2634 Enable `errexit' shell flag in some test scripts.
2635 * tests/subcond.test: Enabled `errexit' shell flag, and related
2637 * tests/subst.test: Likewise.
2638 * tests/vars.test: Likewise.
2639 * tests/version4.test: Likewise.
2640 * tests/vpath.test: Likewise.
2641 * tests/vtexi2.test: Likewise.
2642 * tests/werror.test: Likewise.
2643 * tests/whoami.test: Likewise.
2644 * tests/tags.test: Likewise, and avoid to crate an useless dummy
2646 * tests/acsilent.test: Likewise, and don't use an easily-avoided
2647 command substitution.
2648 * tests/unused.test: Likewise, and don't use an easily-avoided
2649 command substitution.
2650 * tests/version.test: Likewise, and avoid deprecated constructs
2651 in the generated `configure.in'.
2652 * tests/version2.test: Likewise, and avoid deprecated constructs
2653 in the generated `configure.in'.
2655 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2657 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
2658 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
2659 the verbose log contains all output.
2660 * tests/mdate.test: Likewise.
2661 Prompted by Stefano Lattarini's change to discover.test.
2663 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2665 Improve tests link*.test (enable `errexit' shell flag).
2666 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
2667 changes. Also, do not create useless source files.
2668 * tests/link_dist.test: Likewise.
2669 * tests/link_f90_only.test: Likewise.
2670 * tests/link_f_only.test: Likewise.
2671 * tests/link_fc.test: Likewise.
2672 * tests/link_fccxx.test: Likewise.
2673 * tests/link_fcxx.test: Likewise.
2675 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2677 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
2678 * tests/ext.test: Inside shell compound command, use
2679 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
2680 fix failure with OpenBSD sh introduced with last patch.
2681 Actually ensure that a rule for .EXT.o is created for each
2682 known extension EXT.
2684 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2686 Enable `errexit' shell flag in some test scripts.
2687 * tests/dash.test: Enable `errexit' shell flag, and related
2689 * tests/defun.test: Likewise.
2690 * tests/defun2.test: Likewise.
2691 * tests/dejagnu.test: Likewise.
2692 * tests/double.test: Likewise.
2693 * tests/distcom2.test: Likewise.
2694 * tests/empty2.test: Likewise.
2695 * tests/empty3.test: Likewise.
2696 * tests/empty4.test: Likewise.
2697 * tests/exdir.test: Likewise.
2698 * tests/ext.test: Likewise.
2699 * tests/extra.test: Likewise.
2700 * tests/extra2.test: Likewise.
2701 * tests/extra3.test: Likewise.
2702 * tests/extra4.test: Likewise.
2703 * tests/flibs.test: Likewise.
2704 * tests/fnoc.test: Likewise.
2705 * tests/fo.test: Likewise.
2706 * tests/instexec.test: Likewise.
2707 * tests/ltdeps.test: Likewise.
2708 * tests/nodep.test: Likewise.
2709 * tests/nodepcomp.test: Likewise.
2710 * tests/f90only.test: Likewise, and remove botched/obsoleted
2711 comments and unnecessary commands.
2712 * tests/fonly.test: Likewise, and remove botched/obsoleted
2713 comments and unnecessary commands.
2714 * tests/discover.test: Likewise, and made stricter.
2716 Enable `errexit' shell flag in all tests cxx*.test.
2717 * tests/cxx.test: Enabled `errexit' shell flag, and related
2719 * tests/cxxansi.test: Likewise.
2720 * tests/cxxcpp.test: Likewise.
2721 * tests/cxxlibobj.test: Likewise.
2722 * tests/cxxlink.test: Likewise.
2723 * tests/cxxo.test: Likewise.
2725 Enable `errexit' shell flag in various tests.
2726 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
2728 * tests/acoutpt.test: Likewise.
2729 * tests/acoutqnl.test: Likewise.
2730 * tests/amassign.test: Likewise.
2731 * tests/ansi2.test: Likewise.
2732 * tests/ansi4.test: Likewise.
2733 * tests/badprog.test: Likewise.
2734 * tests/checkall.test: Likewise.
2735 * tests/clean.test: Likewise.
2736 * tests/colneq2.test: Likewise.
2737 * tests/colon.test: Likewise.
2738 * tests/colon5.test: Likewise.
2739 * tests/colon6.test: Likewise.
2740 * tests/comment.test: Likewise.
2741 * tests/compile_f90_c_cxx.test: Likewise.
2742 * tests/compile_f_c_cxx.test: Likewise.
2743 * tests/cond3.test: Likewise.
2744 * tests/cond6.test: Likewise.
2745 * tests/cond13.test: Likewise.
2746 * tests/conf2.test: Likewise.
2747 * tests/confvar.test: Likewise.
2748 * tests/confvar2.test: Likewise.
2749 * tests/cond8.test: Likewise, plus a cosmetic change.
2750 * tests/confh4.test: Likewise. Also, add in the heading comments
2751 an excerpt from the original bug report which motivated the
2752 creation of this test, to make its purpose clearer.
2754 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2756 Rewrite manual to be gender-neutral.
2757 * doc/automake.texi (GNU Build System)
2758 (Standard Directory Variables, General Operation, CVS)
2759 (Hard-Coded Install Paths, Dependencies As Side Effects):
2760 Rewrite text to not contain gender-specific pronouns when
2761 speaking about developers or users, either by avoiding pronouns
2762 or by addressing them as `you' instead.
2764 Report by Christina Gratorp.
2768 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2770 Make tests on user extensibility of silent-rules mode stricter.
2771 * tests/silent6.test: Made stricter w.r.t. the grepping of the
2772 output produced by `make'.
2773 * tests/silent7.test: Likewise.
2775 Tests on silent-mode for C/Libtool made stricter.
2776 * tests/silent.test: Made stricter w.r.t. the grepping of the
2777 output produced by `make'.
2778 * tests/silent2.test: Likewise.
2779 * tests/silent4.test: Likewise.
2780 * tests/silent9.test: Likewise.
2781 * tests/silent3.test: Likewise, and add a final `make distclean'
2782 command to keep it better in sync with tests/silent{4,9}.test.
2784 Improved test silent5.test.
2785 * tests/silent5.test: Remove by hand all generated C files after
2786 non-verbose builds, to ensure the following builds are clean.
2787 Try to clean and rebuild with the same verbosity and without
2788 removing generated sources in between, to check that this does
2789 not trigger a different set of rules. Make grepping of make's
2790 output stricter. Improved/added some comments.
2792 New tests for Automake silent-mode with Fortran.
2793 * tests/silentf77.test: New test.
2794 * tests/silentf90.test: Likewise.
2795 * tests/Makefile.am (TESTS): Updated accordingly.
2797 New test `silentcxx.test' (Automake silent-mode with C++).
2798 * tests/silentcxx.test: New test.
2799 * tests/Makefile.am (TESTS): Updated accordingly.
2801 New test `silentyacc.test' (Automake silent-mode with Yacc).
2802 * tests/silentyacc.test: New test.
2803 * tests/Makefile.am (TESTS): Updated accordingly.
2805 New test `silentlex.test' (Automake silent-mode with Lex).
2806 * tests/silentlex.test: New test.
2807 * tests/Makefile.am (TESTS): Updated accordingly.
2809 Relax tests on silent-rules to cater to overly verbose makes.
2810 * tests/silent.test: When testing silent builds, don't fail if
2811 make's output simply contains the `mv' substring, but only if
2812 it contains the `mv ' substring (note the trailing space).
2813 * tests/silent2.test: Likewise.
2814 * tests/silent3.test: Likewise.
2815 * tests/silent4.test: Likewise.
2816 * tests/silent5.test: Likewise.
2817 * tests/silent9.test: Likewise.
2819 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2821 Fix silent-rules output for disabled dependency tracking.
2822 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2823 expansion code to also work in the case where %AMDEP% expands
2824 to FALSE at config.status time, using new substitution string
2826 * automake.in (verbose_nodep_flag): New function, appending
2827 `@am__nodep@' to the verbose-variable name.
2828 (handle_languages): If dependencies are not disabled, use it to
2829 set %VERBOSE-NODEP%.
2830 * m4/depend.m4: Substitute am__nodep as '_no', so the second
2831 verbose-variable will always expand to an empty string, if
2832 dependencies are enabled.
2833 * tests/silent5.test: Also test --disable-dependency-tracking;
2834 also test per-target flags for non-C language files.
2835 * tests/silent9.test: New test, like silent4.test but disable
2836 dependency tracking.
2837 * tests/Makefile.am: Adjust.
2838 * NEWS, THANKS: Update.
2839 Report by Dmitry V. Levin <ldv@altlinux.org>.
2841 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2843 Extend test on `nostdinc' automake option.
2844 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
2845 unrelated minor changes. Make the grepping of the generated
2846 Makefile.in slightly stricter. Generate and run configure, so that
2847 the generated Makefile can be grepped too.
2849 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2851 Make gnupload portable to EBCDIC hosts.
2852 * lib/gnupload: Use literal newline as argument for 'tr' rather
2853 than \015, for EBCDIC hosts. Also, avoid unportable nested
2854 double-quotes and backquotes.
2856 Report from Eric Blake and Steve Goetze via gnulib.
2858 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2860 Fix Autoconf version required by Automake's configure.
2861 Automake configure script used to tell that automake required
2862 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2863 and if that was not found, it gave an error saying that Automake
2864 required configure 2.61a-341 or later. This change should
2865 eliminate such inconsistencies.
2866 * configure.ac ($required_autoconf_version): New variable.
2869 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2871 Fix unportable sed script in maintainer-check test.
2872 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2873 not contain semicolon after 'b' or brace commands, for NetBSD.
2875 Wildcards are not portable to NetBSD make.
2876 * doc/automake.texi (Wildcards): Document portability issue.
2877 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2880 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2882 Make test for configure.in vs. configure.ac stricter.
2883 * tests/configure.test: Use a configure.in file that provokes
2884 an automake error, to ensure configure.ac is preferred.
2886 Avoid possible false negatives in dejagnu7.test.
2887 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
2888 unportable use of fgrep option `-e'.
2890 Fix conflnk3.test to work with Solaris/Heirloom Sh.
2891 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
2892 instead of respectively `test -e FILE' and `test ! -e FILE',
2893 since Solaris Sh doesn't grok the latter. Do not SKIP the test
2894 if the shell doesn't support `test -e'.
2896 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2899 * doc/automake.texi (Simple Tests using parallel-tests): Add
2900 missing closing parenthesis.
2902 Fix leftover call to removed function macros_dump.
2903 * automake.in (read_main_am_file): Call variables_dump, not
2904 macros_dump. Print actual error before list of variables.
2906 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
2908 Minor improvements in comments of test `silent3.test'.
2909 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
2912 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2914 testsuite: ensure verbose printing of captured output.
2915 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
2916 tests/fort2.test, tests/help.test, tests/missing3.test,
2917 tests/missing6.test: Print captured stdout or stderr before
2920 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2922 Make test badopt.test stricter (by enabling `set -e').
2923 * tests/badopt.test: Add call to `set -e'. Due to this change,
2924 an unexpected failure in the call to `$ACLOCAL' (whose outcome
2925 was previously unchecked) would cause the whole test to fail.
2926 Also, bumped the copyright years.
2928 Make test for configure.in vs. configure.ac stricter.
2929 * tests/configure.test: Use a configure.in file that provokes
2930 an automake error, to ensure configure.ac is preferred.
2932 Use `set -e' in confsub.test (avoids possible false negatives).
2933 * tests/confsub.test: Enable shell `errexit' flag, and related
2934 changes (this helps avoiding some possible minor false negatives).
2935 Also, bumped copyright years.
2937 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2939 Fix -Werror handling for presence of configure.in and configure.ac.
2940 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2941 $configure_ac at the global level, before command-line arguments
2943 (require_variables): Initialize it here.
2944 * tests/configure.test: New test.
2945 * tests/Makefile.am: Update.
2946 Report by Stefano Lattarini.
2948 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2950 Avoid possible false negatives in confh5.test.
2951 * tests/confh5.test: Enable shell `errexit' flag, and bumped
2952 copyright years. Due to this change, any unexpected failure
2953 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2954 a failure in grepping expected text in output files should now
2955 cause the whole test to fail.
2957 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2959 Fixed typo in POD documentation of Automake::Channels.
2960 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2961 @<...> was used instead of C<...>.
2963 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2965 Refactor tests on Automake TESTS color output.
2966 * tests/color.test: Tests using the expect program moved out to...
2967 * tests/color2.test: ... this new file.
2968 * tests/Makefile.am (TESTS): Extended accordingly.
2970 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2972 Fix typos in comments in test confh5.test
2973 * tests/confh5.test: Fix a couple of typos in comments.
2975 Avoid possible false negatives in canon-name.test.
2976 * tests/canon-name.test: Enable shell `errexit' flag. Improve
2979 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2981 Fix per-Makefile.am setting of -Werror.
2982 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2983 Makefile.am would carry over to other Makefile.am files
2984 treated afterwards by the same thread, causing inconsistent
2985 and unstable exit status values.
2986 * lib/Automake/Channels.pm (dup_channel_setup)
2987 (drop_channel_setup): Save and restore the setting of
2988 $warnings_are_errors.
2989 * tests/werror3.test: New test.
2990 * tests/Makefile.am: Adjust.
2993 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2995 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2996 * tests/confh5.test: In the generated Makefile.am: do not use
2997 `test ! -e FILE' to check for the non-existence of a file, since
2998 that is not supported by Solaris/Heirloom Sh.
3000 Make test `aclocal3.test' stricter.
3001 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
3002 succeds unexpectedly.
3004 Add tests checking that symlinks are resolved by `make dist'.
3005 * tests/distlinks.test: New test.
3006 * tests/Makefile.am (TESTS): Updated accordingly.
3007 Suggested by observations from Ralf Wildenhues.
3009 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3011 Use -9 for maximum xz compression with dist-xz.
3012 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
3013 * NEWS, THANKS: Update.
3014 Report by Pavel Sanda.
3016 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
3018 Avoid an unportable use of `$status' shell variable.
3019 * Makefile.am (path-check): Don't use the `$status' shell variable
3020 in the target's rules, as it's special in Zsh (equivalent to `$?',
3023 Avoid another use of `chmod -R'.
3024 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
3025 $(distdir) before removing it (as Solaris `chmod -R' touches
3026 symlink targets). Instead, use the cleanup strategy used in
3029 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3031 Remove uses of @acronym and @sc.
3032 * doc/automake.texi (Public Macros, Limitations on File Names):
3033 Remove all usage of @acronym and @sc in the manual.
3034 Suggested by Karl Berry.
3036 2010-03-13 Karl Berry <karl@freefriends.org>
3038 GNU hello uses fdl.texi, not gpl.texi.
3039 * doc/automake.texi (Texinfo): Adjust example to upstream
3042 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3044 Formatting cleanups in macro comments.
3045 * automake.in, lib/Automake/Channels.pm,
3046 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
3047 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
3048 m4/options.m4, m4/substnot.m4: Fix macro comment format.
3050 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
3051 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3053 Avoid generation of `tests/defs-p' file.
3054 * tests/defs.in: In the generated `configure.in' snippet: call
3055 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
3056 variable `parallel_tests' is set to `yes'.
3057 * tests/Makefile.am (defs-p): Target removed.
3058 (check_SCRIPTS): Removed `defs-p'.
3059 (clean-local-check): Do not unlink `defs-p' anymore.
3060 ($(parallel_tests)): Transformation rules for the test scripts
3062 * tests/gen-parallel-tests: Selection rules for the test
3064 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
3065 then include `./defs' (rather than simply including `./defs-p').
3066 * tests/parallel-tests2.test: Likewise.
3067 * tests/parallel-tests3.test: Likewise.
3068 * tests/parallel-tests4.test: Likewise.
3069 * tests/parallel-tests5.test: Likewise.
3070 * tests/parallel-tests6.test: Likewise.
3071 * tests/parallel-tests7.test: Likewise.
3072 * tests/parallel-tests8.test: Likewise.
3073 * tests/parallel-tests9.test: Likewise.
3074 * tests/parallel-tests10.test: Likewise.
3075 * tests/README (Section "Writing Test Cases" subsection "Do"):
3076 Adjusted the parts referring to tests checking `parallel-tests'
3077 behaviour. Some other minor related improvements.
3078 * tests/.gitignore (defs-p): Removed.
3080 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
3082 Remove redundant unset of variable TESTS from some test scripts.
3083 * tests/color.test: Do not unset the `TESTS' variable, as it's
3084 already unset in the `defs' file.
3085 * tests/check5.test: Likewise.
3086 * tests/check8.test: Likewise.
3087 * tests/check9.test: Likewise.
3088 * tests/check10.test: Likewise.
3089 * tests/check11.test: Likewise.
3090 * tests/parallel-tests.test: Likewise.
3091 * tests/parallel-tests3.test: Likewise.
3092 * tests/parallel-tests4.test: Likewise.
3093 * tests/parallel-tests5.test: Likewise.
3094 * tests/parallel-tests6.test: Likewise.
3095 * tests/parallel-tests7.test: Likewise.
3097 2010-02-22 Karl Berry <karl@gnu.org>
3099 Improve help message of mdate-sh.
3100 * mdate-sh: mention actual output format in help message.
3102 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3104 Deprecate dist-lzma in favor of dist-xz.
3105 * doc/automake.texi (The Types of Distributions, Options):
3106 Adjust text to reflect renaming of lzma to xz.
3108 Missing deprecation noted by Antonio Diaz Diaz.
3110 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3112 Add tests about support of wildcards in EXTRA_DIST.
3113 * tests/extra10.test: New test, check basic support of wildcards
3115 * tests/extra11.test: New test, check more complex usage of
3116 wildcards in EXTRA_DIST.
3117 * tests/extra12.test: New test, check usage of wildcards in
3118 EXTRA_DIST when $builddir != $srcdir.
3119 * tests/Makefile.am (TESTS): Updated accordingly.
3120 Necessity of these new tests suggested by Braden McDaniel
3121 and Ralf Wildenhues.
3123 2010-02-08 Simon Josefsson <simon@josefsson.org>
3125 Fix copyright statement in gnupload script.
3126 * lib/gnupload: Fix copyright statement.
3128 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
3129 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3131 Fix exit status of signal handlers in shell scripts.
3132 The value of `$?' on entrance to signal handlers in shell scripts
3133 cannot be relied upon, so set the exit code explicitly to
3135 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
3136 * lib/elisp-comp: Likewise.
3137 * lib/install-sh: Likewise.
3138 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
3139 * NEWS, THANKS: Update.
3140 Bug report, analysis, and initial patch by Dmitry V. Levin.
3142 2010-02-06 Karl Berry <karl@gnu.org>
3144 Improve gnupload usage text.
3145 * gnupload (usage): Shorten to make more likely to fit on a tty
3146 line. Mention CMD in the synopsis. With ..., plural is implied.
3148 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
3150 Fix some typos in the manual
3151 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
3153 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3155 Slighty improve tests acoutbs.test and acoutbs2.test.
3156 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
3157 autoconf and configure work, that the file `zot' is created by
3158 configure, and that no file containing a backslash in its name is
3160 * tests/acoutbs.test: Likewise, plus updated copyright years.
3162 Fix test acoutbs2.test.
3163 * tests/acoutbs2: In the generated configure.in: add proper calls
3164 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
3165 PACKAGE and VERSION. Add a call to aclocal before calling automake.
3166 Updated copyright years.
3167 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
3169 Add forgotten test scripts to $(TESTS).
3170 * tests/Makefile.am (TESTS): Added test scripts present on the
3171 filesystem, which were erroneously left out from $(TESTS):
3172 acoutbs2.test, badopt.test, extra2.test.
3173 (XFAIL_TESTS): Added acoutbs2.test.
3175 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3177 Sync auxiliary files from upstream.
3178 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
3181 Bump copyright years.
3182 * aclocal.in (write_aclocal, version): Bump copyright years.
3183 * automake.in (gen_copyright, version): Likewise.
3184 * doc/automake.texi: Likewise.
3187 * ChangeLog.09: New file, rotated from ...
3188 * ChangeLog: ... here.
3189 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
3193 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
3195 Copying and distribution of this file, with or without modification, are
3196 permitted provided the copyright notice and this notice are preserved.