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.
502 * tests/java-flat.test: Likewise, and properly update heading
504 * tests/java-nested.test: Likewise, but defining `parallel_tests'
505 to "yes" instead, for improved coverage in conjunction with the
506 sister test `java-flat.test'.
508 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
510 testsuite: allow tests to avoid the use of 'parallel-tests' option
511 * tests/gen-parallel-tests: Do not generate "siblings" for tests
512 that explicitly define the `parallel_tests', whether to "yes" or
513 to any other value. Extend heading comments to give a rationale
515 * tests/README: Update.
517 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
519 tests/README: update obsoleted advice
520 * tests/README (Section "Writing test cases" subsection "Do"):
521 Do not suggest to use the `*-p.test' pattern for the names of
522 hand-written tests which use the `parallel-tests' Automake option.
523 Not only is this not respected by the existing tests, but it is
524 more likely to cause conflicts with auto-generated tests.
525 So, suggest to *avoid* using the `*-p.test' pattern in names
526 of hand-written tests instead.
527 (Section "Writing test cases" subsection "Do not"): When
528 suggesting not to override Makefile variables using command
529 line arguments, do not use the badly outdated variables `U'
530 and 'ANSI2KNR' in the example; instead, use the more common
531 and typical `DESTDIR'.
533 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
535 test defs: rename requirement 'non-cross' -> 'native'
536 * tests/defs.in (non-cross): Rename requirement ...
537 (native): ... to this, which is clearer and fits the
538 existing lingo better.
539 Suggestion by Ralf Wildenhues.
541 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
543 testsuite: be more cross-compile friendly
544 * tests/defs.in (cross_compiling): New subroutine.
545 (am__tool_prefix): New internal variable.
546 (gcc, g++, gcj): Force the use of the correct "tool prefix"
547 when cross compiling.
548 (gfortran, g77, non-cross): New requirements.
550 2011-05-11 Stefano Lattarini <stefano.lattarini@gmail.com>
552 check: document and test $(TEST_SUITE_LOG) overriding
553 * doc/automake.texi (Simple Tests using parallel-tests): Explain
554 how and why TEST_SUITE_LOG can be overridden at runtime.
555 * tests/parallel-tests-log-override-1.test: New test, check that
556 the newly documented idiom and similar usages are truly supported.
557 * tests/parallel-tests-log-override-2.test: Likewise.
558 * tests/parallel-tests-log-override-recheck.test: Likewise.
559 * tests/Makefile.am (TESTS): Update.
561 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
563 tests: fix spurious failure of txinfo21.test on FreeBSD
564 * tests/txinfo21.test: Use the `is_newest' subroutine instead of
565 the `ls -t' hack to to determine whether a file has been updated.
566 This is required because at least FreeBSD `ls' do not sort files
567 with the same timestamp in alphabetical order when using the `-t'
570 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
572 tests defs: use `skip_' for skipping java-related tests
573 * tests/defs.in (java, javac): Use `skip_' to signal test
576 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
578 tests defs: allow requirements for compilers (mostly dummy)
579 Most of the new requirements that are now accepted in `$required'
580 as consequence of this patch are still dummy. They are planned
581 to be implemented only in master (or in some derived branch), but
582 having them here (even just as no-op) will allow for an easier
583 integration/backporting of potential new testcases.
584 * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
586 (flex): New requirement, picking LEX for configure.
587 (lex): New requirement, alias for `flex'. A more appropriate
588 implementation, looking for a generic `lex' program, will follow
590 (yacc): New requirement, alias for `bison'. A more appropriate
591 implementation, looking for a generic `yacc' program, will follow
594 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
596 tests: fix spurious failure in a test on TESTS (VPATH-related)
597 * tests/check-tests-in-builddir.test: When not using the
598 parallel-tests option, do not check that VPATH components are
599 not present in the displayed test name, since the simple-tests
600 driver do not try to strip them.
602 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
604 test: self check subroutines for skipping/failing of tests
605 * tests/self-check-report.test: New test.
606 * tests/Makefile.am (TESTS): Update.
608 2011-04-23 Jim Meyering <meyering@redhat.com>
609 Stefano Lattarini <stefano.lattarini@gmail.com>
611 test defs: new subroutines for test skipping/failing
612 * tests/defs.in (Exit): Move definition of this function earlier.
613 (warn_, skip_, fail_, framework_failure_): New functions, inspired
614 to the homonyms in gnulib's tests/init.sh.
615 ($stderr_fileno_): New global variable, used by the new functions
617 * tests/README: Updated.
618 From a suggestion by Ralf Wildenhues.
620 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
622 tests: fix typo (copy & paste blunder) in heading comment
623 * tests/maintclean-vpath.test: Correctly refer to the sister test
624 as `maintclean.test', not as `maintclean-vpath.test'.
626 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
628 tests: remove redundant test `mclean.test'
629 * tests/mclean.test: Remove, it's a weak grepping test completely
630 superseded by the much more complete `maintclean.test'.
631 * tests/Makefile.am (TESTS): Update.
633 2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com>
635 java tests: use $PATH_SEPARATOR where appropriate
636 * tests/java-compile-run-nested.test: Use `$PATH_SEPARATOR', not
637 `:', to separate entries of extended PATH and CLASSPATH variables.
638 * tests/java-compile-run-flat.test: Likewise.
640 2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com>
642 java coverage: test JAVACFLAGS and AM_JAVACFLAGS
643 * tests/javaflags.test: New test.
644 * tests/Makefile.am (TESTS): Update.
646 2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com>
648 java coverage: test rebuild rules for java
649 * tests/java-rebuild.test: New test.
650 * tests/Makefile.am (TESTS): Update.
652 2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com>
654 java coverage: try to build and run a java program
655 * tests/java-compile-run-flat.test: New test, try to build and run
656 a "UNIX-style" java program (complete with wrapper shell script
657 and the like) with a "flat" source-tree setup (i.e., everything in
658 the top-level directory).
659 * tests/java-compile-nested.test: Likewise, but using a more
660 typical "nested" source-tree setup.
661 * tests/Makefile.am (TESTS): Update.
663 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
665 test defs: new requirement for the default java interpreter
666 * tests/defs.in (for tool in $required): New requirement 'java'.
668 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
670 java tests: tweak and make stricter a couple of tests
671 * tests/javasubst.test: Use proper m4 quoting. Add trailing `:'
672 command. Enable `errexit' shell flag, and related changes.
673 Prefer cat + here-doc over echo to append to configure.in.
674 Make grepping of Makefile.in stricter. Add debugging output.
675 Improve heading comments.
676 * tests/javaprim.test: Likewise.
678 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
680 java coverage: add test on uninstall with JAVA primary
681 * tests/java-uninstall.test: New test.
682 * tests/Makefile.am (TESTS): Update.
684 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
686 java tests: require java compiler more properly
687 * tests/java-extra.test: Use "required=javac" instead of ad-hoc
689 * tests/java-noinst.test: Likewise.
691 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
693 java: allow both JAVA and nobase_JAVA in the same Makefile.am
694 * automake.in (handle_java): Also strip `nobase_' from the given
696 * tests/java-clean.test: Update and extend.
697 * tests/java-compile-install.test: Likewise.
698 * tests/java-no-duplicate.test: Likewise.
699 * tests/java-sources.test: Likewise.
700 * tests/java-noinst.test: Likewise.
701 * tests/java-mix-dist-nodist.test: Renamed to ...
702 * tests/java-mix.test: ... this, and extended.
703 * tests/java-nobase.test: New test, still xfailing due to
705 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
707 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
709 testsuite: more environment sanitization
710 * tests/defs.in: Sanity check: abort if any of `parallel_tests'
711 or `required' is in the environment.
712 ($sed_unindent_prog): Initialize to empty, to avoid interferences
713 from the environment.
714 * tests/self-check-me-in-env.test: Renamed to ...
715 * tests/self-check-env-sanitize.test: ... this, and extended.
716 * tests/Makefile.am (TESTS): Update.
717 (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
718 `required'. Adjust comments.
720 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
722 tests: don't allow `$me' to be overridden from the environment
723 * tests/defs.in: Sanity check: abort if $me is in the environment.
724 * tests/self-check-me-in-env.test: New test.
725 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
727 Suggestion by Ralf Wildenhues.
729 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
731 test defs: allow overriding of `$me'
732 * tests/defs.in ($me): Allow overriding by the including test
733 script. Add some explicative comments.
735 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
737 depcomp tests: don't reject slower dependency extractors
738 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
739 option to `configure' invocations, so that slower dependency
740 extractors are not rejected.
741 * tests/depcomp8a.test: Likewise. Also ...
742 (foo.c): ... since we are at it, fix spacing to be consistent
743 with GNU coding standards.
745 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
747 m4: add missing serial numbers to a few files
748 Related to automake bug#8483.
749 * m4/amversion.in: Add serial number.
750 * m4/auxdir.m4: Likewise.
751 * m4/gcj.m4: Likewise.
752 * m4/install-sh.m4: Likewise.
753 * m4/mkdirp.m4: Likewise.
754 * m4/python.m4: Likewise.
755 * m4/runlog.m4: Likewise.
756 * m4/strip.m4: Likewise.
757 * m4/upc.m4: Likewise.
759 2011-04-16 Jim Meyering <meyering@redhat.com>
761 depcomp: correct invalid sed invocation
762 * lib/depcomp: Insert missing -e before '/:$/d'.
763 Otherwise, that use of sed would treat '/:$/d' as a file name.
765 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
767 maintainer check: quote literal `$' in Makefile rule
768 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
769 character in double-quoted string. Fix a bug in which the rule
770 emitted an erroneously empty substring in its error message.
772 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
774 coverage: test for automake bug#8485 (known regression)
775 * tests/yacc-dist-nobuild-subdir.test: New test.
776 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
778 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
780 test defs: define default $distdir (help reducing duplication)
781 * tests/defs.in ($distdir): New variable, might be used in
782 testcases checking distribution-related features.
783 * tests/pr9.test: Use it.
784 * tests/subdir9.test: Likewise.
785 * tests/vtexi3.test: Add comment explaining why we redefine
786 $distdir in this test.
788 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
790 depcomp: fix bugs in tests and in the depcomp script
791 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
792 * tests/depcomp10.test: Make it executable. Fix a blunder that
793 has left part of an intended comment not prefixed by `#', thus
794 causing shell syntax errors. In this same comment, break a
795 too-long reported error message on multiple lines, for clarity.
796 Add reference to the relevant bug report. Add a comment which
797 explains why the test result 'skipped' if the first "make" call
798 fails. Add other useful comments.
799 * tests/depcomp9.test: Slightly improve comments.
801 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
803 Fix hp depmode for VPATH builds with GNU make.
804 * lib/depcomp: Be sure to remove VPATH-prefixed object from
805 dependency output when creating stub rule.
806 * tests/depcomp10.test: New test.
807 * tests/Makefile.am (TESTS): Update.
809 Report by Bruno Haible.
811 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
813 java: allow both dist_JAVA and nodist_JAVA in the same Makefile.am
814 Fixes automake bug#8434.
815 * automake.in (handle_java): Strip `dist_' and `nodist_' from
816 the given prefix. Define a new internal Makefile variable
817 `am__java_sources'. Related adjustments.
818 * lib/am/java.am (JAVAC, JAVAROOT, CLASSPATH_ENV): Define only the
819 first time this am file is processed.
820 (class%DIR%.stamp): Stamp file renamed ...
821 (class%NDIR%.stamp): ... to this, so that the `dist_' and `nodist_'
822 prefixes are stripped from the name of the stampfile. Adjust
823 declaration of dependencies by using the new automake-generated
824 internal variable `$(am__java_sources)'. In the rule, use `$@'
825 as the name of the target, rather than hard-coding it.
826 * tests/java.test: Update and extend.
827 * tests/java-no-duplicate.test: New test.
828 * tests/java-mix-dist-nodist.test: Likewise.
829 * tests/java-compile-and-install.test: Likewise.
830 * tests/java-clean.test: Likewise.
831 * tests/java-sources.test: Likewise.
832 * tests/Makefile.am (TESTS): Update.
834 2011-04-06 Stefano Lattarini <stefano.lattarini@gmail.com>
836 coverage: more on java support EXTRA_ and noinst_ prefixes
837 * tests/java-extra.test: New test, checking support for the
838 prefix `EXTRA_' with the JAVA primary.
839 * tests/java-noinst.test: New test, checking support for the
840 prefix `noinst_' with the JAVA primary.
841 * tests/Makefile.am (TESTS): Update.
843 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
845 test defs: fix 'javac' requirement for older JDK versions
846 The Java compiler from JDK 1.5 (and presumably earlier versions)
847 cannot handle the `-version' option by itself; and while it does
848 print the version number, it then errors out with an usage error:
851 javac: no source files
852 Usage: javac <options> <source files>
854 Luckily, adding the `-help' option to the `javac' invocation
855 seems to fix this problem.
856 * tests/defs.in (javac): Pass also the `-help' option to the
857 `javac' program. Add a comment explaining why it is needed.
858 Report from Ralf Wildenhues.
860 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
862 test defs: new requirement for the default java compiler
863 * tests/defs.in (for tool in $required): New requirement 'javac'.
864 * tests/java.test: Use it instead of ad-hoc configure check.
865 * tests/java-check.test: Likewise.
866 * tests/instfail-java.test: Likewise.
867 * tests/instdir-java.test: Likewise.
869 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
871 java: check_JAVA does not cause compilation by "make all" anymore
872 Fixes automake bug#8234.
873 * automake.in (handle_java): Make stamp of class files built from
874 java sources in $(check_JAVA) a dependency of `check' target, not
876 * tests/java-check.test: New test.
877 * tests/Makefile.am (TESTS): Update.
880 Report from Petteri Räty.
882 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
884 Clarify regex code in depcomp.
885 * lib/depcomp: Add comment why we don't need regex-escaping here.
886 Suggested by Stefano Lattarini.
888 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
890 Fix makedepend depmode for VPATH builds.
891 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
892 object file name, so a rebuild doesn't attempt to update the
893 .Po files in the source tree.
894 * tests/depcomp9.test: New test.
895 * tests/Makefile.am (TESTS): Update.
898 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
900 tests: fix timestamp-related failures
901 Fixes automake bug#8365.
902 * tests/aclocal6.test: Sleep before modifying m4 files that should
903 trigger remake rules. Remove incorrect/obsoleted comments.
904 * tests/subdir5.test: Likewise, and extend a bit.
905 * tests/subdir8.test: Likewise.
906 * tests/pr8365-remake-timing.test: New xfailing test.
907 * tests/Makefile.am (TESTS): Update.
908 Report from Sam Steingold.
910 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
912 Create subdirs for generated sources even when not dep tracking.
913 * automake.in (handle_single_transform): If $object is derived
914 and lands in subdir, be sure to output a dirstamp dependency.
915 * tests/yacc5.test: Avoid falsely matching the dirstamp
916 dependency when grepping for a rule.
917 * tests/lex-subobj-nodep.test: New test.
918 * tests/Makefile.am (TESTS): Update.
920 Report by Ignacy Gawedzki.
922 Fix locale issue in check-exported-srcdir.test.
923 * tests/check-exported-srcdir.test: Reformulate glob to not fail
924 in a locale that ignores or interleaves character case.
926 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
928 docs: better visibility for aclocal in the index
929 * doc/automake.texi (@menu): Rename title for entry 'configure'
930 from "Scanning configure.ac or configure.in" to the more precise
931 "Scanning configure.ac, using aclocal".
932 (@detailmenu): Adjust.
933 (@node configure): Adjust, and extend @cindex calls accordingly.
935 From a report by Maynard Johnson.
937 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
939 tests: improve tests on "maintainer-clean" target
940 * tests/aclocal6.test: Move checks related to "maintainer-clean"
941 functionalities into ...
942 * tests/maintclean-vpath.test: ... this new test.
943 * tests/maintclean.test: Update heading comments. Extend to also
944 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
945 in configure.in. Add a trailing `:' command. Remove extra blank
947 * tests/Makefile.am (TESTS): Update.
949 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
951 tests: fix unindent to use printf not echo for script.
952 * tests/defs.in: Use printf rather than echo, as the latter may
953 interpret the backslashes in the sed script. Fixes test
954 failures with dash as /bin/sh.
956 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
957 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
959 maintcheck: look for problematic names of testcases
960 The configure.in stub created by default by `tests/defs' obtains
961 the first argument of AC_INIT from the test name, and this can
962 cause some supported autoconf versions to fail with a spurious
963 error if that test name contains the name of an m4 or m4sugar
964 builtin or macro (e.g., `defn' or `m4_undefine').
965 See for example the bug fixed by commit v1.11-287-g1325a8a.
966 This change add a maintainer check that warns about test names
967 which are possibly problematic in this regard.
968 * Makefile.am (sc_test_names): New maintainer-check target.
969 (syntax_check_rules): Add it.
970 (m4_builtins): New helper variable.
971 (TESTS): Updated according to the following renamings.
972 * tests/include.test: Renamed ...
973 * tests/hdr-vars-defined-once.test: ... to this.
974 * tests/sinclude.test: Renamed ...
975 * tests/m4-inclusion.test: ... to this, and simplified
977 * tests/include2.test: Renamed ...
978 * tests/dist-included-parent-dir.test: ... to this, for
981 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
983 tests: fix bug in alloca*.test
984 * tests/alloca.test: Make grepping of automake stderr stricter,
985 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
986 and create a dummy alloca.c file, to ensure that we fail for the
988 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
989 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
990 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
992 From a report by Patrick Welche.
994 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
996 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
997 * tests/comments-in-var-defn.test: The configure.in stub created
998 by default, which has the AC_INIT first argument obtained by the
999 test name, causes autoconf 2.62 to fail with a spurious error
1000 message like: "configure.in:1: error: defn: undefined macro:".
1001 Thus, to prevent this, the test is renamed to ...
1002 * tests/comments-in-var-def.test: ... this.
1003 * tests/Makefile.am (TESTS): Updated.
1005 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1007 cosmetics: convert encoding from ISO-8859 to UTF-8
1008 * ChangeLog.03: Convert encoding to UTF-8.
1009 * ChangeLog.96: Likewise.
1010 * ChangeLog.98: Likewise.
1014 2011-03-01 Peter Rosin <peda@lysator.liu.se>
1016 test defs: unindent without temporary file
1017 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
1018 that strips the "proper" amount of leading whitespace.
1019 (unindent): Lazily strip comments from the above program and use it
1020 to unindent without using a temporary file.
1022 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1024 libtool: suggest LT_INIT if LTLIBRARIES primary is used
1025 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
1026 defined, automake suggested to add a call to AC_PROG_LIBTOOL
1027 in configure.ac. But that macro is deprecated since Libtool
1028 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
1029 suggest the use of this latter macro instead.
1030 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
1031 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
1032 * tests/libtool4.test: Adjust and extend. Also, add a call to
1033 macro AC_PROG_CC in configure.in, to help ensuring that automake
1034 does not fail for the wrong reasons.
1035 * tests/ltinit.test: New test, ensure that automake's libtool
1036 support works with LT_INIT-based interface.
1037 Thanks to Jack Kelly for the suggestion.
1039 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1041 tests: tempdirs with restrictive permissions are cleaned correctly
1042 Before this change, the removal of a temporary test directory
1043 containing subdirectories with restrictive permissions (such as
1044 'r--r--r--') could fail.
1045 * tests/defs: Ensure that all the subdirectories of a temporary
1046 test directory have the 'read', 'write' and 'execute' bits set,
1047 before trying to remove it with `rm -rf'.
1048 * tests/Makefile.am (clean-local-check): Likewise.
1050 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1051 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1053 test defs: add subroutine for input unindenting
1054 * tests/defs.in (unindent): New subroutine.
1056 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1058 python: report the 'PYTHON' influential environment variable
1059 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
1060 * doc/automake.texi (Python): Update and extend.
1061 * tests/help-python.test: New test.
1062 * tests/Makefile.am (TESTS): Update.
1063 * THANKS (Jack Kelly): Update e-mail address.
1064 Suggestion by Jack Kelly.
1066 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1068 tests defs: clear TESTS_ENVIRONMENT variable
1069 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
1070 from environment won't interfere with the testcases.
1071 Suggestion by Ralf Wildenhues.
1073 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1075 tests: tweak few tests on simple and parallel test drivers
1076 * tests/check-exported-srcdir.test: Improve heading comments.
1077 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
1078 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
1079 environment won't risk to interfere with the test.
1080 Suggestions by Ralf Wildenhues.
1082 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
1084 coverage: more tests on simple and parallel test drivers
1085 * tests/parallel-tests-subdir.test: New test.
1086 * tests/check-exported-srcdir.test: Likewise.
1087 * tests/check-tests-in-builddir.test: Likewise.
1088 * tests/check-tests_environment.test: Likewise.
1089 * tests/Makefile.am (TESTS): Update.
1091 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
1093 tests: fix spurious failures in lflags*.test
1094 * tests/lflags.test: Remove 'LEX' from the environment, so
1095 that it won't be erroneously picked up by `make -e'.
1096 * tests/lflags2.test: Likewise.
1098 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1100 docs: color-tests issues with parallel make
1101 * doc/automake.texi (Simple Tests): Document that automatic
1102 recognition of a capable terminal attached to stdout can fail
1103 with some make implementation when running in parallel mode,
1104 thus causing colored test output not to be automatically
1105 activated when it should.
1107 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1109 tests: avoid instspc.test failures due to make's whitespace trimming
1110 * tests/instspc.test: Prepend './' when passing the test
1111 characters, to avoid leading whitespace characters to be trimmed
1112 from macros set from environment variables. Fixes testsuite
1113 failures with HP-UX, IRIX, and Tru64/OSF make.
1115 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1117 coverage: test semantics of "dummy" per-target flags
1118 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
1119 per-target flags triggers the use of renamed objects.
1120 * tests/Makefile.am (TESTS): Update.
1121 Suggestion by Ralf Wildenhues.
1123 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1125 tests defs: sanitize IFS
1126 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
1127 ($sp): New variable, holding a single whitespace character.
1128 ($tab): New variable, holding a tabulation character.
1129 ($nl): New variable, holding a newline character.
1131 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1133 tests: fix VPATH auto-expansion workarounds.
1134 * tests/parallel-tests8.test, tests/suffix13.test:
1135 Ensure $< is not surrounded by white space, to prevent Solaris
1136 make from applying automatic VPATH text expansion.
1138 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1140 tests: fix spurious failures in yflags*.test
1141 * tests/yflags.test: Remove 'YACC' from the environment, so
1142 that it won't be erroneously picked up by `make -e'.
1143 * tests/yflags2.test: Likewise.
1145 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1147 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
1148 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
1149 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
1150 up its internal memory when copying this tree.
1152 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1153 Stefano Lattarini <stefano.lattarini@gmail.com>
1155 Add comment to check-TESTS rule working around make 3.80 bug.
1156 * lib/am/check.am (check-TESTS): Update comment.
1158 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1160 tests: less strict double-colon spy.test again.
1161 * tests/spy.test: We know BSD make doesn't invoke more than one
1162 double-colon rule, so no need to expose that failure.
1164 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1166 install-sh: avoid Tru64 sh `test' operator precedence issues.
1167 * lib/install-sh: Protect file names and directory components
1168 that consist of `=', `(', `)', or `!'. Move protection as early
1169 as possible, to avoid errors such as with Tru64 sh `test -z ='.
1170 * tests/instsh2.test: Extend test to cover more possibilities.
1171 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
1173 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1174 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1176 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
1177 * doc/automake.texi (Simple Tests): Do not claim Automake uses
1178 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
1179 parallel-tests driver.
1181 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1183 Allow _AM_DEPENDENCIES to be used later in configure.
1184 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
1185 conftest.dir before recreating it.
1187 Report by Eric Blake, from report by Scott McCreary against M4.
1189 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1191 tests: avoid failure on w32 file systems.
1192 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
1193 be turned unreadable.
1195 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1197 tests: allow double-colon spy.test to work with HP-UX make.
1198 * tests/spy.test: Fix comment typos. Ensure prerequisites we
1199 do not want to depend on are strictly older than the target.
1200 Also test with a target out of date wrt. more than one rule.
1202 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1204 tests: remove useless requirements from cond36.test
1205 * tests/cond36.test ($required): Remove.
1206 Since we are at it, add a trailing `:' command.
1208 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1209 Stefano Lattarini <stefano.lattarini@gmail.com>
1211 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
1212 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
1213 Test file readability before redirecting input from it, to avoid
1214 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
1215 * tests/parallel-tests-unreadable-log.test: New test.
1216 * tests/Makefile.am (TESTS): Update.
1219 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1221 * NEWS, README: Update copyright years.
1223 Fix parallel-tests.test failure with HP-UX make.
1224 * tests/parallel-tests.test: Sleep inside inner tests, so logs
1225 are newer than logs of tests they depend on, for HP-UX make.
1227 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1229 docs: ensure example are separated with empty lines in the input
1230 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
1231 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
1232 lines before `@example' and after `@end example' lines, so info
1233 output is rendered correctly, and a following @noindent honored.
1234 Report by Stefano Lattarini.
1236 2011-01-15 Jim Meyering <meyering@redhat.com>
1238 tests: fix comment typo
1239 * tests/substref.test: Fix grammar in a comment.
1241 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1243 tests: fix spurious failures in two texinfo tests
1244 * tests/txinfo.test ($required): Add 'makeinfo'.
1245 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
1246 that make won't try to run makeinfo (which could be unavailable)
1248 Found by NixOS Hydra, reported by Ralf Wildenhues.
1250 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1252 Avoid testsuite failures due to Autoconf Fortran change.
1253 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
1254 require computing the canonical host name. Ensure config.guess
1255 and config.sub files are present for respective checks.
1256 * tests/compile_f_c_cxx.test: Add stub files.
1257 * tests/flibs.test: Likewise.
1258 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
1260 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1262 docs: clustered '-d' not recognized in YFLAGS
1263 This change fixes automake bug#7828.
1264 * doc/automake.texi (Yacc and Lex): Document that automake
1265 recognizes '-d' in AM_YFLAGS only if it's not clustered with
1267 From a report by Юрий Пухальский.
1269 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1271 tests: add checks on automatically-distributed files
1272 Related to automake bug#7819.
1273 * tests/autodist.test: New test.
1274 * tests/autodist-subdir.test: Likewise.
1275 * tests/autodist-acconfig.test: Likewise.
1276 * tests/autodist-acconfig-no-subdir.test: Likewise.
1277 * tests/autodist-aclocal-m4.test: Likewise.
1278 * tests/autodist-config-headers.test: Likewise.
1279 * tests/autodist-configure-no-subdir.test: Likewise.
1280 * tests/autodist-stamp-vti.test: Likewise.
1281 * tests/Makefile.am (TESTS): Update.
1283 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1285 tests: work around a texi+cygnus bug causing a spurious XFAIL
1286 * tests/txinfo5b.test: New test, like txinfo5.test but calling
1287 automake with the `-Wno-override' option to work around a bug
1288 in the texinfo + cygnus interaction.
1289 * tests/txinfo5.test: Update heading comments.
1290 * tests/Makefile.am (TEST): Updated.
1292 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
1294 Fix another typo in Rule.pm comment.
1295 * lib/Automake/Rule.pm: Fix typo.
1297 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1299 Improve, extend and tweak tests on Texinfo support.
1300 * tests/instdir-texi.test: Add a call to `ls -l' after that to
1301 `make', for debugging. When looking for required tools, do not
1302 redirect the output of "$tool --help" to /dev/null, and do not
1303 uselessly run it in a subshell.
1304 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
1305 make. All checks moved into Makefile.am.
1306 * tests/txinfo8.test: Likewise, and modernize the generated
1308 * tests/txinfo2.test: Moved checks into Makefile.am, and other
1310 * tests/txinfo5.test: Enable `errexit' shell flag, and related
1311 changes. Add trailing `:' command.
1312 * tests/txinfo6.test: Likewise, and make grepping of generated
1313 Makefile.in stricter.
1314 * tests/txinfo7.test: Enable `errexit' shell flag, and related
1315 changes. Add trailing `:' command. Do not add unnecessary stuff
1317 * tests/txinfo9.test: Verify that more targets which are expected
1318 to be generated only once really are. Make grepping less strict,
1319 to avoid exposing too much internal details. More minor changes.
1320 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
1321 for appending to configure.in. Updated/fixed heading comments.
1322 * tests/txinfo23.test: Likewise, and extended a little by making
1323 it check that no info file is created in the $(srcdir).
1324 * tests/txinfo24.test: Likewise.
1325 * tests/txinfo25.test: Likewise.
1326 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
1327 for appending to configure.in. Also, check that index files are
1328 cleaned also by "make clean", not only by "make distclean".
1329 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
1330 and added trailing `:' command. This testcase also used to check
1331 that automake ignores in-line comments when using variables, but
1332 preserves them in the output; these checks (added in commit
1333 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
1334 so they have been moved ...
1335 * tests/comments-in-var-defn.test: ... into this new test.
1336 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
1337 trailing `:' command.
1338 * tests/txinfo29.test: Likewise. Relax grepping of generated
1339 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
1340 append to configure.in.
1341 * tests/txinfo3.test: Likewise.
1342 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
1343 make it stricter, sometimes laxer). Move `set -e' setting just
1344 after the inclusion of ./defs. De-uglify a sed command. Other
1345 minor cosmetic improvements.
1346 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
1347 trailing `:' command.
1348 * tests/vtexi3.test: New test on version.texi support.
1349 * tests/vtexi4.test: Likewise.
1350 * tests/Makefile.am (TESTS): Updated.
1352 2011-01-09 Peter Rosin <peda@lysator.liu.se>
1354 Fix another typo in Rule.pm comment.
1355 * lib/Automake/Rule.pm: Fix typo.
1357 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1359 cosmetics: remove trailing whitespaces
1360 * doc/automake.texi: Remove trailing whitespaces.
1361 * tests/cond13.test: Likewise.
1362 * tests/cond14.test: Likewise.
1363 * tests/fort4.test: Likewise.
1364 * tests/fort5.test: Likewise.
1365 * tests/suffix7.test: Likewise.
1366 * tests/vtexi2.test: Likewise.
1368 automake: minor fixes in comments
1369 * automake.in: Some minor fixes and enhancements in comments.
1371 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1373 Add test coverage for deleted header files.
1374 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
1375 also check for the deleted header bug. If no dependency
1376 tracking mechanism could be found, SKIP rather than exit
1377 successfully. Use GNU style spacing and ANSI C prototypes.
1379 Fix typos in Rule.pm comments.
1380 * lib/Automake/Rule.pm: Fix typos in comments.
1382 docs: split 'amhello Explained' node.
1383 * doc/automake.texi (amhello Explained): Split node ...
1384 (amhello's configure.ac Setup Explained)
1385 (amhello's Makefile.am Setup Explained) : ... into these two.
1386 (Top, Hello World): Adjust, and add @anchor for stable URL links.
1387 Suggestion by Karl Berry in automake bug#7766.
1389 2011-01-08 Karl Berry <karl@freefriends.org>
1390 Eric Blake <eblake@redhat.com>
1392 docs: reference defining directories in amhello node.
1393 * doc/automake.texi (amhello Explained): Point to Autoconf
1394 manual for how to convert directory values into macros.
1395 (Optional): Fix grammar nit.
1397 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1399 * NEWS: Fix typo (forgotten word).
1401 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1402 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1404 docs: how to work around checks on invalid primary/directory couples
1405 * doc/automake.texi (Uniform): Document the blessed idiom which can
1406 be used to work around automake checks on invalid primary/directory
1407 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
1409 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1411 Sync auxiliary files from upstream.
1412 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1415 Fix maintainer-check regression.
1416 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
1419 Bump copyright years.
1420 * aclocal.in (write_aclocal, version): Bump copyright years.
1421 * automake.in (gen_copyright, version): Likewise.
1422 * doc/automake.texi: Likewise.
1424 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1425 Stefano Lattarini <stefano.lattarini@gmail.com>
1427 Work around a bug in file-inclusion mechanism of Solaris make.
1428 * automake.in (handle_single_transform): In the name of the
1429 dependency file: collapse multiple slash characters into a single
1431 * tests/subobj11a.test: New test.
1432 * tests/subobj11b.test: Likewise.
1433 * tests/subobj11c.test: Likewise.
1434 * tests/depcomp8a.test: Likewise.
1435 * tests/depcomp8b.test: Likewise.
1436 * tests/Makefile.am (TESTS): Updated.
1438 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
1439 patch and tests by Stefano Lattarini.
1441 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1443 Fix two spurious testsuite failures on IRIX 6.5.
1444 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
1445 weaker make implementations (e.g. IRIX 6.5).
1446 * tests/parallel-tests8.test: Likewise, plus a required related
1448 Reported by Ralf Wildenhues. The bugs have been there from the
1449 first versions of the affected test scripts.
1451 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1453 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
1454 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
1455 the AM_CYGWIN32 macro (and indeed hasn't required it since at
1456 least commit Release-1-2-31-g3038064 "merged changes from
1457 Cygnus" of 1997-08-25).
1459 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1461 distlinksbrk.test: Work around botched "make -k".
1462 * tests/distlinksbrk.test: Run "make" multiple times and grep
1463 its output each time for a single error message, rather than
1464 running "make -k" one single time and grepping its output for
1465 all the expected error messages. This should work around make
1466 implementations with limited (broken?) `-k' support; for more
1467 information, see these subthreads on the automake-patches list:
1468 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
1469 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
1470 - 2010-11-15, "Testsuite failures on IRIX 6.5",
1471 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
1473 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1475 Fix sed-related buglet in test "subdir5.test"
1476 * tests/subdir5.test: Always terminate text passed to the
1477 `i' sed command with a newline, to work around limitations
1478 in e.g. older OpenBSD sed.
1480 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1482 docs: fix blunder in example about python extension modules
1483 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
1484 not `quaternion_SOURCES', to declare the sources of python
1485 extension module `quaternion.la'.
1487 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1489 docs: list LTLIBRARIES among Automake primaries
1490 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
1491 the Automake primaries.
1493 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1495 Improve tests on generated portions of configure help screen.
1496 * tests/help-depend.test: Grepping of configure help screen
1497 relaxed to cater for possible line wrapping, and tightened in
1499 * tests/help-depend2.test: Likewise.
1500 * tests/help-dmalloc.test: Likewise.
1501 * tests/help-lispdir.test: Likewise.
1502 * tests/help-maintainer.test: Likewise.
1503 * tests/help-multilib.test: Likewise.
1504 * tests/help-silent.test: Likewise.
1505 * tests/help-upc.test: Likewise.
1506 * tests/help-init.test: Grepping of configure help screen
1509 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1511 Avoid running installed automake from 'libtool --help'.
1512 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
1513 Together with fixed Libtool, this fixes check-coverage to not
1514 invoke installed automake.
1516 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1518 Fix spurious failures in `silent*.test' for $CC != gcc
1519 In some tests on automake-produced silent rules, we forced the
1520 use of gcc depmode to improve testsuite coverage; but this has
1521 unsurprisingly led to spurious failures when some non-GNU C
1522 compilers were used. So we are now careful to require GCC in
1523 tests that force gcc depmode.
1524 From reports by Ralf Wildenhues.
1525 * tests/silent5.test: Test removed, its content split into ...
1526 * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
1527 these new sister tests, the latter of which forces gcc depmode
1528 and lists "gcc" in $required.
1529 * tests/silentlex.test: Test removed, its content split into ...
1530 * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
1531 these new sister tests, the latter of which forces gcc depmode
1532 and lists "gcc" in $required.
1533 * tests/silentyacc.test: Test removed, its content split into ...
1534 * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
1535 these new sister tests, the latter of which forces gcc depmode and
1536 lists "gcc" in $required.
1537 * tests/Makefile.am (TESTS): Updated.
1539 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1541 Tests: consistently use "|| Exit 1" after ". ./defs".
1542 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
1543 `. ./defs', for consistency with other tests.
1544 * tests/autohdr2.test: Likewise.
1545 * tests/autohdr3.test: Likewise.
1546 * tests/autohdr4.test: Likewise.
1547 * tests/cond23.test: Likewise.
1548 * tests/cond24.test: Likewise.
1549 * tests/cond25.test: Likewise.
1550 * tests/cond26.test: Likewise.
1551 * tests/cond27.test: Likewise.
1552 * tests/cond28.test: Likewise.
1553 * tests/cond29.test: Likewise.
1554 * tests/cond30.test: Likewise.
1555 * tests/cond31.test: Likewise.
1556 * tests/cond32.test: Likewise.
1557 * tests/cond33.test: Likewise.
1558 * tests/cond34.test: Likewise.
1559 * tests/cond35.test: Likewise.
1560 * tests/cond36.test: Likewise.
1561 * tests/cond37.test: Likewise.
1562 * tests/cond38.test: Likewise.
1563 * tests/cond39.test: Likewise.
1564 * tests/cond40.test: Likewise.
1565 * tests/cond41.test: Likewise.
1566 * tests/cond42.test: Likewise.
1567 * tests/cond43.test: Likewise.
1568 * tests/cond44.test: Likewise.
1569 * tests/cond45.test: Likewise.
1570 * tests/dollarvar.test: Likewise.
1571 * tests/dollarvar2.test: Likewise.
1572 * tests/hfs.test: Likewise.
1573 * tests/libobj14.test: Likewise.
1574 * tests/percent.test: Likewise.
1575 * tests/percent2.test: Likewise.
1576 * tests/phony.test: Likewise.
1577 * tests/silent.test: Likewise.
1578 * tests/silent2.test: Likewise.
1579 * tests/silent3.test: Likewise.
1580 * tests/silent4.test: Likewise.
1581 * tests/silent5.test: Likewise.
1582 * tests/silent6.test: Likewise.
1583 * tests/silent7.test: Likewise.
1584 * tests/silent9.test: Likewise.
1585 * tests/silentcxx.test: Likewise.
1586 * tests/silentf77.test: Likewise.
1587 * tests/silentf90.test: Likewise.
1588 * tests/silentlex.test: Likewise.
1589 * tests/silentyacc.test: Likewise.
1591 Avoid useless cleaning in some `silent*.test' tests.
1592 * tests/silentf77.test: Removed useless calls to "make clean"
1593 and "make maintainer-clean".
1594 * tests/silentf90.test: Likewise.
1595 * tests/silent3.test: Removed useless call to "make distclean".
1596 * tests/silent4.test: Likewise.
1597 * tests/silent9.test: Likewise.
1599 2010-11-19 Ian Lance Taylor <iant@google.com>
1601 Sync config-ml.in from GCC.
1602 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
1603 compiler/flag environment variables.
1605 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1607 Automake::Config: remove extra trailing semicolon.
1608 * lib/Automake/Config.in: Remove extra trailing semicolon.
1610 help4.test: fix botched heading comment.
1611 * tests/help4.test: Fixed the heading comment, since it
1612 didn't correctly describe what checks the testcase was
1613 supposed to perform.
1615 help2.test: add checks on aclocal too.
1616 * tests/help2.test: Check that also `aclocal --version' and
1617 `aclocal --help' work with configure.in and acinclude.m4 both
1620 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1622 Fix spurious failures of silent-rules tests with Sun Fortran.
1623 * tests/silentf77.test: Strip from the make output some verbose
1624 messages possibly printed by the SunStudio fortran compilers, to
1625 avoid spurious failures. Add a trailing `:' command.
1626 * tests/silentf90.test: Likewise.
1628 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1630 Fix spurious failures of silent5.test with Sun Fortran.
1631 * tests/silent5.test: Strip from the make output some verbose
1632 messages possibly printed by the SunStudio fortran compilers,
1633 to avoid spurious failures. This bug has been there from the
1634 very first version of this test script.
1636 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1638 Fix regression in colon{5,6}.test (failures on AIX 5.3).
1639 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
1640 post-processing the generated Makefile.in, to work around a bug
1641 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
1642 on the commend line. Calls to `$MAKE' adjusted accordingly.
1643 * tests/colon6.test: Likewise.
1644 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
1645 improve and/or extend tests `colon*.test", and reported by Ralf
1648 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1650 Fix regression in ansi.test (failure on AIX 5.3).
1651 * tests/ansi.test: Remove redundant hackish check done using a
1652 hand-postprocessed Makefile.in. This check worked by setting
1653 the `$(SHELL)' macro on the command line of make, but this is
1654 not supported by the AIX 5.3 make implementation.
1655 This bug has been lurking for a long time, and was activated by
1656 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
1657 tests". Report by Ralf Wildenhues.
1659 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1661 tests: avoid '##'-style comments inside recipe commands.
1662 * tests/confh.test, tests/confh8.test: Remove
1663 double-hash comments from makefile rule commands, they
1664 are not part of the Automake API.
1666 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1668 tests: work around dash quoting issue in case statements.
1669 * tests/color.test, tests/color2.test: Quote variable in case
1670 pattern, to avoid skipping tests with dash 0.5.5.1.
1672 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1674 Rebuild menus in the manual.
1675 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
1676 Thanks to Ian Lance Taylor for the suggestion.
1678 Fix install-strip when $(STRIP) contains several words.
1679 * lib/am/install.am (install-strip): Update comment. Use
1680 separate sub-make invocations for empty and nonempty $(STRIP),
1681 to fix quoting issues.
1682 * tests/strip2.test, tests/strip3.test: New tests.
1683 * tests/Makefile.am (TESTS): Adjust.
1685 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1687 Fix yaccdry.test failure: require bison.
1688 * tests/yaccdry.test: Require bison.
1689 Found by NixOS Hydra.
1691 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
1693 Fix a bug in variable concatenation with `+='.
1694 * lib/Automake/VarDef.pm (append): Since the content of the
1695 "appended-to" variable is going to be unconditionally normalized
1696 later, simply separate the appended value with a single whitespace
1697 character, instead of trying to be uselessly smarter by using
1698 escaped newlines. This fixes a bug in which extra backslashes
1699 where erroneously inserted in the variable's final value.
1700 * tests/pluseq11.test: New test, exposing the bug.
1701 * tests/Makefile.am (TESTS): Update.
1702 Reported by Andy Wingo.
1704 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1706 Fix bug in rules for creating vala vapi/header files.
1707 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
1708 if control structure in a generated make rules. Bug introduced
1709 by previous commit `v1.11-221-gd7c1679', and revealed by failure
1710 of test `vala2.test'.
1712 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1714 Fix and document rules to not touch the tree with `make -n'.
1715 * doc/automake.texi (Multiple Outputs): Document the problem of
1716 modifications during dry-run execution, propose solution.
1718 * automake.in (lang_vala_finish_target): Split recipe so the
1719 stamp file is not removed with GNU `make -n'.
1720 (lang_yacc_target_hook): Separate removal of parser output file
1721 and header remaking.
1722 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
1723 passed to make, take care not to remove any files in that case.
1724 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
1725 %STAMP% file from induced remaking of config header.
1726 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
1728 * tests/Makefile.am (TESTS): Update.
1730 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1732 Add FAQ entry for bug reporting instructions.
1733 * doc/automake.texi (Reporting Bugs): New section.
1734 (Introduction): Refer to it.
1736 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1738 Add support for newer python versions.
1739 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
1740 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
1741 line and fix indentation.
1743 From a report by Thomas Klausner.
1745 Add test for `AM_WITH_DMALLOC' macro.
1746 * tests/dmalloc.test: New test.
1747 * tests/Makefile.am (TESTS): Update.
1749 Fix nits and bugs in tests `help*.test'.
1750 * tests/help4.test: Fix broken sed commands used to strip `-W...'
1751 flags away from "$AUTOMAKE" and "$ACLOCAL".
1752 * tests/help3.test: Likewise, and fix a botched comment.
1753 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
1754 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1755 please maintainer-check.
1756 * tests/help2.test: Likewise.
1758 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1759 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1761 Improve tests `help*.test' (also fixes maintcheck failures).
1762 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1763 flags stripped away rather than hard-coded `automake-$APIVERSION',
1764 to better honour user-overrides. Similarly for aclocal.
1765 * tests/help2.test: Likewise.
1766 * tests/help3.test: Likewise.
1767 * tests/help4.test: Likewise.
1769 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1771 Document and fix expansion of variables before rules.
1772 * doc/automake.texi (General Operation): Document that variables
1773 are expanded before rules.
1774 * lib/am/check.am (am__check_post): Reword a bit so it does not
1775 get matched as a rule.
1776 Suggestion by Ben Pfaff.
1778 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1780 Revert "parallel-tests: avoid command-line length limit issue."
1781 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
1782 because it re-opened the bug fixed by v1.11-10-g218e678.
1784 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1786 parallel-tests: avoid command-line length limit issue.
1787 * automake.in (handle_tests): New argument $makefile, new
1788 substitution %MAKEFILE%.
1789 (generate_makefile): Adjust.
1790 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1791 sanitized TEST_LOGS value as makefile snippet on standard
1792 input to $(MAKE), to avoid exceeding the command line limit on
1795 Report by Bob Friesenhahn.
1797 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1799 Extend tests on `--help' and `--version' options.
1800 * tests/help.test: Create a new empty directory and chdir into
1801 it, rather than removing already present files. Run the aclocal
1802 and automake wrapper scripts directly, instead of relying on
1803 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
1804 in aclocal's and automake's stderr. Add a trailing `:' command.
1805 * tests/help2.test: New test, checking that options `--help' and
1806 `--version' works in directories with broken `configure.in'.
1807 * tests/help3.test: New test, checking that options `--help' and
1808 `--version' take precedence on the other options.
1809 * tests/help4.test: New test, checking that the first among the
1810 `--help' and `--version' options to be specified on the command
1812 * tests/Makefile.am (TESTS): Updated.
1814 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1816 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
1817 * tests/compile2.test: Do no uselessly (implicitly) repeat the
1818 computation of PATH_SEPARATOR again.
1819 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
1820 extending/redefining PATH.
1821 * tests/instmany-python.test: Likewise.
1822 * tests/instmany.test: Likewise.
1823 * tests/man4.test: Likewise.
1824 * tests/mkinst3.test: Likewise.
1825 * tests/mmodely.test: Likewise.
1826 * tests/multlib.test: Likewise.
1827 * tests/txinfo30.test: Likewise.
1828 * tests/README (Section "Writing test cases" subsection "Do"):
1830 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
1831 (syntax_check_rules): Updated.
1833 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
1834 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
1835 ($ACLOCAL, $AUTOMAKE): Use it.
1836 ($PATH_SEPARATOR): New AC_SUBST'd variables.
1839 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1841 Manual: be more agnostic w.r.t. version control system used.
1842 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
1843 directories as a type of probably-unwanted files that are copied
1844 regardless when adding directories to EXTRA_DIST.
1845 (The dist Hook): Show a dist-hook example which removes Subversion
1846 `.svn' private directories from distdir, rather than CVS private
1848 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
1849 the version control system used.
1851 Manual: index refer to target "git-dist", not "cvs-dist".
1852 * doc/automake.texi (General Operation): Index the non-standard
1853 example about "git-dist" under the "git-dist" label, not under
1856 Perl modules: remove references to "Automake CVS repository".
1857 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
1858 git repository" rather than to "Automake's CVS repository".
1859 * lib/Automake/Configure_ac.pm: Likewise.
1860 * lib/Automake/FileUtils.pm: Likewise.
1861 * lib/Automake/Struct.pm: Likewise.
1862 * lib/Automake/XFile.pm: Likewise.
1863 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
1864 branches" rather than "CVS branches".
1866 Remove obsolete .cvsignore files.
1867 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
1868 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
1869 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
1870 savannah's CVS readonly mirror there's no way to commit back to
1871 the real repository, so this files are not worth maintaining or
1874 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1876 * m4/dmalloc.m4: Bump serial number and copyright years.
1878 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1880 Fix broken link in `AM_WITH_DMALLOC' help screen.
1881 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
1882 `http://www.dmalloc.com', not to the dmalloc tarball there (which
1883 seems to have been removed, substituted by multiple release
1886 2010-09-17 Eric Blake <eblake@redhat.com>
1888 Avoid triple-space after period.
1889 * automake.in (handle_single_transform): Avoid 3 spaces at
1891 * ChangeLog.03: Likewise.
1892 * lib/Automake/ChannelDefs.pm: Likewise.
1893 * lib/Automake/Channels.pm (_print_message): Likewise.
1894 * lib/Automake/Rule.pm (rule): Likewise.
1895 * lib/Automake/Variable.pm (var): Likewise.
1896 * lib/am/distdir.am: Likewise.
1897 * tests/insthook.test: Likewise.
1899 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1901 Test automake-generated portions of configure help screen.
1902 * tests/help-depend.test: New test.
1903 * tests/help-depend2.test: Likewise.
1904 * tests/help-dmalloc.test: Likewise.
1905 * tests/help-init.test: Likewise.
1906 * tests/help-lispdir.test: Likewise.
1907 * tests/help-maintainer.test: Likewise.
1908 * tests/help-multilib.test: Likewise.
1909 * tests/help-regex.test: Likewise.
1910 * tests/help-silent.test: Likewise.
1911 * tests/help-upc.test: Likewise.
1912 * tests/mmode.test: Remove tests on `configure --help' output,
1913 they are superseded by tests in `help-maintainer.test'.
1914 * tests/Makefile.am (TESTS): Update.
1916 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1918 * tests/README: Don't put GCS mandated tools in $required.
1920 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1922 * HACKING: Hint at old commits with `git describe' output.
1924 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1926 Fix regression in test `colon4.test'.
1927 * tests/colon4.test: Fix botched editing to `configure.in'
1928 that made the test useless. Since we are at it, improve
1929 comments and make grepping of generated Makefile.in slightly
1931 Regression introduced by change "Modernize, improve and/or
1932 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
1934 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1936 Do not require "gzip" explicitly in tests.
1937 The gzip utility is simply expected to be present on any decent
1938 target system for Automake. So it's pointless to put it in
1940 * tests/install2.test ($required): Do not require "gzip".
1941 * tests/lex3.test: Likewise.
1942 * tests/pr9.test: Likewise.
1943 From a suggestion by Ralf Wildenhues.
1945 Make some `confh*.test' tests more "semantic" (plus tweakings).
1946 * tests/confh.test: Run "autoconf", "configure" and "make check",
1947 instead of munging/grepping the generated `Makefile.in'.
1948 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1949 white spaces. Do not create useless dummy source file `foo.c'
1950 and useless dummy header file `acconfig.h'.
1951 (configure.in): Remove superfluous call to `AC_OUTPUT'.
1952 * tests/confh6.test: Add trailing `:' command.
1953 * tests/confh7.test: In comments, add reference to ...
1954 * tests/confh8.test: ... this new test, "semantic" sister
1956 * tests/Makefile.am (TESTS): Updated.
1957 Prompted by a report from Ralf Wildenhues.
1959 Remove useless whitespace padding in XFAIL_TESTS definition.
1960 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1962 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1964 parallel-tests: avoid command-line length limit issue.
1965 * automake.in (handle_tests): New argument $makefile, new
1966 substitution %MAKEFILE%.
1967 (generate_makefile): Adjust.
1968 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1969 sanitized TEST_LOGS value as makefile snippet on standard
1970 input to $(MAKE), to avoid exceeding the command line limit on
1973 Report by Bob Friesenhahn.
1975 Posix 2008 requires make to set errexit.
1976 * lib/am/check.am: Update comment.
1978 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
1980 Fix bug in test missing6.test.
1981 * tests/missing6.test: Fix the hack used to edit `configure.in',
1982 to avoid producing a configure script that breaks with shells
1983 that do not support $LINENO. Also throw in a couple of cosmetic
1986 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1988 Improve robustness of mdate-sh script.
1989 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1990 $ls_command is word-split properly upon invocation.
1991 (error): New function.
1992 (main): Use it. Improve error checking to avoid endless loop
1993 in case $ls_command gave bogus output. Fix eval quotation.
1994 * tests/mdate6.test: New test, to expose eval quotation error.
1995 * tests/Makefile.am: Update.
1997 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1999 Fix potential regressions in depcomp{3,5}.test.
2000 * tests/depcomp3.test: Do not uselessly escape the character `$'
2001 in makefile rules, when it's used to expand a make macro.
2002 * tests/depcomp5.test: Likewise.
2004 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2005 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2007 Docs: clarify how to avoid automatic dependencies tracking.
2008 * doc/automake.texi (Automatic dependency tracking): Mention that
2009 automatic dependencies tracking is enabled by default, but that
2010 the package developer can disable it altogether. Add a reference
2011 to the proper section for a more in-depth explanation.
2013 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
2014 * doc/automake.texi (Automatic dependency tracking): Fix typo.
2016 2010-08-16 Bruno Haible <bruno@clisp.org>
2018 Don't hide the table of contents.
2019 * doc/automake.texi: Move the table of contents to the beginning.
2021 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
2023 Tweak and/or extend some `acloca*.test' tests.
2024 * tests/aclocal8.test: Ensure verbose printing of captured
2026 * tests/aclocal.test: Likewise. Also, add trailing `:'
2028 * tests/acloca19.test: Likewise.
2029 * tests/aclocal5.test: Add trailing `:' command, and prefer
2030 `$me' over hard-coded test name.
2031 * tests/aclocal6.test: Likewise.
2032 * tests/aclocal18.test: Add trailing `:' command, and make
2033 some grepping slightly stricter.
2034 * tests/acloca14.test: Likewise. Also, prefer `diff' over
2035 `cmp', and add some "cosmetic" blank lines.
2037 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2039 Tweak and extend tests `pr[!0-9]*.test'.
2040 * tests/primary3.test: Add trailing `:' command.
2041 * tests/primary.test: Make grepping of Automake's stderr stricter.
2042 Also, add trailing `:' command, and cosmetic changes in spacing.
2043 * tests/primary2.test: Likewise.
2044 * tests/prefix.test: Enable `errexit' shell flags, and related
2045 changes. Add a trailing `:' command.
2046 * tests/proginst.test: Likewise.
2048 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
2049 * tests/pr2.test: Add trailing `:' command.
2050 * tests/pr229.test: Likewise.
2051 * tests/pr401.test: Likewise.
2052 * tests/pr401b.test: Likewise.
2053 * tests/pr401c.test: Likewise.
2054 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
2056 * tests/pr300-lib.test: Likewise.
2057 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
2058 of captured make stdout.
2059 * tests/pr211.test: Add trailing `:' command. Also, use the
2060 `configure.in' stub created by ./defs, rather than writing it
2062 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
2063 * tests/pr287.test: Likewise, and move setting of `errexit' shell
2064 flag earlier in the script (just after inclusion of ./defs).
2065 * tests/pr220.test: Make grepping of Automake's stderr stricter.
2066 Also, add trailing `:' command, and cosmetic changes in spacing.
2067 * tests/pr224.test: Move setting of `errexit' shell flag earlier
2068 in the script (just after inclusion of ./defs). Do not export
2069 `CC=gcc' to configure explicitly (it's already exported globally
2070 in ./defs, since we have "gcc" in $required). Use the stub for
2071 `configure.in' created by ./defs, rather than writing it from
2072 scratch. Do not create dummy files required by "gnu" mode (e.g.
2073 README, NEWS), since we run automake in foreign mode anyway.
2074 * tests/pr72.test: Enable `errexit' shell flags, and related
2075 changes. Extend existing checks a bit.
2076 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
2077 the generated `configure.in', and extend existing checks over the
2078 generated tarball a bit.
2079 * tests/pr87.test: Enable `errexit' shell flags, and related
2080 changes. Add a trailing `:' command. Also, do not create dummy
2081 files required by "gnu" mode (e.g. README, NEWS), since we run
2082 automake in foreign mode anyway.
2083 * tests/pr243.test: Avoid obsolescent constructs in the generated
2084 `configure.in'. Enable the `errexit' shell flag, and related
2085 changes. Cosmetic changes to spacing, add trailing `:' command,
2086 and add a "FIXME" comment.
2087 * tests/pr266.test: Likewise, and add explicit command line switch
2088 `--enable-dependecy-tracking' to the ./configure call.
2089 * tests/pr279.test: Avoid obsolescent constructs in the generated
2090 `configure.in'; also, use the `configure.in' stub created by
2091 ./defs, rather than writing it from scratch. Enable `errexit'
2092 shell flag, and related changes. Add trailing `:' command.
2093 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
2095 * tests/pr307.test: Move setting of `errexit' shell flag earlier
2096 in the script (just after inclusion of ./defs). Escape literal
2097 dots in grep regular expressions. Also, add a trailing `:'
2098 command, and cosmetic changes to spacing.
2100 Tests for PR: add excerpts from original bug report, for clarity.
2101 * tests/pr2.test: Ditto.
2102 * tests/pr9.test: Likewise.
2103 * tests/pr72.test: Likewise.
2104 * tests/pr87.test: Likewise.
2105 * tests/pr211.test: Likewise.
2106 * tests/pr220.test: Likewise.
2107 * tests/pr224.test: Likewise.
2108 * tests/pr229.test: Likewise.
2109 * tests/pr243.test: Likewise.
2110 * tests/pr266.test: Likewise.
2111 * tests/pr279.test: Likewise, and tell to keep it in sync
2112 with its sister test.
2113 * tests/pr279-2.test: Likewise.
2115 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2117 Tweak, extend and improve tests `cond[a-z]*.test'.
2118 * tests/condd.test: Add trailing `:' command. Typofix in
2120 * tests/condhook.test: Make sure target `install-data-hook' is
2121 not called by `make install', but that data files are installed.
2122 Use proper m4 quoting in configure.in. Add trailing `:' command.
2123 * tests/condhook2.test: New test, sister test of condhook, with
2125 * tests/condinc2.test: Use proper m4 quoting in configure.in.
2126 Prefer trailing `:' command over trailing `Exit 0'.
2127 * tests/condman2.test: Enable errexit shell flag, and related
2128 changes. Add trailing `:' command.
2129 * tests/condman.test: Likewise. Also, do not create useless
2130 dummy manpages, and use proper m4 quoting in configure.in.
2131 * tests/condman3.test: New test, similar to condman.test, but
2132 it also runs ./configure and "make install", and check the
2134 * tests/Makefile.am (TESTS): Updated.
2136 Modernize, improve and/or extend tests `colon*.test.
2137 * tests/colon.test: Rely on the `configure.in' stub created by
2138 `./defs', rather than writing one from scratch. Do not create
2139 a useless dummy file. Add trailing `:' command.
2140 * tests/colon4.test: Enable the `errexit' shell flag, and
2141 related changes. Rely on the `configure.in' stub created by
2142 `./defs', rather than writing one from scratch.
2143 * tests/colon7.test: Enable `errexit' shell flag, and related
2144 changes. Improve the generated `configure.in' file. Add
2145 trailing `:' command.
2146 * tests/colon2.test: Likewise. Also, add some new checks.
2147 * tests/colon5.test: Improve the generated `configure.in' file.
2148 Add new, much deeper checks. Add trailing `:' command.
2149 * tests/colon6.test: Likewise.
2150 * tests/colon3.test: Add trailing `:' command. Remove useless
2151 comments and echos. Improve the generated `configure.in' file.
2152 make some grepping tests stricter. Add a "FIXME" comments about
2153 planned improvements.
2155 Improve and extend tests `asm*.test'.
2156 * tests/asm.test: Use configure.in stub generated by ./defs,
2157 and avoid obsoleted autoconf constructs. Make grepping of
2158 Automake stderr stricter. Do not create useless source file.
2159 Improve verbose messages. Minor cosmetic changes. Tell to
2160 keep it in sync with other sister tests asm*.test.
2161 * tests/asm2.test: Likewise.
2162 * tests/asm3.test: Likewise.
2164 Modernize, improve and/or extend test scripts `conf*.test'.
2165 * tests/confh5.test: Cosmetic changes.
2166 * tests/conff.test: Likewise.
2167 * tests/confdeps.test: Likewise.
2168 * tests/conflnk.test: Likewise.
2169 * tests/conflnk2.test: Likewise.
2170 * tests/confsub.test: Likewise.
2171 * tests/confvar.test: Likewise, and make grepping of Makefile.in
2173 * tests/confvar2.test: Likewise.
2174 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
2175 disabled test (which didn't work with autoconf <= 2.59, but now we
2176 are requiring autoconf 2.62, so...)
2177 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
2178 accordingly to "TODO" comments.
2179 * tests/conff2.test: Make grepping of Automake's stderr stricter.
2180 Add some comments explaining why we don't use the `configure.in'
2181 stub preset be ./defs.
2182 * tests/confh.test: Use the `configure.in' stub created by ./defs,
2183 rather than writing one from scratch, and do not call AC_OUTPUT.
2184 Enable `errexit' shell flag, and related changes. Prefer diff over
2185 cmp to compare text files. Prefer perl over sed to fetch the value
2186 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
2187 of $(DIST_COMMON) stricter.
2188 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
2189 rather than writing one from scratch. Make grepping of Makefile.in
2191 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
2193 * tests/configure.test: Avoid obsolescent constructs in generated
2194 `configure.ac'. Do not write `configure.in' two times. Escape
2195 literal dots in grep regular expressions.
2196 * tests/confincl.test: Enable `errexit' shell flag, and related
2197 changes. Prefer fgrep over grep. Other cosmetic changes.
2198 * tests/config.test: Renamed to ...
2199 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
2200 and make grepping of `config.h' and `config.h.in' stricter.
2201 * tests/conf2.test: Renamed ...
2202 * tests/confh7.test: ... to this. Use the `configure.in' stub
2203 created by ./defs, rather than writing one from scratch. Try to
2204 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
2206 * tests/Makefile.am (TESTS): Updated.
2208 Minor improvements and fixes in tests `depcomp*.test'.
2209 * tests/depcomp.test: Do not create useless dummy source files.
2210 Add a trailing `:' command.
2211 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
2212 it's not in in the environment, rather than exporting it with an
2213 empty value. Do not pass CC=gcc to configure, as that's already
2214 done in ./defs since we have gcc in $required. Ensure verbose
2215 printing of captured stderr, and normalize its checking. Add a
2216 trailing `:' command.
2217 * tests/depcomp3.test: Quote literal dots and dollar characters in
2218 grep regexps. Always use `: >' rather than `touch' to create empty
2219 files. Explicitly declare phony targets as such in the created
2220 Makefile.am. Add a trailing `:' command.
2221 * tests/depcomp4.test: Quote literal dots and dollar characters in
2222 grep regexp. Explicitly declare phony targets as such in the
2223 created Makefile.am. Ensure verbose printing of captured makes'
2224 stoud/stderr. Add a trailing `:' command.
2225 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
2226 in the script (just after inclusion of ./defs). Quote literal dots
2227 and dollar characters in grep regexps. Explicitly declare phony
2228 targets as such in the created Makefile.am. Add a trailing `:'
2230 * tests/depcomp6.test: Consistently use m4 quoting in the generated
2231 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
2232 statement required by OpenBSD's sh `set -e' more robust, and add
2233 explanatory comments to it.
2234 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
2236 Separate failing part of test `all.test'.
2237 * tests/all.test: Keep only (x)failing part of the test. Working
2238 checks moved out to ...
2239 * tests/all2.test: ... this new test.
2240 * tests/Makefile.am (TESTS): Updated.
2242 Modernize, improve and extend tests `subobj*.test'.
2243 * tests/subobjname.test: Add trailing `:' command.
2244 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
2245 Escape literal dots in grep regexps.
2246 * tests/subobj2.test: Add trailing `:' command. Do not use the
2247 unportable fgrep option `-e'.
2248 * tests/subobj3.test: Add trailing `:' command.
2249 (configure.in): Use proper m4 quoting, and avoid obsolescent
2251 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
2252 flag, with related changes
2253 * tests/subobj4.test: Likewise. Also, make grepping of
2254 `Makefile.in' stricter.
2255 * tests/subobj5.test: Add trailing `:' command. Move setting of
2256 `errexit' shell flag earlier in the script (just after inclusion
2258 (configure.in): Use the stub created by `./defs', rather than
2259 writing it from scratch, and avoid obsolescent constructs.
2260 * tests/subobj6.test: Add trailing `:' command. Move setting of
2261 `errexit' shell flag earlier in the script (just after inclusion
2262 of ./defs). Do not create useless dummy ac-init file `f'.
2263 * tests/subobj7.test: Do not create useless dummy ac-init file
2265 (configure.in): Use the stub created by `./defs', rather than
2266 writing it from scratch, and avoid obsolescent constructs.
2267 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
2268 in the script (just after inclusion of ./defs). Fail the test if
2269 `make distcheck' fails. Ensure verbose printing of captured make
2270 stdout. Avoid useless fork by doing simple grep instead of using
2271 test -n "`COMMAND | grep ...`".
2272 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
2273 (Makefile.am): Explicitly mark target "print" as phony.
2274 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
2275 trailing `:' command.
2276 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
2278 Remove a couple of obsoleted tests.
2279 * tests/fpinstall.test: Removed.
2280 * tests/fpinst2.test: Likewise.
2281 * tests/Makefile.am (TESTS): Updated.
2283 Bootstrap: updated HACKING entry.
2284 * HACKING ("Working with git"): Explain how to override the
2285 autoconf and autom4te programs used by the bootstrap process.
2288 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
2289 since we don't generate it. Correctly quote arguments of
2290 `eval' builtin. Fixed a botched error message. Removed an
2293 Bootstrap: don't search perl in $PATH.
2294 * bootstrap: Do not explicitly search perl in $PATH anymore.
2295 ($PATH_SEPARATOR): Removed, it's no more needed.
2297 Bootstrap: let the user choose which autoconf to use.
2298 * bootstrap ($AUTOCONF): New variable, from the environment.
2299 ($AUTOM4TE): Likewise, for clarity.
2300 Use "$AUTOCONF" instead of calling "autoconf" directly.
2302 Minor improvements to tests ar*.test.
2303 * tests/ar.test: Add trailing `:' command.
2304 * tests/ar2.test: Likewise, and make grepping of generated
2305 Makefile.in stricter.
2307 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2309 Fix maintainer-check failure.
2310 * tests/cond5.test: Quote sleep argument, this isn't about
2311 time stamp differences.
2313 Sync auxiliary files from upstream.
2314 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
2317 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2319 Work around a nasty bug (segfault) of Solaris make.
2320 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
2321 from $list, to avoid triggering a nasty bug (potential segfault)
2324 2010-08-06 Peter Rosin <peda@lysator.liu.se>
2326 Make cond5.test more robust on MSYS.
2327 * tests/cond5.test: Add delay before the first kill attempt to
2328 cater for problems with MSYS bash.
2330 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2332 Add example git work flow; discuss merge --log in HACKING.
2334 Suggestion by Stefano Lattarini.
2336 Add more hints for debugging make rules.
2337 * doc/automake.texi (Debugging Make Rules): Show command to find
2338 out expanded values of variables; point to makefile debugger.
2340 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
2342 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
2344 Fix typo in the manual.
2345 * doc/automake.texi (Scripts): Fix typo.
2347 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2349 Document current policy for development with git.
2350 * HACKING (Working with git): Overhaul.
2351 Prompted by suggestion from Stefano Lattarini.
2353 Fix AM_COND_IF for gone-invalid condition shell expression.
2354 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
2355 variable, rather than re-evaluating the shell expression for
2357 * tests/cond40.test: Extend test.
2360 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
2361 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
2362 to avoid shell syntax error if the m4 expansion is empty.
2363 * tests/cond40.test: Enhance test.
2365 Coverage: bogus option to AM_INIT_AUTOMAKE.
2366 * tests/init2.test: New test.
2367 * tests/Makefile.am: Update.
2369 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2371 Modernize and improve test scripts `subdir*.test'.
2372 * tests/subdir.test: Enable `errexit' shell flag, and related
2373 changes. Use the `configure.in' stub created by `./defs',
2374 rather than writing one from scratch.
2375 * tests/subdir2.test: Likewise.
2376 * tests/subdir4.test: Likewise.
2377 * tests/subdir3.test: Enable `errexit' shell flag, and related
2378 changes. Do not create useless dummy source files.
2379 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
2380 and in subdirs) stricter. Some minor changes to keep it more
2381 in sync with the related test `subdir8.test'.
2382 * tests/subdir8.test: Likewise (but with the related test being
2383 `subdir5.test' here).
2384 * tests/subdir6.test: Cosmetic change in spacing.
2385 * tests/subdir9.test: Define and use new variable `$distdir'. Add
2386 trailing `:' command.
2387 * tests/subdir10.test: Cosmetic consistency-related change.
2388 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
2389 (configure.in): Use stub created by `./defs', rather than writing
2390 it from scratch. Do not use obsoleted and/or deprecated forms of
2391 autoconf/automake macros.
2393 Modernize and improve test scripts `dist*.test'.
2394 * tests/distcleancheck.test: Do not add useless `-e' option to
2395 a $MAKE call. Extend test by grepping stderr of make.
2396 * tests/distcom2.test: Do not run the same test script on the
2397 Makefile.in twice, but save its output in an intermediate file
2398 instead. Make grepping of DIST_COMMON definition stricter.
2399 Display the content of more files, to ease debugging. Add a
2400 trailing `:' command. Improved heading comments w.r.t. sister
2402 * tests/distcom6.test: Likewise, and avoid to uselessly run
2404 * tests/distcom3.test: Ensure verbose printing of captured stdout
2405 and stderr. Make grepping of captured stderr stricter. Also,
2406 add trailing `:' command.
2407 * tests/distcom4.test: Declare the target `test' in the generated
2408 Makefile.am as `.PHONY'. Display content of more files, to ease
2409 debugging. Add trailing `:' command.
2410 * tests/distcom5.test: Likewise. Also, factor out common sed
2411 script in subroutine `extract_distcommon'.
2412 * tests/distcom7.test: Prefer cat + here-doc over echo to write
2413 test Makefile.am files. Add a trailing `:' command.
2414 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
2415 call to `set -e' earlier. Be stricter and more verbose in the
2416 checking of the generated tarball.
2417 (configure.in): Use the stub provided by ./defs, instead of
2418 writing it from scratch. Avoid obsoleted constructs. Remove
2419 useless call to `AM_PROG_CC_C_O'.
2420 * tests/distdir.test: Various minor improvements/normalizations.
2421 * tests/distlinks.test: Likewise.
2423 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
2425 Improve and extend test cond5.test.
2426 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
2427 the background automake process, but poll it every 10 seconds for
2428 at most 30 times (this makes the test both faster on good machines,
2429 and more resilient to spurious timeout-due failures when in low
2430 priority or on heavily-loaded systems).
2431 Check also that automake writes the expected error messages on the
2433 Enable `errexit' flag, and related changes.
2434 Rely on the `configure.in' stub created by `./defs', rather than
2435 writing one from scratch.
2437 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2439 Update program --help output to match current GCS.
2440 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
2441 is not defined, for compatibility to Autoconf < 2.64.
2442 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
2444 (sc_diff_automake_in_automake): Update number of diff lines for
2445 additional substitutions.
2446 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
2447 home page and GNU general help page.
2448 * automake.in (usage): Likewise.
2449 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
2451 (Introduction, Creating amhello, amhello Explained, Options):
2453 * lib/Automake/Makefile.am (do_subst): Substitute
2455 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
2456 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
2459 Clean up @var handling in the manual.
2460 * doc/automake.texi: Throughout the manual, lower-case @var
2461 names, replace a few one-character names.
2463 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
2465 Fix typo-related bug in test script silent5.test.
2466 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
2469 Tests: remove useless repetitions of `foreign' automake option.
2470 * tests/multlib.test (configure.in): Remove useless use of
2471 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
2472 already in $AUTOMAKE by default, so no point in repeating it).
2473 * tests/subobj10.test: Likewise.
2474 * tests/subobj9.test: Likewise.
2475 * tests/lex3.test (Makefile.am): Similarly, remove useless use
2476 of `foreign' option in AUTOMAKE_OPTIONS.
2477 * tests/lex5.test: Likewise.
2478 * tests/pr279.test: Likewise.
2479 * tests/pr279-2.test: Likewise.
2480 * tests/specflg3.test: Likewise.
2481 * tests/target-cflags.test: Likewise.
2483 Drop useless requirement "gzip" in lex5.test.
2484 * tests/lex5.test ($required): Do not list "gzip", as it's
2487 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
2489 Fix bugs in test script silent5.test.
2490 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
2491 instead of egrep) that could have led to false negatives.
2493 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2495 Add a test checking that distributed broken symlinks cause
2496 `make dist' to fail.
2497 * tests/distlinksbrk.test: New test.
2498 * tests/Makefile.am (TESTS): Updated.
2500 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2502 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
2503 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
2504 and AM_LFLAGS, LFLAGS in the order in which they now appear in
2507 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
2508 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
2509 please maintainer-check. Ensure generated C files contain a
2510 declaration, to please compilers.
2512 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2514 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
2515 $(FLAGS) precedence.
2516 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
2517 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
2518 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
2519 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
2522 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
2523 $(AM_FLAGS) and $(FLAGS) precedence.
2524 * tests/lflags.test: New test, check that user $(LFLAGS) takes
2525 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
2527 * tests/lflags2.test: Likewise.
2528 * tests/yflags.test: New test, check that user $(YFLAGS) takes
2529 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
2531 * tests/yflags2.test: Likewise.
2532 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
2534 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2536 Modernize, improve and extend tests `suffix*.test'.
2537 * tests/suffix3.test: Enable `errexit' shell flag, and related
2539 * tests/suffix4.test: Likewise.
2540 * tests/suffix6.test: Likewise, and do not create a useless dummy
2542 * tests/suffix7.test: Likewise.
2543 * tests/suffix5.test: Enable `errexit' shell flag, and related
2544 changes. Make grepping of Makefile.in slightly stricter.
2545 * tests/suffix.test: Enable `errexit' shell flag, and related
2546 changes. Also, do not redirect grep output to /dev/null, as this
2547 might unmotivatedly hide useful information.
2548 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
2549 in the script (just after inclusion of ./defs). Use a more
2550 idiomatic way to count text occurrences in Makefile.in with
2551 grep. Do not create useless dummy source files.
2552 * tests/suffix10.test: Ensure verbose printing of captured make
2553 stdout. Minor cosmetic changes.
2554 * tests/suffix8.test: Likewise. Also, drop useless call to the
2555 env(1) utility, and make grepping of make output stricter by using
2556 $FGREP rather than plain grep.
2557 * tests/suffix11.test: Likewise.
2558 * tests/suffix12.test: Likewise.
2559 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
2560 the `configure.in' stub. Cosmetic changes.
2561 * tests/suffix13.test: Cosmetic spacing change.
2563 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
2565 Add useful comment in test script ext.test.
2566 * tests/ext.test: Add a comment explaining why an apparently
2567 useless `if' statement is indeed required.
2569 Add useful comment in test script obsolete.test.
2570 * tests/obsolete.test: Add a comment explaining why we need
2571 an indirection in adding $AUTOUPDATE to $required.
2573 Normalize whitespaces in 'tests/Makefile.am'.
2574 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
2575 definition of this variable.
2577 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2579 Remove a couple of unneeded conditionals from tests.
2580 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
2581 for the FOOTEST conditional.
2583 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2585 Modernize, improve and/or fix various test scripts.
2586 * tests/symlink3.test: Deleted, separated into two new, more
2588 * tests/forcemiss.test: ... this one ...
2589 * tests/forcemiss2.test: ... and this one.
2590 * tests/symlink2.test: Enable `errexit' shell flag, make test
2591 stricter, and skip it if symlink creation is not supported.
2592 * tests/postproc.test: Enable `errexit' shell flag, related
2593 changes, and a couple of unrelated cosmetic changes.
2594 * tests/recurs.test: Use the `configure.in' stub created by
2595 `./defs', rather than writing one from scratch. Make grepping
2596 of Automake stderr slightly stricter.
2597 * tests/substtarg.test: Likewise.
2598 * tests/strip.test: Likewise, and move the call to `set -e'
2599 earlier (just after the inclusion of `./defs'). Also, make sure
2600 that the script installed by `make install-script' is equal to
2602 * tests/substref.test: Use the `configure.in' stub created by
2603 `./defs', rather than writing one from scratch. Move the call
2604 to `set -e' earlier (just after the inclusion of `./defs').
2605 Avoid to explicitly export CC for configure (that's already done
2606 in ./defs). Avoid potential problems with unpredictable make
2607 output. Finally, make grepping of Makefile.in stricter.
2608 * tests/substre2.test: Ensure verbose printing of the captured
2609 make's output, and make its grepping slightly stricter.
2610 * tests/cygwin32.test: Enable `errexit' shell flag, and related
2611 changes. Also, do not create useless dummy source/data files.
2612 * tests/scripts.test: Likewise.
2613 * tests/recurs2.test: Likewise. Also, use the `configure.in'
2614 stub created by `./defs'.
2615 * tests/Makefile.am (TESTS): Updated.
2617 Modernize, improve and/or fix tests `pluseq*.test.
2618 * tests/pluseq5.test: Append to configure.in using cat with an
2619 here-doc, not using echo.
2620 * tests/pluseq10.test: Make sure that the captured output of
2621 `make' command is always displayed. Where possible, use $FGREP
2622 instead of grep (this change makes some checks slightly stricter).
2623 * tests/pluseq8.test: Enable `errexit' shell flag, with related
2625 * tests/pluseq.test: Likewise. Also, do not create useless dummy
2626 data files, and use better m4 quoting in generated configure.in.
2627 * tests/pluseq2.test: Likewise. Also, append to configure.in
2628 using cat with an here-doc, not using echo.
2629 * tests/pluseq3.test: Likewise.
2630 * tests/pluseq4.test: Likewise.
2631 * tests/pluseq6.test: Likewise.
2632 * tests/pluseq7.test: Do not create useless dummy source file.
2633 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
2634 Automake stderr. Some unrelated cosmetic changes.
2636 Testsuite: ensure verbose printing of captured stderr.
2637 * tests/acloca18.test: Print captured stderr before either failing
2638 or grepping it. Be sure to send captured stderr to stderr, not to
2640 * tests/ansi3b.test: Likewise.
2641 * tests/cond39.test: Likewise.
2642 * tests/configure.test: Likewise.
2643 * tests/missing3.test: Likewise.
2644 * tests/missing6.test: Likewise.
2645 * tests/output-order.test: Likewise.
2646 * tests/pr300-ltlib.test: Likewise.
2647 * tests/python6.test: Likewise.
2648 * tests/python7.test: Likewise.
2649 * tests/python8.test: Likewise.
2650 * tests/python9.test: Likewise.
2651 * tests/subobj.test: Likewise.
2652 * tests/vars3.test: Likewise.
2653 * tests/missing4.test: Likewise, and fix a call to grep not to use
2655 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
2656 created by `./defs', rather than writing one from scratch.
2658 Enable `errexit' shell flag in various tests.
2659 * tests/backsl.test: Enable the `errexit' shell flag, and
2661 * tests/backsl2.test: Likewise.
2662 * tests/block.test: Likewise.
2663 * tests/canon2.test: Likewise.
2664 * tests/canon4.test: Likewise.
2665 * tests/comment2.test: Likewise.
2666 * tests/condlib.test: Likewise.
2667 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
2668 * tests/canon3.test: Likewise. Also, avoid to create an useless
2670 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
2671 related changes. Do some cosmetic improvements in the generated
2672 `configure.in' file.
2673 * tests/cond4.test: Likewise.
2674 * tests/cond14.test: Likewise.
2675 * tests/condinc.test: Likewise.
2676 * tests/cond7.test: Likewise. Also, remove useless setting of
2677 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
2678 * tests/ansi.test: Enable the `errexit' shell flag, and related
2679 changes. Extended, esp. by running autoconf, ./configure and
2680 make, and by looking into the distdir.
2682 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2683 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2685 Extend tests/README w.r.t. trailing `:' in test scripts.
2686 * tests/README (section "Writing test cases" subsection "Do"):
2687 Explain why apparently redundant trailing `:' and `Exit 0' in
2688 test scripts can indeed be useful.
2690 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2692 Improve determination of PATH separator in bootstrap script.
2693 * bootstrap: Determine what the PATH separator is the same way
2696 Minor improvements in bootstrap script.
2697 * bootstrap: Consistently use two-spaces indentation. Cosmetic
2698 improvement to comments.
2699 ($me): New variable, containing program basename.
2700 Prepend it to all error messages.
2702 Testsuite now works with BSD make in parallel mode.
2703 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
2704 which are exported by BSD make when run in parallel mode, and
2705 which can confuse make processes spawned by our testsuite.
2706 This change fixes a lot of spurious failure when the testsuite
2707 is run with BSD make in parallel mode.
2709 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2711 Modernize, improve and/or fix various test scripts.
2712 * tests/sanity.test: Rely on the `configure.in' stub created by
2713 `./defs', rather than writing one from scratch.
2714 * tests/depend2.test: Likewise. Also, call `set -e' just after
2715 the inclusion of `./defs', instead that later in the script.
2716 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
2717 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
2718 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
2719 Make auxiliary rules in the generated Makefile more silent.
2720 These changes make some checks slightly stricter.
2721 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
2722 * tests/gettext2.test: Place final `:' at the end of the script,
2723 rather than in the middle.
2724 * tests/exeext.test: Call `set -e' just after the inclusion of
2725 `./defs', instead that later in the script.
2726 * tests/extra5.test: Likewise.
2727 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
2728 plain `mv', just to be sure.
2729 * tests/depcomp.test: Enable `errexit' shell flag, with related
2730 changes. Also, modernize the generated configure.in.
2731 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
2732 stub created by `./defs', rather than writing one from scratch.
2733 * tests/cond10.test: Likewise.
2734 * tests/depcomp2.test: Likewise.
2735 * tests/depend3.test: Likewise.
2736 * tests/distcom7.test: Likewise.
2737 * tests/fortdep.test: Likewise. Also, remove definition of
2738 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
2739 since that flag is already provided by $AUTOMAKE.
2740 * tests/mdate.test: Made stricter, by checking that Automake
2741 actually failed, and by making a stricter grep on the error
2742 message. Also, set shell `errexit flag'.
2743 * tests/python2.test: Improved verbose messages.
2745 Make test `ammissing.test' stricter.
2746 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
2747 Enable `errexit' shell flag.
2749 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2751 Enable `errexit' shell flag in some test scripts.
2752 * tests/subcond.test: Enabled `errexit' shell flag, and related
2754 * tests/subst.test: Likewise.
2755 * tests/vars.test: Likewise.
2756 * tests/version4.test: Likewise.
2757 * tests/vpath.test: Likewise.
2758 * tests/vtexi2.test: Likewise.
2759 * tests/werror.test: Likewise.
2760 * tests/whoami.test: Likewise.
2761 * tests/tags.test: Likewise, and avoid to crate an useless dummy
2763 * tests/acsilent.test: Likewise, and don't use an easily-avoided
2764 command substitution.
2765 * tests/unused.test: Likewise, and don't use an easily-avoided
2766 command substitution.
2767 * tests/version.test: Likewise, and avoid deprecated constructs
2768 in the generated `configure.in'.
2769 * tests/version2.test: Likewise, and avoid deprecated constructs
2770 in the generated `configure.in'.
2772 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2774 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
2775 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
2776 the verbose log contains all output.
2777 * tests/mdate.test: Likewise.
2778 Prompted by Stefano Lattarini's change to discover.test.
2780 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2782 Improve tests link*.test (enable `errexit' shell flag).
2783 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
2784 changes. Also, do not create useless source files.
2785 * tests/link_dist.test: Likewise.
2786 * tests/link_f90_only.test: Likewise.
2787 * tests/link_f_only.test: Likewise.
2788 * tests/link_fc.test: Likewise.
2789 * tests/link_fccxx.test: Likewise.
2790 * tests/link_fcxx.test: Likewise.
2792 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2794 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
2795 * tests/ext.test: Inside shell compound command, use
2796 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
2797 fix failure with OpenBSD sh introduced with last patch.
2798 Actually ensure that a rule for .EXT.o is created for each
2799 known extension EXT.
2801 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2803 Enable `errexit' shell flag in some test scripts.
2804 * tests/dash.test: Enable `errexit' shell flag, and related
2806 * tests/defun.test: Likewise.
2807 * tests/defun2.test: Likewise.
2808 * tests/dejagnu.test: Likewise.
2809 * tests/double.test: Likewise.
2810 * tests/distcom2.test: Likewise.
2811 * tests/empty2.test: Likewise.
2812 * tests/empty3.test: Likewise.
2813 * tests/empty4.test: Likewise.
2814 * tests/exdir.test: Likewise.
2815 * tests/ext.test: Likewise.
2816 * tests/extra.test: Likewise.
2817 * tests/extra2.test: Likewise.
2818 * tests/extra3.test: Likewise.
2819 * tests/extra4.test: Likewise.
2820 * tests/flibs.test: Likewise.
2821 * tests/fnoc.test: Likewise.
2822 * tests/fo.test: Likewise.
2823 * tests/instexec.test: Likewise.
2824 * tests/ltdeps.test: Likewise.
2825 * tests/nodep.test: Likewise.
2826 * tests/nodepcomp.test: Likewise.
2827 * tests/f90only.test: Likewise, and remove botched/obsoleted
2828 comments and unnecessary commands.
2829 * tests/fonly.test: Likewise, and remove botched/obsoleted
2830 comments and unnecessary commands.
2831 * tests/discover.test: Likewise, and made stricter.
2833 Enable `errexit' shell flag in all tests cxx*.test.
2834 * tests/cxx.test: Enabled `errexit' shell flag, and related
2836 * tests/cxxansi.test: Likewise.
2837 * tests/cxxcpp.test: Likewise.
2838 * tests/cxxlibobj.test: Likewise.
2839 * tests/cxxlink.test: Likewise.
2840 * tests/cxxo.test: Likewise.
2842 Enable `errexit' shell flag in various tests.
2843 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
2845 * tests/acoutpt.test: Likewise.
2846 * tests/acoutqnl.test: Likewise.
2847 * tests/amassign.test: Likewise.
2848 * tests/ansi2.test: Likewise.
2849 * tests/ansi4.test: Likewise.
2850 * tests/badprog.test: Likewise.
2851 * tests/checkall.test: Likewise.
2852 * tests/clean.test: Likewise.
2853 * tests/colneq2.test: Likewise.
2854 * tests/colon.test: Likewise.
2855 * tests/colon5.test: Likewise.
2856 * tests/colon6.test: Likewise.
2857 * tests/comment.test: Likewise.
2858 * tests/compile_f90_c_cxx.test: Likewise.
2859 * tests/compile_f_c_cxx.test: Likewise.
2860 * tests/cond3.test: Likewise.
2861 * tests/cond6.test: Likewise.
2862 * tests/cond13.test: Likewise.
2863 * tests/conf2.test: Likewise.
2864 * tests/confvar.test: Likewise.
2865 * tests/confvar2.test: Likewise.
2866 * tests/cond8.test: Likewise, plus a cosmetic change.
2867 * tests/confh4.test: Likewise. Also, add in the heading comments
2868 an excerpt from the original bug report which motivated the
2869 creation of this test, to make its purpose clearer.
2871 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2873 Rewrite manual to be gender-neutral.
2874 * doc/automake.texi (GNU Build System)
2875 (Standard Directory Variables, General Operation, CVS)
2876 (Hard-Coded Install Paths, Dependencies As Side Effects):
2877 Rewrite text to not contain gender-specific pronouns when
2878 speaking about developers or users, either by avoiding pronouns
2879 or by addressing them as `you' instead.
2881 Report by Christina Gratorp.
2885 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2887 Make tests on user extensibility of silent-rules mode stricter.
2888 * tests/silent6.test: Made stricter w.r.t. the grepping of the
2889 output produced by `make'.
2890 * tests/silent7.test: Likewise.
2892 Tests on silent-mode for C/Libtool made stricter.
2893 * tests/silent.test: Made stricter w.r.t. the grepping of the
2894 output produced by `make'.
2895 * tests/silent2.test: Likewise.
2896 * tests/silent4.test: Likewise.
2897 * tests/silent9.test: Likewise.
2898 * tests/silent3.test: Likewise, and add a final `make distclean'
2899 command to keep it better in sync with tests/silent{4,9}.test.
2901 Improved test silent5.test.
2902 * tests/silent5.test: Remove by hand all generated C files after
2903 non-verbose builds, to ensure the following builds are clean.
2904 Try to clean and rebuild with the same verbosity and without
2905 removing generated sources in between, to check that this does
2906 not trigger a different set of rules. Make grepping of make's
2907 output stricter. Improved/added some comments.
2909 New tests for Automake silent-mode with Fortran.
2910 * tests/silentf77.test: New test.
2911 * tests/silentf90.test: Likewise.
2912 * tests/Makefile.am (TESTS): Updated accordingly.
2914 New test `silentcxx.test' (Automake silent-mode with C++).
2915 * tests/silentcxx.test: New test.
2916 * tests/Makefile.am (TESTS): Updated accordingly.
2918 New test `silentyacc.test' (Automake silent-mode with Yacc).
2919 * tests/silentyacc.test: New test.
2920 * tests/Makefile.am (TESTS): Updated accordingly.
2922 New test `silentlex.test' (Automake silent-mode with Lex).
2923 * tests/silentlex.test: New test.
2924 * tests/Makefile.am (TESTS): Updated accordingly.
2926 Relax tests on silent-rules to cater to overly verbose makes.
2927 * tests/silent.test: When testing silent builds, don't fail if
2928 make's output simply contains the `mv' substring, but only if
2929 it contains the `mv ' substring (note the trailing space).
2930 * tests/silent2.test: Likewise.
2931 * tests/silent3.test: Likewise.
2932 * tests/silent4.test: Likewise.
2933 * tests/silent5.test: Likewise.
2934 * tests/silent9.test: Likewise.
2936 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2938 Fix silent-rules output for disabled dependency tracking.
2939 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2940 expansion code to also work in the case where %AMDEP% expands
2941 to FALSE at config.status time, using new substitution string
2943 * automake.in (verbose_nodep_flag): New function, appending
2944 `@am__nodep@' to the verbose-variable name.
2945 (handle_languages): If dependencies are not disabled, use it to
2946 set %VERBOSE-NODEP%.
2947 * m4/depend.m4: Substitute am__nodep as '_no', so the second
2948 verbose-variable will always expand to an empty string, if
2949 dependencies are enabled.
2950 * tests/silent5.test: Also test --disable-dependency-tracking;
2951 also test per-target flags for non-C language files.
2952 * tests/silent9.test: New test, like silent4.test but disable
2953 dependency tracking.
2954 * tests/Makefile.am: Adjust.
2955 * NEWS, THANKS: Update.
2956 Report by Dmitry V. Levin <ldv@altlinux.org>.
2958 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2960 Extend test on `nostdinc' automake option.
2961 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
2962 unrelated minor changes. Make the grepping of the generated
2963 Makefile.in slightly stricter. Generate and run configure, so that
2964 the generated Makefile can be grepped too.
2966 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2968 Make gnupload portable to EBCDIC hosts.
2969 * lib/gnupload: Use literal newline as argument for 'tr' rather
2970 than \015, for EBCDIC hosts. Also, avoid unportable nested
2971 double-quotes and backquotes.
2973 Report from Eric Blake and Steve Goetze via gnulib.
2975 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2977 Fix Autoconf version required by Automake's configure.
2978 Automake configure script used to tell that automake required
2979 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2980 and if that was not found, it gave an error saying that Automake
2981 required configure 2.61a-341 or later. This change should
2982 eliminate such inconsistencies.
2983 * configure.ac ($required_autoconf_version): New variable.
2986 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2988 Fix unportable sed script in maintainer-check test.
2989 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2990 not contain semicolon after 'b' or brace commands, for NetBSD.
2992 Wildcards are not portable to NetBSD make.
2993 * doc/automake.texi (Wildcards): Document portability issue.
2994 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2997 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2999 Make test for configure.in vs. configure.ac stricter.
3000 * tests/configure.test: Use a configure.in file that provokes
3001 an automake error, to ensure configure.ac is preferred.
3003 Avoid possible false negatives in dejagnu7.test.
3004 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
3005 unportable use of fgrep option `-e'.
3007 Fix conflnk3.test to work with Solaris/Heirloom Sh.
3008 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
3009 instead of respectively `test -e FILE' and `test ! -e FILE',
3010 since Solaris Sh doesn't grok the latter. Do not SKIP the test
3011 if the shell doesn't support `test -e'.
3013 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3016 * doc/automake.texi (Simple Tests using parallel-tests): Add
3017 missing closing parenthesis.
3019 Fix leftover call to removed function macros_dump.
3020 * automake.in (read_main_am_file): Call variables_dump, not
3021 macros_dump. Print actual error before list of variables.
3023 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
3025 Minor improvements in comments of test `silent3.test'.
3026 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
3029 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3031 testsuite: ensure verbose printing of captured output.
3032 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
3033 tests/fort2.test, tests/help.test, tests/missing3.test,
3034 tests/missing6.test: Print captured stdout or stderr before
3037 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3039 Make test badopt.test stricter (by enabling `set -e').
3040 * tests/badopt.test: Add call to `set -e'. Due to this change,
3041 an unexpected failure in the call to `$ACLOCAL' (whose outcome
3042 was previously unchecked) would cause the whole test to fail.
3043 Also, bumped the copyright years.
3045 Make test for configure.in vs. configure.ac stricter.
3046 * tests/configure.test: Use a configure.in file that provokes
3047 an automake error, to ensure configure.ac is preferred.
3049 Use `set -e' in confsub.test (avoids possible false negatives).
3050 * tests/confsub.test: Enable shell `errexit' flag, and related
3051 changes (this helps avoiding some possible minor false negatives).
3052 Also, bumped copyright years.
3054 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3056 Fix -Werror handling for presence of configure.in and configure.ac.
3057 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
3058 $configure_ac at the global level, before command-line arguments
3060 (require_variables): Initialize it here.
3061 * tests/configure.test: New test.
3062 * tests/Makefile.am: Update.
3063 Report by Stefano Lattarini.
3065 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3067 Avoid possible false negatives in confh5.test.
3068 * tests/confh5.test: Enable shell `errexit' flag, and bumped
3069 copyright years. Due to this change, any unexpected failure
3070 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
3071 a failure in grepping expected text in output files should now
3072 cause the whole test to fail.
3074 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3076 Fixed typo in POD documentation of Automake::Channels.
3077 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
3078 @<...> was used instead of C<...>.
3080 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
3082 Refactor tests on Automake TESTS color output.
3083 * tests/color.test: Tests using the expect program moved out to...
3084 * tests/color2.test: ... this new file.
3085 * tests/Makefile.am (TESTS): Extended accordingly.
3087 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
3089 Fix typos in comments in test confh5.test
3090 * tests/confh5.test: Fix a couple of typos in comments.
3092 Avoid possible false negatives in canon-name.test.
3093 * tests/canon-name.test: Enable shell `errexit' flag. Improve
3096 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3098 Fix per-Makefile.am setting of -Werror.
3099 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
3100 Makefile.am would carry over to other Makefile.am files
3101 treated afterwards by the same thread, causing inconsistent
3102 and unstable exit status values.
3103 * lib/Automake/Channels.pm (dup_channel_setup)
3104 (drop_channel_setup): Save and restore the setting of
3105 $warnings_are_errors.
3106 * tests/werror3.test: New test.
3107 * tests/Makefile.am: Adjust.
3110 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
3112 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
3113 * tests/confh5.test: In the generated Makefile.am: do not use
3114 `test ! -e FILE' to check for the non-existence of a file, since
3115 that is not supported by Solaris/Heirloom Sh.
3117 Make test `aclocal3.test' stricter.
3118 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
3119 succeds unexpectedly.
3121 Add tests checking that symlinks are resolved by `make dist'.
3122 * tests/distlinks.test: New test.
3123 * tests/Makefile.am (TESTS): Updated accordingly.
3124 Suggested by observations from Ralf Wildenhues.
3126 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3128 Use -9 for maximum xz compression with dist-xz.
3129 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
3130 * NEWS, THANKS: Update.
3131 Report by Pavel Sanda.
3133 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
3135 Avoid an unportable use of `$status' shell variable.
3136 * Makefile.am (path-check): Don't use the `$status' shell variable
3137 in the target's rules, as it's special in Zsh (equivalent to `$?',
3140 Avoid another use of `chmod -R'.
3141 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
3142 $(distdir) before removing it (as Solaris `chmod -R' touches
3143 symlink targets). Instead, use the cleanup strategy used in
3146 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3148 Remove uses of @acronym and @sc.
3149 * doc/automake.texi (Public Macros, Limitations on File Names):
3150 Remove all usage of @acronym and @sc in the manual.
3151 Suggested by Karl Berry.
3153 2010-03-13 Karl Berry <karl@freefriends.org>
3155 GNU hello uses fdl.texi, not gpl.texi.
3156 * doc/automake.texi (Texinfo): Adjust example to upstream
3159 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3161 Formatting cleanups in macro comments.
3162 * automake.in, lib/Automake/Channels.pm,
3163 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
3164 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
3165 m4/options.m4, m4/substnot.m4: Fix macro comment format.
3167 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
3168 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3170 Avoid generation of `tests/defs-p' file.
3171 * tests/defs.in: In the generated `configure.in' snippet: call
3172 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
3173 variable `parallel_tests' is set to `yes'.
3174 * tests/Makefile.am (defs-p): Target removed.
3175 (check_SCRIPTS): Removed `defs-p'.
3176 (clean-local-check): Do not unlink `defs-p' anymore.
3177 ($(parallel_tests)): Transformation rules for the test scripts
3179 * tests/gen-parallel-tests: Selection rules for the test
3181 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
3182 then include `./defs' (rather than simply including `./defs-p').
3183 * tests/parallel-tests2.test: Likewise.
3184 * tests/parallel-tests3.test: Likewise.
3185 * tests/parallel-tests4.test: Likewise.
3186 * tests/parallel-tests5.test: Likewise.
3187 * tests/parallel-tests6.test: Likewise.
3188 * tests/parallel-tests7.test: Likewise.
3189 * tests/parallel-tests8.test: Likewise.
3190 * tests/parallel-tests9.test: Likewise.
3191 * tests/parallel-tests10.test: Likewise.
3192 * tests/README (Section "Writing Test Cases" subsection "Do"):
3193 Adjusted the parts referring to tests checking `parallel-tests'
3194 behaviour. Some other minor related improvements.
3195 * tests/.gitignore (defs-p): Removed.
3197 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
3199 Remove redundant unset of variable TESTS from some test scripts.
3200 * tests/color.test: Do not unset the `TESTS' variable, as it's
3201 already unset in the `defs' file.
3202 * tests/check5.test: Likewise.
3203 * tests/check8.test: Likewise.
3204 * tests/check9.test: Likewise.
3205 * tests/check10.test: Likewise.
3206 * tests/check11.test: Likewise.
3207 * tests/parallel-tests.test: Likewise.
3208 * tests/parallel-tests3.test: Likewise.
3209 * tests/parallel-tests4.test: Likewise.
3210 * tests/parallel-tests5.test: Likewise.
3211 * tests/parallel-tests6.test: Likewise.
3212 * tests/parallel-tests7.test: Likewise.
3214 2010-02-22 Karl Berry <karl@gnu.org>
3216 Improve help message of mdate-sh.
3217 * mdate-sh: mention actual output format in help message.
3219 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3221 Deprecate dist-lzma in favor of dist-xz.
3222 * doc/automake.texi (The Types of Distributions, Options):
3223 Adjust text to reflect renaming of lzma to xz.
3225 Missing deprecation noted by Antonio Diaz Diaz.
3227 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3229 Add tests about support of wildcards in EXTRA_DIST.
3230 * tests/extra10.test: New test, check basic support of wildcards
3232 * tests/extra11.test: New test, check more complex usage of
3233 wildcards in EXTRA_DIST.
3234 * tests/extra12.test: New test, check usage of wildcards in
3235 EXTRA_DIST when $builddir != $srcdir.
3236 * tests/Makefile.am (TESTS): Updated accordingly.
3237 Necessity of these new tests suggested by Braden McDaniel
3238 and Ralf Wildenhues.
3240 2010-02-08 Simon Josefsson <simon@josefsson.org>
3242 Fix copyright statement in gnupload script.
3243 * lib/gnupload: Fix copyright statement.
3245 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
3246 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3248 Fix exit status of signal handlers in shell scripts.
3249 The value of `$?' on entrance to signal handlers in shell scripts
3250 cannot be relied upon, so set the exit code explicitly to
3252 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
3253 * lib/elisp-comp: Likewise.
3254 * lib/install-sh: Likewise.
3255 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
3256 * NEWS, THANKS: Update.
3257 Bug report, analysis, and initial patch by Dmitry V. Levin.
3259 2010-02-06 Karl Berry <karl@gnu.org>
3261 Improve gnupload usage text.
3262 * gnupload (usage): Shorten to make more likely to fit on a tty
3263 line. Mention CMD in the synopsis. With ..., plural is implied.
3265 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
3267 Fix some typos in the manual
3268 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
3270 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3272 Slighty improve tests acoutbs.test and acoutbs2.test.
3273 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
3274 autoconf and configure work, that the file `zot' is created by
3275 configure, and that no file containing a backslash in its name is
3277 * tests/acoutbs.test: Likewise, plus updated copyright years.
3279 Fix test acoutbs2.test.
3280 * tests/acoutbs2: In the generated configure.in: add proper calls
3281 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
3282 PACKAGE and VERSION. Add a call to aclocal before calling automake.
3283 Updated copyright years.
3284 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
3286 Add forgotten test scripts to $(TESTS).
3287 * tests/Makefile.am (TESTS): Added test scripts present on the
3288 filesystem, which were erroneously left out from $(TESTS):
3289 acoutbs2.test, badopt.test, extra2.test.
3290 (XFAIL_TESTS): Added acoutbs2.test.
3292 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3294 Sync auxiliary files from upstream.
3295 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
3298 Bump copyright years.
3299 * aclocal.in (write_aclocal, version): Bump copyright years.
3300 * automake.in (gen_copyright, version): Likewise.
3301 * doc/automake.texi: Likewise.
3304 * ChangeLog.09: New file, rotated from ...
3305 * ChangeLog: ... here.
3306 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
3310 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
3312 Copying and distribution of this file, with or without modification, are
3313 permitted provided the copyright notice and this notice are preserved.