1 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
3 refactor: split 'usage' subroutine in automake
4 This change is related to automake bug#7819.
5 * automake.in (print_autodist_files): New subroutine,
7 (usage): ... this, which now uses it.
8 * tests/autodist-no-duplicate.test: New test.
9 * tests/Makefile.am (TESTS): Update.
11 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
13 tests: fix bug in 'autodist.test'
14 * tests/autodist.test: Avoid spurious failure due to no
15 `defs-static' file being found in the parent directory.
17 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
19 maintcheck: extend 'sc_tests_plain_*' checks
20 * Makefile.am (sc_tests_plain_autom4te): New check.
21 (sc_tests_plain_autoreconf): Likewise.
22 (sc_tests_plain_autoheader): Likewise.
23 (syntax_check_rules): Update.
25 2011-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
27 maintcheck: avoid few spurious failures
28 * Makefile.am (sc_tests_plain_aclocal, sc_tests_plain_perl,
29 sc_tests_plain_autoconf, sc_tests_plain_automake,
30 sc_tests_plain_autoupate): Be stricter in matching an erroneous
31 literal command, i.e., `aclocal', `automake', `perl', etc.
33 2011-06-20 Bert Wesarg <bert.wesarg@googlemail.com> (tiny change)
35 check: don't use multi-line coloring for the report
36 "less -R" can't handle multi-line coloring as it is done for the
37 check reports of the serial and parallel testsuite, because of
38 performance reasons. Thus, color each line of the check report
40 * lib/am/check.am (am__text_box): Accept colors for lines, and
41 color each line by its own.
42 [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Let am__text_box handle
44 [!%?PARALLEL_TESTS%] $(check-TESTS): Color each report line by
48 2011-06-18 Stefano Lattarini <stefano.lattarini@gmail.com>
50 docs: AM_DISTCHECK_CONFIGURE_FLAGS is for corner cases
51 * doc/automake.texi (Checking the Distribution): Explain that the
52 developers should take care of making their code buildable without
53 requiring any special configure options, so that in general
54 AM_DISTCHECK_CONFIGURE_FLAGS shouldn't be used. Give an example
55 of where its use is legitimate.
56 Suggestions from Ralf Wildenhues and Eric Blake.
58 2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com>
60 ansi2knr: deprecate, it will go away in the next major release
61 * doc/automake.texi: Loudly and repeatedly state that the old
62 de-ANSI-fication features are now deprecated and will be removed
63 in the next major Automake release. Other related adjustments.
64 * lib/Automake/Options.pm (_process_option_list ): Give a warning
65 in the `obsolete' category when the `ansi2knr' option is used.
66 * m4/protos.m4 (AM_C_PROTOTYPES): Deprecate this macro: a warning
67 in the `obsolete' category will be emitted it if is used.
68 * tests/ansi2knr-deprecation.test: New test.
69 * tests/Makefile.am (TESTS): Update.
70 * tests/ansi.test: Adjust, by calling autoconf and/or automake
71 with the `-Wno-obsolete' flag.
72 * tests/ansi10.test: Likewise.
73 * tests/ansi2.test: Likewise.
74 * tests/ansi3.test: Likewise.
75 * tests/ansi3b.test: Likewise.
76 * tests/ansi4.test: Likewise.
77 * tests/ansi5.test: Likewise.
78 * tests/ansi6.test: Likewise.
79 * tests/ansi7.test: Likewise.
80 * tests/ansi8.test: Likewise.
81 * tests/ansi9.test: Likewise.
82 * tests/cxxansi.test: Likewise.
83 * tests/libobj8.test: Likewise.
84 * NEWS: Update about the future planned backward-incompatibility
85 due to the removal of de-ANSI-fication feature.
87 2011-06-19 Stefano Lattarini <stefano.lattarini@gmail.com>
89 docs: primary/prefix combination "pkglib_PROGRAMS" is now invalid
90 * doc/automake.texi (Program Sources): pkglib_PROGRAMS is not a
91 valid combination anymore, so don't document it. Inconsistency
92 introduced in commit `v1.11-373-g9ca6326'.
94 2011-06-19 Jim Meyering <meyering@redhat.com>
96 docs: replace obsolete @vindex entry with a useful one
97 * doc/automake.texi (Program Sources): Do not index obsolete
98 pkglib_PROGRAMS here. Do index pkglibexec_PROGRAMS.
100 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
102 tests: optimize tests on primary/prefix mismatch for speed
103 * tests/primary-prefix-invalid-couples.test: Partial rewrite, in
104 order to use just a single automake invocation rather than one
105 invocation for each invalid primary/prefix couple. This improves
106 the test script execution time by an order of magnitude.
107 Since we are at it, throw in some other improvements to avoid
108 unrelated automake warnings and failures that could potentially
109 cause false positives w.r.t. the automake exit status.
111 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
113 news: update w.r.t. introduction of AM_DISTCHECK_CONFIGURE_FLAGS
114 * NEWS (Miscellaneous changes): Update.
116 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
118 maintcheck: DISTCHECK_CONFIGURE_FLAGS can be defined on make cmdline
119 * Makefile.am (sc_tests_overriding_macros_on_cmdline): It's now
120 acceptable that the test scripts override DISTCHECK_CONFIGURE_FLAGS
121 on the make command line. Update comments accordingly. Since we
122 are at it, make the relevant grepping rules slightly tighter.
124 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
126 distcheck: add support for AM_DISTCHECK_CONFIGURE_FLAGS
127 * doc/automake.texi (Checking the Distribution): Suggest to use
128 AM_DISTCHECK_CONFIGURE_FLAGS, not DISTCHECK_CONFIGURE_FLAGS, to
129 define (in the top-level Makefile.am) extra flags to be passed
130 to configure at "make distcheck" time; DISTCHECK_CONFIGURE_FLAGS
131 should be reserved for the user. Add proper `@vindex' directive.
132 Document that AM_DISTCHECK_CONFIGURE_FLAGS is not honoured in a
133 subpackage Makefile.am, but the flags in it are passed down to
134 the configure script of the subpackage.
135 * lib/am/distdir.am (distcheck): Also pass the flags in
136 $(AM_DISTCHECK_CONFIGURE_FLAGS) to the configure invocation.
138 * tests/defs.in.test (AM_DISTCHECK_CONFIGURE_FLAGS,
139 DISTCHECK_CONFIGURE_FLAGS): Unset in case they are exported in
140 the environment, they might improperly influence our testsuite.
141 * tests/distcheck-configure-flags.test: New test.
142 * tests/distcheck-configure-flags-am.test: Likewise.
143 * tests/distcheck-configure-flags-subpkg.test: Likewise.
144 * distcheck-hook.test: Likewise.
145 * distcheck-hook2.test: Likewise.
146 * tests/Makefile.am (TESTS): Update.
147 Closes automake bug#8784.
149 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
151 docs: better documentation for silent make rules
152 * doc/automake.texi (Options): Detailed description of the
153 automake option `silent-rules' moved from here ...
154 (Silent Make): ... into this new chapter, expanded, improved,
155 and subdivided into ...
156 (Make verbosity, Tricks For Silencing Make,
157 Automake silent-rules Option): ... these new sections.
158 (@menu, @detailmenu): Update.
159 * tests/silent-configsite.test: New test, checking that the
160 user can control default mode of silent-rules from config.site,
161 as is documented in the manual.
162 * tests/Makefile.am (TESTS): Updated.
164 2011-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
166 Warnings about primary/prefix mismatch fixed and extended.
167 * automake.in (%standard_prefix): Add `doc' and `locale'.
168 Rename `pkgdatadir' to `pkgdata'. Similarly for`pkglibdir',
169 `pkgincludedir' and `pkglibexecdir'.
170 (handle_programs): List `pkglibexec', not `pkglib', among the
171 prefixes valid for the `PROGRAMS' primary.
172 (handle_data): List also `doc' among the prefixes valid for
173 the `DATA' primary. This is required by automake's own build
175 * tests/dirforbid.test: Test removed, superseded by ...
176 * tests/primary-prefix-invalid-couples.test: ... this new test.
177 * tests/primary-prefix-valid-couples.test: New test.
178 * tests/primary-prefix-couples-documented-valid.test: Likewise.
179 * tests/primary-prefix-couples-force-valid.test: Likewise.
180 * tests/java3.test: Adjusted, and extended a bit.
181 * tests/Makefile.am (TESTS): Updated.
183 From a report by Eric Blake.
185 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
187 test defs: new function 'fatal_', for hard errors
188 Before this patch, the only way offered by tests/defs to
189 properly signal a hard error was the `framework_failure_'
190 function. But the error message issued by that function,
191 as its name would suggest, refers to a set-up failure in the
192 testsuite, while hard errors can obviously also be due to
193 other reasons. The best way to fix this inconsistency is to
194 introduce a new function with a more general error message.
195 Inspired by a recent similar change to Gnulib's tests/init.sh.
196 * tests/defs.in (fatal_): New function.
197 * tests/README (Section "Writing test cases" subsection "Do"):
198 Suggest the use of `fatal_', not of `framework_failure_', for
199 generic hard errors. The latter should be reserved for "real"
202 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
204 maintcheck: fix some failures, extend some checks
205 * Makefile.am (sc_diff_automake_in_automake): Update, as we
206 now expect 9 lines, not 8, to be changed from `automake.in'
208 (sc_diff_aclocal_in_aclocal): New maintainer check, similar to
209 the above, and checking that only 10 lines are changed from
210 `aclocal.in' to `aclocal'.
211 (syntax_check_rules): Update.
212 (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test'
213 from this check, as they can legitimately use the bare `exit'
214 builtin in various places.
215 * doc/automake.texi (Python): Remove stray `@' from the end of
216 a line. Typo introduced in commit `v1.11-312-g5bf7af6'.
217 * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make
218 from the environment rather than from the command line, to
219 pacify the `sc_tests_overriding_macros_on_cmdline' maintainer
221 * tests/depcomp8b.test: Likewise.
223 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
225 remake: behave better with non-GNU make in subdirectories
226 Currently, with every decent make program, it is possible to
227 rebuild out-of-date autotools-generated files with a simple
228 "make Makefile" -- but for this to work reliably with non-GNU
229 make implementations, the command must be issued from the
230 top-level directory. This patch removes such limitation.
231 * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'.
232 * tests/defs.in (using_gmake): New function, backported from the
233 `master' branch (and simplified).
234 * tests/remake-subdir.test: New test.
235 * tests/remake-subdir2.test: Likewise.
236 * tests/remake-subdir-gnu.test: Likewise.
237 * tests/remake-subdir-from-subdir.test: Likewise.
238 * tests/Makefile.am (TESTS): Update.
240 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
242 automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE
243 Currently, the Automake's own configure script allow definition
244 of AUTOCONF and AUTOM4TE, expected to point respectively to an
245 autoconf and autom4te programs. But while these definitions are
246 honoured in the Automake's build systems and test suite, they
247 were *not* honoured in the generated `automake' and `aclocal'
248 scripts. This behaviour, apart from being wrong in that it does
249 not allow the user enough freedom in choosing his tools, also
250 caused inconsistencies in the test suite, brining to spurious
252 Problem reported by Graham Reitz on the automake list; see thread:
253 <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html>
254 * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'.
255 * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'.
256 * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and
261 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
263 build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
264 Our build system allows the user to override AUTOCONF and AUTOHEADER
265 at configure time, and honours these overrides in our testsuite.
266 But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
267 This change fixes that inconsistency.
268 * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
269 AC_SUBSTitutions. Update comments.
270 * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
271 ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
272 ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
273 * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
275 2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
276 Stefano Lattarini <stefano.lattarini@gmail.com>
278 tests/README: fix example about `make -e' usage
279 * tests/README (Section "Writing test cases" subsection "Do"): When
280 some variable is never initialized in the Makefile, `-e' is not
281 necessary in order to override it. DESTDIR is such a variable: we
282 ensure that we do not ever initialize it. And as such, it is quite
284 $ make DESTDIR=/foo/bar install
285 and in fact, quite widely used.
286 So our example about when `make -e' is required, which references
287 the `DESTDIR' variable, is poorly chosen, if not downright wrong.
288 Rewrite it to use `prefix' as the overridden variable instead.
290 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
292 testsuite: avoid re-running few tests with 'parallel-tests' option
293 Some tests in our testsuite use the 'simple-tests' driver only
294 marginally, or simply as a mean to conveniently check unrelated
295 invariants. It makes little sense to force these tests to also
296 run with the 'parallel-tests' Automake option active, as doing so
297 offers no real gain in coverage, while often causing a measurable
298 overhead in execution time (for an already too-slow testsuite).
299 * tests/pr401.test (parallel_tests): Define to "no", to prevent
300 the generation of a sibling test script using the 'parallel-tests'
302 * tests/pr401b.test: Likewise.
303 * tests/pr401c.test: Likewise.
305 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
307 testsuite: allow tests to avoid the use of 'parallel-tests' option
308 * tests/gen-parallel-tests: Do not generate "siblings" for tests
309 that explicitly define the `parallel_tests', whether to "yes" or
310 to any other value. Extend heading comments to give a rationale
312 * tests/README: Update.
314 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
316 tests/README: update obsoleted advice
317 * tests/README (Section "Writing test cases" subsection "Do"):
318 Do not suggest to use the `*-p.test' pattern for the names of
319 hand-written tests which use the `parallel-tests' Automake option.
320 Not only is this not respected by the existing tests, but it is
321 more likely to cause conflicts with auto-generated tests.
322 So, suggest to *avoid* using the `*-p.test' pattern in names
323 of hand-written tests instead.
324 (Section "Writing test cases" subsection "Do not"): When
325 suggesting not to override Makefile variables using command
326 line arguments, do not use the badly outdated variables `U'
327 and 'ANSI2KNR' in the example; instead, use the more common
328 and typical `DESTDIR'.
330 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
332 test defs: rename requirement 'non-cross' -> 'native'
333 * tests/defs.in (non-cross): Rename requirement ...
334 (native): ... to this, which is clearer and fits the
335 existing lingo better.
336 Suggestion by Ralf Wildenhues.
338 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
340 testsuite: be more cross-compile friendly
341 * tests/defs.in (cross_compiling): New subroutine.
342 (am__tool_prefix): New internal variable.
343 (gcc, g++, gcj): Force the use of the correct "tool prefix"
344 when cross compiling.
345 (gfortran, g77, non-cross): New requirements.
347 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
349 tests: fix spurious failure of txinfo21.test on FreeBSD
350 * tests/txinfo21.test: Use the `is_newest' subroutine instead of
351 the `ls -t' hack to to determine whether a file has been updated.
352 This is required because at least FreeBSD `ls' do not sort files
353 with the same timestamp in alphabetical order when using the `-t'
356 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
358 tests defs: allow requirements for compilers (mostly dummy)
359 Most of the new requirements that are now accepted in `$required'
360 as consequence of this patch are still dummy. They are planned
361 to be implemented only in master (or in some derived branch), but
362 having them here (even just as no-op) will allow for an easier
363 integration/backporting of potential new testcases.
364 * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
366 (flex): New requirement, picking LEX for configure.
367 (lex): New requirement, alias for `flex'. A more appropriate
368 implementation, looking for a generic `lex' program, will follow
370 (yacc): New requirement, alias for `bison'. A more appropriate
371 implementation, looking for a generic `yacc' program, will follow
374 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
376 tests: fix spurious failure in a test on TESTS (VPATH-related)
377 * tests/check-tests-in-builddir.test: When not using the
378 parallel-tests option, do not check that VPATH components are
379 not present in the displayed test name, since the simple-tests
380 driver do not try to strip them.
382 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
384 test: self check subroutines for skipping/failing of tests
385 * tests/self-check-report.test: New test.
386 * tests/Makefile.am (TESTS): Update.
388 2011-04-23 Jim Meyering <meyering@redhat.com>
389 Stefano Lattarini <stefano.lattarini@gmail.com>
391 test defs: new subroutines for test skipping/failing
392 * tests/defs.in (Exit): Move definition of this function earlier.
393 (warn_, skip_, fail_, framework_failure_): New functions, inspired
394 to the homonyms in gnulib's tests/init.sh.
395 ($stderr_fileno_): New global variable, used by the new functions
397 * tests/README: Updated.
398 From a suggestion by Ralf Wildenhues.
400 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
402 tests: fix typo (copy & paste blunder) in heading comment
403 * tests/maintclean-vpath.test: Correctly refer to the sister test
404 as `maintclean.test', not as `maintclean-vpath.test'.
406 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
408 tests: remove redundant test `mclean.test'
409 * tests/mclean.test: Remove, it's a weak grepping test completely
410 superseded by the much more complete `maintclean.test'.
411 * tests/Makefile.am (TESTS): Update.
413 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
415 testsuite: more environment sanitization
416 * tests/defs.in: Sanity check: abort if any of `parallel_tests'
417 or `required' is in the environment.
418 ($sed_unindent_prog): Initialize to empty, to avoid interferences
419 from the environment.
420 * tests/self-check-me-in-env.test: Renamed to ...
421 * tests/self-check-env-sanitize.test: ... this, and extended.
422 * tests/Makefile.am (TESTS): Update.
423 (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
424 `required'. Adjust comments.
426 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
428 tests: don't allow `$me' to be overridden from the environment
429 * tests/defs.in: Sanity check: abort if $me is in the environment.
430 * tests/self-check-me-in-env.test: New test.
431 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
433 Suggestion by Ralf Wildenhues.
435 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
437 test defs: allow overriding of `$me'
438 * tests/defs.in ($me): Allow overriding by the including test
439 script. Add some explicative comments.
441 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
443 depcomp tests: don't reject slower dependency extractors
444 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
445 option to `configure' invocations, so that slower dependency
446 extractors are not rejected.
447 * tests/depcomp8a.test: Likewise. Also ...
448 (foo.c): ... since we are at it, fix spacing to be consistent
449 with GNU coding standards.
451 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
453 m4: add missing serial numbers to a few files
454 Related to automake bug#8483.
455 * m4/amversion.in: Add serial number.
456 * m4/auxdir.m4: Likewise.
457 * m4/gcj.m4: Likewise.
458 * m4/install-sh.m4: Likewise.
459 * m4/mkdirp.m4: Likewise.
460 * m4/python.m4: Likewise.
461 * m4/runlog.m4: Likewise.
462 * m4/strip.m4: Likewise.
463 * m4/upc.m4: Likewise.
465 2011-04-16 Jim Meyering <meyering@redhat.com>
467 depcomp: correct invalid sed invocation
468 * lib/depcomp: Insert missing -e before '/:$/d'.
469 Otherwise, that use of sed would treat '/:$/d' as a file name.
471 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
473 maintainer check: quote literal `$' in Makefile rule
474 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
475 character in double-quoted string. Fix a bug in which the rule
476 emitted an erroneously empty substring in its error message.
478 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
480 coverage: test for automake bug#8485 (known regression)
481 * tests/yacc-dist-nobuild-subdir.test: New test.
482 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
484 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
486 test defs: define default $distdir (help reducing duplication)
487 * tests/defs.in ($distdir): New variable, might be used in
488 testcases checking distribution-related features.
489 * tests/pr9.test: Use it.
490 * tests/subdir9.test: Likewise.
491 * tests/vtexi3.test: Add comment explaining why we redefine
492 $distdir in this test.
494 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
496 depcomp: fix bugs in tests and in the depcomp script
497 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
498 * tests/depcomp10.test: Make it executable. Fix a blunder that
499 has left part of an intended comment not prefixed by `#', thus
500 causing shell syntax errors. In this same comment, break a
501 too-long reported error message on multiple lines, for clarity.
502 Add reference to the relevant bug report. Add a comment which
503 explains why the test result 'skipped' if the first "make" call
504 fails. Add other useful comments.
505 * tests/depcomp9.test: Slightly improve comments.
507 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
509 Fix hp depmode for VPATH builds with GNU make.
510 * lib/depcomp: Be sure to remove VPATH-prefixed object from
511 dependency output when creating stub rule.
512 * tests/depcomp10.test: New test.
513 * tests/Makefile.am (TESTS): Update.
515 Report by Bruno Haible.
517 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
519 test defs: fix 'javac' requirement for older JDK versions
520 The Java compiler from JDK 1.5 (and presumably earlier versions)
521 cannot handle the `-version' option by itself; and while it does
522 print the version number, it then errors out with an usage error:
525 javac: no source files
526 Usage: javac <options> <source files>
528 Luckily, adding the `-help' option to the `javac' invocation
529 seems to fix this problem.
530 * tests/defs.in (javac): Pass also the `-help' option to the
531 `javac' program. Add a comment explaining why it is needed.
532 Report from Ralf Wildenhues.
534 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
536 test defs: new requirement for the default java compiler
537 * tests/defs.in (for tool in $required): New requirement 'javac'.
538 * tests/java.test: Use it instead of ad-hoc configure check.
539 * tests/java-check.test: Likewise.
540 * tests/instfail-java.test: Likewise.
541 * tests/instdir-java.test: Likewise.
543 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
545 java: check_JAVA does not cause compilation by "make all" anymore
546 Fixes automake bug#8234.
547 * automake.in (handle_java): Make stamp of class files built from
548 java sources in $(check_JAVA) a dependency of `check' target, not
550 * tests/java-check.test: New test.
551 * tests/Makefile.am (TESTS): Update.
554 Report from Petteri Räty.
556 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
558 Clarify regex code in depcomp.
559 * lib/depcomp: Add comment why we don't need regex-escaping here.
560 Suggested by Stefano Lattarini.
562 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
564 Fix makedepend depmode for VPATH builds.
565 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
566 object file name, so a rebuild doesn't attempt to update the
567 .Po files in the source tree.
568 * tests/depcomp9.test: New test.
569 * tests/Makefile.am (TESTS): Update.
572 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
574 tests: fix timestamp-related failures
575 Fixes automake bug#8365.
576 * tests/aclocal6.test: Sleep before modifying m4 files that should
577 trigger remake rules. Remove incorrect/obsoleted comments.
578 * tests/subdir5.test: Likewise, and extend a bit.
579 * tests/subdir8.test: Likewise.
580 * tests/pr8365-remake-timing.test: New xfailing test.
581 * tests/Makefile.am (TESTS): Update.
582 Report from Sam Steingold.
584 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
586 Create subdirs for generated sources even when not dep tracking.
587 * automake.in (handle_single_transform): If $object is derived
588 and lands in subdir, be sure to output a dirstamp dependency.
589 * tests/yacc5.test: Avoid falsely matching the dirstamp
590 dependency when grepping for a rule.
591 * tests/lex-subobj-nodep.test: New test.
592 * tests/Makefile.am (TESTS): Update.
594 Report by Ignacy Gawedzki.
596 Fix locale issue in check-exported-srcdir.test.
597 * tests/check-exported-srcdir.test: Reformulate glob to not fail
598 in a locale that ignores or interleaves character case.
600 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
602 docs: better visibility for aclocal in the index
603 * doc/automake.texi (@menu): Rename title for entry 'configure'
604 from "Scanning configure.ac or configure.in" to the more precise
605 "Scanning configure.ac, using aclocal".
606 (@detailmenu): Adjust.
607 (@node configure): Adjust, and extend @cindex calls accordingly.
609 From a report by Maynard Johnson.
611 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
613 tests: improve tests on "maintainer-clean" target
614 * tests/aclocal6.test: Move checks related to "maintainer-clean"
615 functionalities into ...
616 * tests/maintclean-vpath.test: ... this new test.
617 * tests/maintclean.test: Update heading comments. Extend to also
618 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
619 in configure.in. Add a trailing `:' command. Remove extra blank
621 * tests/Makefile.am (TESTS): Update.
623 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
625 tests: fix unindent to use printf not echo for script.
626 * tests/defs.in: Use printf rather than echo, as the latter may
627 interpret the backslashes in the sed script. Fixes test
628 failures with dash as /bin/sh.
630 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
631 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
633 maintcheck: look for problematic names of testcases
634 The configure.in stub created by default by `tests/defs' obtains
635 the first argument of AC_INIT from the test name, and this can
636 cause some supported autoconf versions to fail with a spurious
637 error if that test name contains the name of an m4 or m4sugar
638 builtin or macro (e.g., `defn' or `m4_undefine').
639 See for example the bug fixed by commit v1.11-287-g1325a8a.
640 This change add a maintainer check that warns about test names
641 which are possibly problematic in this regard.
642 * Makefile.am (sc_test_names): New maintainer-check target.
643 (syntax_check_rules): Add it.
644 (m4_builtins): New helper variable.
645 (TESTS): Updated according to the following renamings.
646 * tests/include.test: Renamed ...
647 * tests/hdr-vars-defined-once.test: ... to this.
648 * tests/sinclude.test: Renamed ...
649 * tests/m4-inclusion.test: ... to this, and simplified
651 * tests/include2.test: Renamed ...
652 * tests/dist-included-parent-dir.test: ... to this, for
655 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
657 tests: fix bug in alloca*.test
658 * tests/alloca.test: Make grepping of automake stderr stricter,
659 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
660 and create a dummy alloca.c file, to ensure that we fail for the
662 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
663 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
664 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
666 From a report by Patrick Welche.
668 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
670 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
671 * tests/comments-in-var-defn.test: The configure.in stub created
672 by default, which has the AC_INIT first argument obtained by the
673 test name, causes autoconf 2.62 to fail with a spurious error
674 message like: "configure.in:1: error: defn: undefined macro:".
675 Thus, to prevent this, the test is renamed to ...
676 * tests/comments-in-var-def.test: ... this.
677 * tests/Makefile.am (TESTS): Updated.
679 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
681 cosmetics: convert encoding from ISO-8859 to UTF-8
682 * ChangeLog.03: Convert encoding to UTF-8.
683 * ChangeLog.96: Likewise.
684 * ChangeLog.98: Likewise.
688 2011-03-01 Peter Rosin <peda@lysator.liu.se>
690 test defs: unindent without temporary file
691 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
692 that strips the "proper" amount of leading whitespace.
693 (unindent): Lazily strip comments from the above program and use it
694 to unindent without using a temporary file.
696 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
698 libtool: suggest LT_INIT if LTLIBRARIES primary is used
699 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
700 defined, automake suggested to add a call to AC_PROG_LIBTOOL
701 in configure.ac. But that macro is deprecated since Libtool
702 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
703 suggest the use of this latter macro instead.
704 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
705 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
706 * tests/libtool4.test: Adjust and extend. Also, add a call to
707 macro AC_PROG_CC in configure.in, to help ensuring that automake
708 does not fail for the wrong reasons.
709 * tests/ltinit.test: New test, ensure that automake's libtool
710 support works with LT_INIT-based interface.
711 Thanks to Jack Kelly for the suggestion.
713 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
715 tests: tempdirs with restrictive permissions are cleaned correctly
716 Before this change, the removal of a temporary test directory
717 containing subdirectories with restrictive permissions (such as
718 'r--r--r--') could fail.
719 * tests/defs: Ensure that all the subdirectories of a temporary
720 test directory have the 'read', 'write' and 'execute' bits set,
721 before trying to remove it with `rm -rf'.
722 * tests/Makefile.am (clean-local-check): Likewise.
724 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
725 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
727 test defs: add subroutine for input unindenting
728 * tests/defs.in (unindent): New subroutine.
730 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
732 python: report the 'PYTHON' influential environment variable
733 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
734 * doc/automake.texi (Python): Update and extend.
735 * tests/help-python.test: New test.
736 * tests/Makefile.am (TESTS): Update.
737 * THANKS (Jack Kelly): Update e-mail address.
738 Suggestion by Jack Kelly.
740 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
742 tests defs: clear TESTS_ENVIRONMENT variable
743 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
744 from environment won't interfere with the testcases.
745 Suggestion by Ralf Wildenhues.
747 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
749 tests: tweak few tests on simple and parallel test drivers
750 * tests/check-exported-srcdir.test: Improve heading comments.
751 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
752 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
753 environment won't risk to interfere with the test.
754 Suggestions by Ralf Wildenhues.
756 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
758 coverage: more tests on simple and parallel test drivers
759 * tests/parallel-tests-subdir.test: New test.
760 * tests/check-exported-srcdir.test: Likewise.
761 * tests/check-tests-in-builddir.test: Likewise.
762 * tests/check-tests_environment.test: Likewise.
763 * tests/Makefile.am (TESTS): Update.
765 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
767 tests: fix spurious failures in lflags*.test
768 * tests/lflags.test: Remove 'LEX' from the environment, so
769 that it won't be erroneously picked up by `make -e'.
770 * tests/lflags2.test: Likewise.
772 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
774 docs: color-tests issues with parallel make
775 * doc/automake.texi (Simple Tests): Document that automatic
776 recognition of a capable terminal attached to stdout can fail
777 with some make implementation when running in parallel mode,
778 thus causing colored test output not to be automatically
779 activated when it should.
781 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
783 tests: avoid instspc.test failures due to make's whitespace trimming
784 * tests/instspc.test: Prepend './' when passing the test
785 characters, to avoid leading whitespace characters to be trimmed
786 from macros set from environment variables. Fixes testsuite
787 failures with HP-UX, IRIX, and Tru64/OSF make.
789 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
791 coverage: test semantics of "dummy" per-target flags
792 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
793 per-target flags triggers the use of renamed objects.
794 * tests/Makefile.am (TESTS): Update.
795 Suggestion by Ralf Wildenhues.
797 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
799 tests defs: sanitize IFS
800 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
801 ($sp): New variable, holding a single whitespace character.
802 ($tab): New variable, holding a tabulation character.
803 ($nl): New variable, holding a newline character.
805 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
807 tests: fix VPATH auto-expansion workarounds.
808 * tests/parallel-tests8.test, tests/suffix13.test:
809 Ensure $< is not surrounded by white space, to prevent Solaris
810 make from applying automatic VPATH text expansion.
812 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
814 tests: fix spurious failures in yflags*.test
815 * tests/yflags.test: Remove 'YACC' from the environment, so
816 that it won't be erroneously picked up by `make -e'.
817 * tests/yflags2.test: Likewise.
819 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
821 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
822 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
823 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
824 up its internal memory when copying this tree.
826 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
827 Stefano Lattarini <stefano.lattarini@gmail.com>
829 Add comment to check-TESTS rule working around make 3.80 bug.
830 * lib/am/check.am (check-TESTS): Update comment.
832 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
834 tests: less strict double-colon spy.test again.
835 * tests/spy.test: We know BSD make doesn't invoke more than one
836 double-colon rule, so no need to expose that failure.
838 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
840 install-sh: avoid Tru64 sh `test' operator precedence issues.
841 * lib/install-sh: Protect file names and directory components
842 that consist of `=', `(', `)', or `!'. Move protection as early
843 as possible, to avoid errors such as with Tru64 sh `test -z ='.
844 * tests/instsh2.test: Extend test to cover more possibilities.
845 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
847 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
848 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
850 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
851 * doc/automake.texi (Simple Tests): Do not claim Automake uses
852 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
853 parallel-tests driver.
855 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
857 Allow _AM_DEPENDENCIES to be used later in configure.
858 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
859 conftest.dir before recreating it.
861 Report by Eric Blake, from report by Scott McCreary against M4.
863 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
865 tests: avoid failure on w32 file systems.
866 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
867 be turned unreadable.
869 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
871 tests: allow double-colon spy.test to work with HP-UX make.
872 * tests/spy.test: Fix comment typos. Ensure prerequisites we
873 do not want to depend on are strictly older than the target.
874 Also test with a target out of date wrt. more than one rule.
876 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
878 tests: remove useless requirements from cond36.test
879 * tests/cond36.test ($required): Remove.
880 Since we are at it, add a trailing `:' command.
882 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
883 Stefano Lattarini <stefano.lattarini@gmail.com>
885 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
886 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
887 Test file readability before redirecting input from it, to avoid
888 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
889 * tests/parallel-tests-unreadable-log.test: New test.
890 * tests/Makefile.am (TESTS): Update.
893 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
895 * NEWS, README: Update copyright years.
897 Fix parallel-tests.test failure with HP-UX make.
898 * tests/parallel-tests.test: Sleep inside inner tests, so logs
899 are newer than logs of tests they depend on, for HP-UX make.
901 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
903 docs: ensure example are separated with empty lines in the input
904 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
905 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
906 lines before `@example' and after `@end example' lines, so info
907 output is rendered correctly, and a following @noindent honored.
908 Report by Stefano Lattarini.
910 2011-01-15 Jim Meyering <meyering@redhat.com>
912 tests: fix comment typo
913 * tests/substref.test: Fix grammar in a comment.
915 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
917 tests: fix spurious failures in two texinfo tests
918 * tests/txinfo.test ($required): Add 'makeinfo'.
919 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
920 that make won't try to run makeinfo (which could be unavailable)
922 Found by NixOS Hydra, reported by Ralf Wildenhues.
924 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
926 Avoid testsuite failures due to Autoconf Fortran change.
927 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
928 require computing the canonical host name. Ensure config.guess
929 and config.sub files are present for respective checks.
930 * tests/compile_f_c_cxx.test: Add stub files.
931 * tests/flibs.test: Likewise.
932 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
934 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
936 docs: clustered '-d' not recognized in YFLAGS
937 This change fixes automake bug#7828.
938 * doc/automake.texi (Yacc and Lex): Document that automake
939 recognizes '-d' in AM_YFLAGS only if it's not clustered with
941 From a report by Юрий Пухальский.
943 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
945 tests: add checks on automatically-distributed files
946 Related to automake bug#7819.
947 * tests/autodist.test: New test.
948 * tests/autodist-subdir.test: Likewise.
949 * tests/autodist-acconfig.test: Likewise.
950 * tests/autodist-acconfig-no-subdir.test: Likewise.
951 * tests/autodist-aclocal-m4.test: Likewise.
952 * tests/autodist-config-headers.test: Likewise.
953 * tests/autodist-configure-no-subdir.test: Likewise.
954 * tests/autodist-stamp-vti.test: Likewise.
955 * tests/Makefile.am (TESTS): Update.
957 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
959 tests: work around a texi+cygnus bug causing a spurious XFAIL
960 * tests/txinfo5b.test: New test, like txinfo5.test but calling
961 automake with the `-Wno-override' option to work around a bug
962 in the texinfo + cygnus interaction.
963 * tests/txinfo5.test: Update heading comments.
964 * tests/Makefile.am (TEST): Updated.
966 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
968 Fix another typo in Rule.pm comment.
969 * lib/Automake/Rule.pm: Fix typo.
971 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
973 Improve, extend and tweak tests on Texinfo support.
974 * tests/instdir-texi.test: Add a call to `ls -l' after that to
975 `make', for debugging. When looking for required tools, do not
976 redirect the output of "$tool --help" to /dev/null, and do not
977 uselessly run it in a subshell.
978 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
979 make. All checks moved into Makefile.am.
980 * tests/txinfo8.test: Likewise, and modernize the generated
982 * tests/txinfo2.test: Moved checks into Makefile.am, and other
984 * tests/txinfo5.test: Enable `errexit' shell flag, and related
985 changes. Add trailing `:' command.
986 * tests/txinfo6.test: Likewise, and make grepping of generated
987 Makefile.in stricter.
988 * tests/txinfo7.test: Enable `errexit' shell flag, and related
989 changes. Add trailing `:' command. Do not add unnecessary stuff
991 * tests/txinfo9.test: Verify that more targets which are expected
992 to be generated only once really are. Make grepping less strict,
993 to avoid exposing too much internal details. More minor changes.
994 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
995 for appending to configure.in. Updated/fixed heading comments.
996 * tests/txinfo23.test: Likewise, and extended a little by making
997 it check that no info file is created in the $(srcdir).
998 * tests/txinfo24.test: Likewise.
999 * tests/txinfo25.test: Likewise.
1000 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
1001 for appending to configure.in. Also, check that index files are
1002 cleaned also by "make clean", not only by "make distclean".
1003 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
1004 and added trailing `:' command. This testcase also used to check
1005 that automake ignores in-line comments when using variables, but
1006 preserves them in the output; these checks (added in commit
1007 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
1008 so they have been moved ...
1009 * tests/comments-in-var-defn.test: ... into this new test.
1010 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
1011 trailing `:' command.
1012 * tests/txinfo29.test: Likewise. Relax grepping of generated
1013 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
1014 append to configure.in.
1015 * tests/txinfo3.test: Likewise.
1016 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
1017 make it stricter, sometimes laxer). Move `set -e' setting just
1018 after the inclusion of ./defs. De-uglify a sed command. Other
1019 minor cosmetic improvements.
1020 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
1021 trailing `:' command.
1022 * tests/vtexi3.test: New test on version.texi support.
1023 * tests/vtexi4.test: Likewise.
1024 * tests/Makefile.am (TESTS): Updated.
1026 2011-01-09 Peter Rosin <peda@lysator.liu.se>
1028 Fix another typo in Rule.pm comment.
1029 * lib/Automake/Rule.pm: Fix typo.
1031 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1033 cosmetics: remove trailing whitespaces
1034 * doc/automake.texi: Remove trailing whitespaces.
1035 * tests/cond13.test: Likewise.
1036 * tests/cond14.test: Likewise.
1037 * tests/fort4.test: Likewise.
1038 * tests/fort5.test: Likewise.
1039 * tests/suffix7.test: Likewise.
1040 * tests/vtexi2.test: Likewise.
1042 automake: minor fixes in comments
1043 * automake.in: Some minor fixes and enhancements in comments.
1045 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1047 Add test coverage for deleted header files.
1048 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
1049 also check for the deleted header bug. If no dependency
1050 tracking mechanism could be found, SKIP rather than exit
1051 successfully. Use GNU style spacing and ANSI C prototypes.
1053 Fix typos in Rule.pm comments.
1054 * lib/Automake/Rule.pm: Fix typos in comments.
1056 docs: split 'amhello Explained' node.
1057 * doc/automake.texi (amhello Explained): Split node ...
1058 (amhello's configure.ac Setup Explained)
1059 (amhello's Makefile.am Setup Explained) : ... into these two.
1060 (Top, Hello World): Adjust, and add @anchor for stable URL links.
1061 Suggestion by Karl Berry in automake bug#7766.
1063 2011-01-08 Karl Berry <karl@freefriends.org>
1064 Eric Blake <eblake@redhat.com>
1066 docs: reference defining directories in amhello node.
1067 * doc/automake.texi (amhello Explained): Point to Autoconf
1068 manual for how to convert directory values into macros.
1069 (Optional): Fix grammar nit.
1071 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1073 * NEWS: Fix typo (forgotten word).
1075 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1076 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1078 docs: how to work around checks on invalid primary/directory couples
1079 * doc/automake.texi (Uniform): Document the blessed idiom which can
1080 be used to work around automake checks on invalid primary/directory
1081 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
1083 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1085 Sync auxiliary files from upstream.
1086 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1089 Fix maintainer-check regression.
1090 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
1093 Bump copyright years.
1094 * aclocal.in (write_aclocal, version): Bump copyright years.
1095 * automake.in (gen_copyright, version): Likewise.
1096 * doc/automake.texi: Likewise.
1098 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1099 Stefano Lattarini <stefano.lattarini@gmail.com>
1101 Work around a bug in file-inclusion mechanism of Solaris make.
1102 * automake.in (handle_single_transform): In the name of the
1103 dependency file: collapse multiple slash characters into a single
1105 * tests/subobj11a.test: New test.
1106 * tests/subobj11b.test: Likewise.
1107 * tests/subobj11c.test: Likewise.
1108 * tests/depcomp8a.test: Likewise.
1109 * tests/depcomp8b.test: Likewise.
1110 * tests/Makefile.am (TESTS): Updated.
1112 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
1113 patch and tests by Stefano Lattarini.
1115 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1117 Fix two spurious testsuite failures on IRIX 6.5.
1118 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
1119 weaker make implementations (e.g. IRIX 6.5).
1120 * tests/parallel-tests8.test: Likewise, plus a required related
1122 Reported by Ralf Wildenhues. The bugs have been there from the
1123 first versions of the affected test scripts.
1125 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1127 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
1128 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
1129 the AM_CYGWIN32 macro (and indeed hasn't required it since at
1130 least commit Release-1-2-31-g3038064 "merged changes from
1131 Cygnus" of 1997-08-25).
1133 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1135 distlinksbrk.test: Work around botched "make -k".
1136 * tests/distlinksbrk.test: Run "make" multiple times and grep
1137 its output each time for a single error message, rather than
1138 running "make -k" one single time and grepping its output for
1139 all the expected error messages. This should work around make
1140 implementations with limited (broken?) `-k' support; for more
1141 information, see these subthreads on the automake-patches list:
1142 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
1143 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
1144 - 2010-11-15, "Testsuite failures on IRIX 6.5",
1145 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
1147 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1149 Fix sed-related buglet in test "subdir5.test"
1150 * tests/subdir5.test: Always terminate text passed to the
1151 `i' sed command with a newline, to work around limitations
1152 in e.g. older OpenBSD sed.
1154 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1156 docs: fix blunder in example about python extension modules
1157 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
1158 not `quaternion_SOURCES', to declare the sources of python
1159 extension module `quaternion.la'.
1161 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1163 docs: list LTLIBRARIES among Automake primaries
1164 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
1165 the Automake primaries.
1167 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1169 Improve tests on generated portions of configure help screen.
1170 * tests/help-depend.test: Grepping of configure help screen
1171 relaxed to cater for possible line wrapping, and tightened in
1173 * tests/help-depend2.test: Likewise.
1174 * tests/help-dmalloc.test: Likewise.
1175 * tests/help-lispdir.test: Likewise.
1176 * tests/help-maintainer.test: Likewise.
1177 * tests/help-multilib.test: Likewise.
1178 * tests/help-silent.test: Likewise.
1179 * tests/help-upc.test: Likewise.
1180 * tests/help-init.test: Grepping of configure help screen
1183 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1185 Avoid running installed automake from 'libtool --help'.
1186 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
1187 Together with fixed Libtool, this fixes check-coverage to not
1188 invoke installed automake.
1190 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1192 Fix spurious failures in `silent*.test' for $CC != gcc
1193 In some tests on automake-produced silent rules, we forced the
1194 use of gcc depmode to improve testsuite coverage; but this has
1195 unsurprisingly led to spurious failures when some non-GNU C
1196 compilers were used. So we are now careful to require GCC in
1197 tests that force gcc depmode.
1198 From reports by Ralf Wildenhues.
1199 * tests/silent5.test: Test removed, its content split into ...
1200 * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
1201 these new sister tests, the latter of which forces gcc depmode
1202 and lists "gcc" in $required.
1203 * tests/silentlex.test: Test removed, its content split into ...
1204 * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
1205 these new sister tests, the latter of which forces gcc depmode
1206 and lists "gcc" in $required.
1207 * tests/silentyacc.test: Test removed, its content split into ...
1208 * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
1209 these new sister tests, the latter of which forces gcc depmode and
1210 lists "gcc" in $required.
1211 * tests/Makefile.am (TESTS): Updated.
1213 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1215 Tests: consistently use "|| Exit 1" after ". ./defs".
1216 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
1217 `. ./defs', for consistency with other tests.
1218 * tests/autohdr2.test: Likewise.
1219 * tests/autohdr3.test: Likewise.
1220 * tests/autohdr4.test: Likewise.
1221 * tests/cond23.test: Likewise.
1222 * tests/cond24.test: Likewise.
1223 * tests/cond25.test: Likewise.
1224 * tests/cond26.test: Likewise.
1225 * tests/cond27.test: Likewise.
1226 * tests/cond28.test: Likewise.
1227 * tests/cond29.test: Likewise.
1228 * tests/cond30.test: Likewise.
1229 * tests/cond31.test: Likewise.
1230 * tests/cond32.test: Likewise.
1231 * tests/cond33.test: Likewise.
1232 * tests/cond34.test: Likewise.
1233 * tests/cond35.test: Likewise.
1234 * tests/cond36.test: Likewise.
1235 * tests/cond37.test: Likewise.
1236 * tests/cond38.test: Likewise.
1237 * tests/cond39.test: Likewise.
1238 * tests/cond40.test: Likewise.
1239 * tests/cond41.test: Likewise.
1240 * tests/cond42.test: Likewise.
1241 * tests/cond43.test: Likewise.
1242 * tests/cond44.test: Likewise.
1243 * tests/cond45.test: Likewise.
1244 * tests/dollarvar.test: Likewise.
1245 * tests/dollarvar2.test: Likewise.
1246 * tests/hfs.test: Likewise.
1247 * tests/libobj14.test: Likewise.
1248 * tests/percent.test: Likewise.
1249 * tests/percent2.test: Likewise.
1250 * tests/phony.test: Likewise.
1251 * tests/silent.test: Likewise.
1252 * tests/silent2.test: Likewise.
1253 * tests/silent3.test: Likewise.
1254 * tests/silent4.test: Likewise.
1255 * tests/silent5.test: Likewise.
1256 * tests/silent6.test: Likewise.
1257 * tests/silent7.test: Likewise.
1258 * tests/silent9.test: Likewise.
1259 * tests/silentcxx.test: Likewise.
1260 * tests/silentf77.test: Likewise.
1261 * tests/silentf90.test: Likewise.
1262 * tests/silentlex.test: Likewise.
1263 * tests/silentyacc.test: Likewise.
1265 Avoid useless cleaning in some `silent*.test' tests.
1266 * tests/silentf77.test: Removed useless calls to "make clean"
1267 and "make maintainer-clean".
1268 * tests/silentf90.test: Likewise.
1269 * tests/silent3.test: Removed useless call to "make distclean".
1270 * tests/silent4.test: Likewise.
1271 * tests/silent9.test: Likewise.
1273 2010-11-19 Ian Lance Taylor <iant@google.com>
1275 Sync config-ml.in from GCC.
1276 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
1277 compiler/flag environment variables.
1279 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1281 Automake::Config: remove extra trailing semicolon.
1282 * lib/Automake/Config.in: Remove extra trailing semicolon.
1284 help4.test: fix botched heading comment.
1285 * tests/help4.test: Fixed the heading comment, since it
1286 didn't correctly describe what checks the testcase was
1287 supposed to perform.
1289 help2.test: add checks on aclocal too.
1290 * tests/help2.test: Check that also `aclocal --version' and
1291 `aclocal --help' work with configure.in and acinclude.m4 both
1294 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1296 Fix spurious failures of silent-rules tests with Sun Fortran.
1297 * tests/silentf77.test: Strip from the make output some verbose
1298 messages possibly printed by the SunStudio fortran compilers, to
1299 avoid spurious failures. Add a trailing `:' command.
1300 * tests/silentf90.test: Likewise.
1302 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1304 Fix spurious failures of silent5.test with Sun Fortran.
1305 * tests/silent5.test: Strip from the make output some verbose
1306 messages possibly printed by the SunStudio fortran compilers,
1307 to avoid spurious failures. This bug has been there from the
1308 very first version of this test script.
1310 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1312 Fix regression in colon{5,6}.test (failures on AIX 5.3).
1313 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
1314 post-processing the generated Makefile.in, to work around a bug
1315 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
1316 on the commend line. Calls to `$MAKE' adjusted accordingly.
1317 * tests/colon6.test: Likewise.
1318 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
1319 improve and/or extend tests `colon*.test", and reported by Ralf
1322 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1324 Fix regression in ansi.test (failure on AIX 5.3).
1325 * tests/ansi.test: Remove redundant hackish check done using a
1326 hand-postprocessed Makefile.in. This check worked by setting
1327 the `$(SHELL)' macro on the command line of make, but this is
1328 not supported by the AIX 5.3 make implementation.
1329 This bug has been lurking for a long time, and was activated by
1330 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
1331 tests". Report by Ralf Wildenhues.
1333 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1335 tests: avoid '##'-style comments inside recipe commands.
1336 * tests/confh.test, tests/confh8.test: Remove
1337 double-hash comments from makefile rule commands, they
1338 are not part of the Automake API.
1340 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1342 tests: work around dash quoting issue in case statements.
1343 * tests/color.test, tests/color2.test: Quote variable in case
1344 pattern, to avoid skipping tests with dash 0.5.5.1.
1346 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1348 Rebuild menus in the manual.
1349 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
1350 Thanks to Ian Lance Taylor for the suggestion.
1352 Fix install-strip when $(STRIP) contains several words.
1353 * lib/am/install.am (install-strip): Update comment. Use
1354 separate sub-make invocations for empty and nonempty $(STRIP),
1355 to fix quoting issues.
1356 * tests/strip2.test, tests/strip3.test: New tests.
1357 * tests/Makefile.am (TESTS): Adjust.
1359 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1361 Fix yaccdry.test failure: require bison.
1362 * tests/yaccdry.test: Require bison.
1363 Found by NixOS Hydra.
1365 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
1367 Fix a bug in variable concatenation with `+='.
1368 * lib/Automake/VarDef.pm (append): Since the content of the
1369 "appended-to" variable is going to be unconditionally normalized
1370 later, simply separate the appended value with a single whitespace
1371 character, instead of trying to be uselessly smarter by using
1372 escaped newlines. This fixes a bug in which extra backslashes
1373 where erroneously inserted in the variable's final value.
1374 * tests/pluseq11.test: New test, exposing the bug.
1375 * tests/Makefile.am (TESTS): Update.
1376 Reported by Andy Wingo.
1378 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1380 Fix bug in rules for creating vala vapi/header files.
1381 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
1382 if control structure in a generated make rules. Bug introduced
1383 by previous commit `v1.11-221-gd7c1679', and revealed by failure
1384 of test `vala2.test'.
1386 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1388 Fix and document rules to not touch the tree with `make -n'.
1389 * doc/automake.texi (Multiple Outputs): Document the problem of
1390 modifications during dry-run execution, propose solution.
1392 * automake.in (lang_vala_finish_target): Split recipe so the
1393 stamp file is not removed with GNU `make -n'.
1394 (lang_yacc_target_hook): Separate removal of parser output file
1395 and header remaking.
1396 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
1397 passed to make, take care not to remove any files in that case.
1398 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
1399 %STAMP% file from induced remaking of config header.
1400 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
1402 * tests/Makefile.am (TESTS): Update.
1404 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1406 Add FAQ entry for bug reporting instructions.
1407 * doc/automake.texi (Reporting Bugs): New section.
1408 (Introduction): Refer to it.
1410 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1412 Add support for newer python versions.
1413 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
1414 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
1415 line and fix indentation.
1417 From a report by Thomas Klausner.
1419 Add test for `AM_WITH_DMALLOC' macro.
1420 * tests/dmalloc.test: New test.
1421 * tests/Makefile.am (TESTS): Update.
1423 Fix nits and bugs in tests `help*.test'.
1424 * tests/help4.test: Fix broken sed commands used to strip `-W...'
1425 flags away from "$AUTOMAKE" and "$ACLOCAL".
1426 * tests/help3.test: Likewise, and fix a botched comment.
1427 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
1428 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1429 please maintainer-check.
1430 * tests/help2.test: Likewise.
1432 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1433 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1435 Improve tests `help*.test' (also fixes maintcheck failures).
1436 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1437 flags stripped away rather than hard-coded `automake-$APIVERSION',
1438 to better honour user-overrides. Similarly for aclocal.
1439 * tests/help2.test: Likewise.
1440 * tests/help3.test: Likewise.
1441 * tests/help4.test: Likewise.
1443 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1445 Document and fix expansion of variables before rules.
1446 * doc/automake.texi (General Operation): Document that variables
1447 are expanded before rules.
1448 * lib/am/check.am (am__check_post): Reword a bit so it does not
1449 get matched as a rule.
1450 Suggestion by Ben Pfaff.
1452 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1454 Revert "parallel-tests: avoid command-line length limit issue."
1455 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
1456 because it re-opened the bug fixed by v1.11-10-g218e678.
1458 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1460 parallel-tests: avoid command-line length limit issue.
1461 * automake.in (handle_tests): New argument $makefile, new
1462 substitution %MAKEFILE%.
1463 (generate_makefile): Adjust.
1464 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1465 sanitized TEST_LOGS value as makefile snippet on standard
1466 input to $(MAKE), to avoid exceeding the command line limit on
1469 Report by Bob Friesenhahn.
1471 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1473 Extend tests on `--help' and `--version' options.
1474 * tests/help.test: Create a new empty directory and chdir into
1475 it, rather than removing already present files. Run the aclocal
1476 and automake wrapper scripts directly, instead of relying on
1477 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
1478 in aclocal's and automake's stderr. Add a trailing `:' command.
1479 * tests/help2.test: New test, checking that options `--help' and
1480 `--version' works in directories with broken `configure.in'.
1481 * tests/help3.test: New test, checking that options `--help' and
1482 `--version' take precedence on the other options.
1483 * tests/help4.test: New test, checking that the first among the
1484 `--help' and `--version' options to be specified on the command
1486 * tests/Makefile.am (TESTS): Updated.
1488 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1490 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
1491 * tests/compile2.test: Do no uselessly (implicitly) repeat the
1492 computation of PATH_SEPARATOR again.
1493 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
1494 extending/redefining PATH.
1495 * tests/instmany-python.test: Likewise.
1496 * tests/instmany.test: Likewise.
1497 * tests/man4.test: Likewise.
1498 * tests/mkinst3.test: Likewise.
1499 * tests/mmodely.test: Likewise.
1500 * tests/multlib.test: Likewise.
1501 * tests/txinfo30.test: Likewise.
1502 * tests/README (Section "Writing test cases" subsection "Do"):
1504 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
1505 (syntax_check_rules): Updated.
1507 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
1508 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
1509 ($ACLOCAL, $AUTOMAKE): Use it.
1510 ($PATH_SEPARATOR): New AC_SUBST'd variables.
1513 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1515 Manual: be more agnostic w.r.t. version control system used.
1516 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
1517 directories as a type of probably-unwanted files that are copied
1518 regardless when adding directories to EXTRA_DIST.
1519 (The dist Hook): Show a dist-hook example which removes Subversion
1520 `.svn' private directories from distdir, rather than CVS private
1522 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
1523 the version control system used.
1525 Manual: index refer to target "git-dist", not "cvs-dist".
1526 * doc/automake.texi (General Operation): Index the non-standard
1527 example about "git-dist" under the "git-dist" label, not under
1530 Perl modules: remove references to "Automake CVS repository".
1531 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
1532 git repository" rather than to "Automake's CVS repository".
1533 * lib/Automake/Configure_ac.pm: Likewise.
1534 * lib/Automake/FileUtils.pm: Likewise.
1535 * lib/Automake/Struct.pm: Likewise.
1536 * lib/Automake/XFile.pm: Likewise.
1537 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
1538 branches" rather than "CVS branches".
1540 Remove obsolete .cvsignore files.
1541 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
1542 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
1543 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
1544 savannah's CVS readonly mirror there's no way to commit back to
1545 the real repository, so this files are not worth maintaining or
1548 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1550 * m4/dmalloc.m4: Bump serial number and copyright years.
1552 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1554 Fix broken link in `AM_WITH_DMALLOC' help screen.
1555 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
1556 `http://www.dmalloc.com', not to the dmalloc tarball there (which
1557 seems to have been removed, substituted by multiple release
1560 2010-09-17 Eric Blake <eblake@redhat.com>
1562 Avoid triple-space after period.
1563 * automake.in (handle_single_transform): Avoid 3 spaces at
1565 * ChangeLog.03: Likewise.
1566 * lib/Automake/ChannelDefs.pm: Likewise.
1567 * lib/Automake/Channels.pm (_print_message): Likewise.
1568 * lib/Automake/Rule.pm (rule): Likewise.
1569 * lib/Automake/Variable.pm (var): Likewise.
1570 * lib/am/distdir.am: Likewise.
1571 * tests/insthook.test: Likewise.
1573 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1575 Test automake-generated portions of configure help screen.
1576 * tests/help-depend.test: New test.
1577 * tests/help-depend2.test: Likewise.
1578 * tests/help-dmalloc.test: Likewise.
1579 * tests/help-init.test: Likewise.
1580 * tests/help-lispdir.test: Likewise.
1581 * tests/help-maintainer.test: Likewise.
1582 * tests/help-multilib.test: Likewise.
1583 * tests/help-regex.test: Likewise.
1584 * tests/help-silent.test: Likewise.
1585 * tests/help-upc.test: Likewise.
1586 * tests/mmode.test: Remove tests on `configure --help' output,
1587 they are superseded by tests in `help-maintainer.test'.
1588 * tests/Makefile.am (TESTS): Update.
1590 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1592 * tests/README: Don't put GCS mandated tools in $required.
1594 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1596 * HACKING: Hint at old commits with `git describe' output.
1598 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1600 Fix regression in test `colon4.test'.
1601 * tests/colon4.test: Fix botched editing to `configure.in'
1602 that made the test useless. Since we are at it, improve
1603 comments and make grepping of generated Makefile.in slightly
1605 Regression introduced by change "Modernize, improve and/or
1606 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
1608 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1610 Do not require "gzip" explicitly in tests.
1611 The gzip utility is simply expected to be present on any decent
1612 target system for Automake. So it's pointless to put it in
1614 * tests/install2.test ($required): Do not require "gzip".
1615 * tests/lex3.test: Likewise.
1616 * tests/pr9.test: Likewise.
1617 From a suggestion by Ralf Wildenhues.
1619 Make some `confh*.test' tests more "semantic" (plus tweakings).
1620 * tests/confh.test: Run "autoconf", "configure" and "make check",
1621 instead of munging/grepping the generated `Makefile.in'.
1622 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1623 white spaces. Do not create useless dummy source file `foo.c'
1624 and useless dummy header file `acconfig.h'.
1625 (configure.in): Remove superfluous call to `AC_OUTPUT'.
1626 * tests/confh6.test: Add trailing `:' command.
1627 * tests/confh7.test: In comments, add reference to ...
1628 * tests/confh8.test: ... this new test, "semantic" sister
1630 * tests/Makefile.am (TESTS): Updated.
1631 Prompted by a report from Ralf Wildenhues.
1633 Remove useless whitespace padding in XFAIL_TESTS definition.
1634 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1636 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1638 parallel-tests: avoid command-line length limit issue.
1639 * automake.in (handle_tests): New argument $makefile, new
1640 substitution %MAKEFILE%.
1641 (generate_makefile): Adjust.
1642 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1643 sanitized TEST_LOGS value as makefile snippet on standard
1644 input to $(MAKE), to avoid exceeding the command line limit on
1647 Report by Bob Friesenhahn.
1649 Posix 2008 requires make to set errexit.
1650 * lib/am/check.am: Update comment.
1652 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
1654 Fix bug in test missing6.test.
1655 * tests/missing6.test: Fix the hack used to edit `configure.in',
1656 to avoid producing a configure script that breaks with shells
1657 that do not support $LINENO. Also throw in a couple of cosmetic
1660 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1662 Improve robustness of mdate-sh script.
1663 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1664 $ls_command is word-split properly upon invocation.
1665 (error): New function.
1666 (main): Use it. Improve error checking to avoid endless loop
1667 in case $ls_command gave bogus output. Fix eval quotation.
1668 * tests/mdate6.test: New test, to expose eval quotation error.
1669 * tests/Makefile.am: Update.
1671 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1673 Fix potential regressions in depcomp{3,5}.test.
1674 * tests/depcomp3.test: Do not uselessly escape the character `$'
1675 in makefile rules, when it's used to expand a make macro.
1676 * tests/depcomp5.test: Likewise.
1678 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1679 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1681 Docs: clarify how to avoid automatic dependencies tracking.
1682 * doc/automake.texi (Automatic dependency tracking): Mention that
1683 automatic dependencies tracking is enabled by default, but that
1684 the package developer can disable it altogether. Add a reference
1685 to the proper section for a more in-depth explanation.
1687 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
1688 * doc/automake.texi (Automatic dependency tracking): Fix typo.
1690 2010-08-16 Bruno Haible <bruno@clisp.org>
1692 Don't hide the table of contents.
1693 * doc/automake.texi: Move the table of contents to the beginning.
1695 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1697 Tweak and/or extend some `acloca*.test' tests.
1698 * tests/aclocal8.test: Ensure verbose printing of captured
1700 * tests/aclocal.test: Likewise. Also, add trailing `:'
1702 * tests/acloca19.test: Likewise.
1703 * tests/aclocal5.test: Add trailing `:' command, and prefer
1704 `$me' over hard-coded test name.
1705 * tests/aclocal6.test: Likewise.
1706 * tests/aclocal18.test: Add trailing `:' command, and make
1707 some grepping slightly stricter.
1708 * tests/acloca14.test: Likewise. Also, prefer `diff' over
1709 `cmp', and add some "cosmetic" blank lines.
1711 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1713 Tweak and extend tests `pr[!0-9]*.test'.
1714 * tests/primary3.test: Add trailing `:' command.
1715 * tests/primary.test: Make grepping of Automake's stderr stricter.
1716 Also, add trailing `:' command, and cosmetic changes in spacing.
1717 * tests/primary2.test: Likewise.
1718 * tests/prefix.test: Enable `errexit' shell flags, and related
1719 changes. Add a trailing `:' command.
1720 * tests/proginst.test: Likewise.
1722 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1723 * tests/pr2.test: Add trailing `:' command.
1724 * tests/pr229.test: Likewise.
1725 * tests/pr401.test: Likewise.
1726 * tests/pr401b.test: Likewise.
1727 * tests/pr401c.test: Likewise.
1728 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1730 * tests/pr300-lib.test: Likewise.
1731 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1732 of captured make stdout.
1733 * tests/pr211.test: Add trailing `:' command. Also, use the
1734 `configure.in' stub created by ./defs, rather than writing it
1736 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1737 * tests/pr287.test: Likewise, and move setting of `errexit' shell
1738 flag earlier in the script (just after inclusion of ./defs).
1739 * tests/pr220.test: Make grepping of Automake's stderr stricter.
1740 Also, add trailing `:' command, and cosmetic changes in spacing.
1741 * tests/pr224.test: Move setting of `errexit' shell flag earlier
1742 in the script (just after inclusion of ./defs). Do not export
1743 `CC=gcc' to configure explicitly (it's already exported globally
1744 in ./defs, since we have "gcc" in $required). Use the stub for
1745 `configure.in' created by ./defs, rather than writing it from
1746 scratch. Do not create dummy files required by "gnu" mode (e.g.
1747 README, NEWS), since we run automake in foreign mode anyway.
1748 * tests/pr72.test: Enable `errexit' shell flags, and related
1749 changes. Extend existing checks a bit.
1750 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
1751 the generated `configure.in', and extend existing checks over the
1752 generated tarball a bit.
1753 * tests/pr87.test: Enable `errexit' shell flags, and related
1754 changes. Add a trailing `:' command. Also, do not create dummy
1755 files required by "gnu" mode (e.g. README, NEWS), since we run
1756 automake in foreign mode anyway.
1757 * tests/pr243.test: Avoid obsolescent constructs in the generated
1758 `configure.in'. Enable the `errexit' shell flag, and related
1759 changes. Cosmetic changes to spacing, add trailing `:' command,
1760 and add a "FIXME" comment.
1761 * tests/pr266.test: Likewise, and add explicit command line switch
1762 `--enable-dependecy-tracking' to the ./configure call.
1763 * tests/pr279.test: Avoid obsolescent constructs in the generated
1764 `configure.in'; also, use the `configure.in' stub created by
1765 ./defs, rather than writing it from scratch. Enable `errexit'
1766 shell flag, and related changes. Add trailing `:' command.
1767 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1769 * tests/pr307.test: Move setting of `errexit' shell flag earlier
1770 in the script (just after inclusion of ./defs). Escape literal
1771 dots in grep regular expressions. Also, add a trailing `:'
1772 command, and cosmetic changes to spacing.
1774 Tests for PR: add excerpts from original bug report, for clarity.
1775 * tests/pr2.test: Ditto.
1776 * tests/pr9.test: Likewise.
1777 * tests/pr72.test: Likewise.
1778 * tests/pr87.test: Likewise.
1779 * tests/pr211.test: Likewise.
1780 * tests/pr220.test: Likewise.
1781 * tests/pr224.test: Likewise.
1782 * tests/pr229.test: Likewise.
1783 * tests/pr243.test: Likewise.
1784 * tests/pr266.test: Likewise.
1785 * tests/pr279.test: Likewise, and tell to keep it in sync
1786 with its sister test.
1787 * tests/pr279-2.test: Likewise.
1789 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1791 Tweak, extend and improve tests `cond[a-z]*.test'.
1792 * tests/condd.test: Add trailing `:' command. Typofix in
1794 * tests/condhook.test: Make sure target `install-data-hook' is
1795 not called by `make install', but that data files are installed.
1796 Use proper m4 quoting in configure.in. Add trailing `:' command.
1797 * tests/condhook2.test: New test, sister test of condhook, with
1799 * tests/condinc2.test: Use proper m4 quoting in configure.in.
1800 Prefer trailing `:' command over trailing `Exit 0'.
1801 * tests/condman2.test: Enable errexit shell flag, and related
1802 changes. Add trailing `:' command.
1803 * tests/condman.test: Likewise. Also, do not create useless
1804 dummy manpages, and use proper m4 quoting in configure.in.
1805 * tests/condman3.test: New test, similar to condman.test, but
1806 it also runs ./configure and "make install", and check the
1808 * tests/Makefile.am (TESTS): Updated.
1810 Modernize, improve and/or extend tests `colon*.test.
1811 * tests/colon.test: Rely on the `configure.in' stub created by
1812 `./defs', rather than writing one from scratch. Do not create
1813 a useless dummy file. Add trailing `:' command.
1814 * tests/colon4.test: Enable the `errexit' shell flag, and
1815 related changes. Rely on the `configure.in' stub created by
1816 `./defs', rather than writing one from scratch.
1817 * tests/colon7.test: Enable `errexit' shell flag, and related
1818 changes. Improve the generated `configure.in' file. Add
1819 trailing `:' command.
1820 * tests/colon2.test: Likewise. Also, add some new checks.
1821 * tests/colon5.test: Improve the generated `configure.in' file.
1822 Add new, much deeper checks. Add trailing `:' command.
1823 * tests/colon6.test: Likewise.
1824 * tests/colon3.test: Add trailing `:' command. Remove useless
1825 comments and echos. Improve the generated `configure.in' file.
1826 make some grepping tests stricter. Add a "FIXME" comments about
1827 planned improvements.
1829 Improve and extend tests `asm*.test'.
1830 * tests/asm.test: Use configure.in stub generated by ./defs,
1831 and avoid obsoleted autoconf constructs. Make grepping of
1832 Automake stderr stricter. Do not create useless source file.
1833 Improve verbose messages. Minor cosmetic changes. Tell to
1834 keep it in sync with other sister tests asm*.test.
1835 * tests/asm2.test: Likewise.
1836 * tests/asm3.test: Likewise.
1838 Modernize, improve and/or extend test scripts `conf*.test'.
1839 * tests/confh5.test: Cosmetic changes.
1840 * tests/conff.test: Likewise.
1841 * tests/confdeps.test: Likewise.
1842 * tests/conflnk.test: Likewise.
1843 * tests/conflnk2.test: Likewise.
1844 * tests/confsub.test: Likewise.
1845 * tests/confvar.test: Likewise, and make grepping of Makefile.in
1847 * tests/confvar2.test: Likewise.
1848 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
1849 disabled test (which didn't work with autoconf <= 2.59, but now we
1850 are requiring autoconf 2.62, so...)
1851 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1852 accordingly to "TODO" comments.
1853 * tests/conff2.test: Make grepping of Automake's stderr stricter.
1854 Add some comments explaining why we don't use the `configure.in'
1855 stub preset be ./defs.
1856 * tests/confh.test: Use the `configure.in' stub created by ./defs,
1857 rather than writing one from scratch, and do not call AC_OUTPUT.
1858 Enable `errexit' shell flag, and related changes. Prefer diff over
1859 cmp to compare text files. Prefer perl over sed to fetch the value
1860 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
1861 of $(DIST_COMMON) stricter.
1862 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1863 rather than writing one from scratch. Make grepping of Makefile.in
1865 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
1867 * tests/configure.test: Avoid obsolescent constructs in generated
1868 `configure.ac'. Do not write `configure.in' two times. Escape
1869 literal dots in grep regular expressions.
1870 * tests/confincl.test: Enable `errexit' shell flag, and related
1871 changes. Prefer fgrep over grep. Other cosmetic changes.
1872 * tests/config.test: Renamed to ...
1873 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
1874 and make grepping of `config.h' and `config.h.in' stricter.
1875 * tests/conf2.test: Renamed ...
1876 * tests/confh7.test: ... to this. Use the `configure.in' stub
1877 created by ./defs, rather than writing one from scratch. Try to
1878 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1880 * tests/Makefile.am (TESTS): Updated.
1882 Minor improvements and fixes in tests `depcomp*.test'.
1883 * tests/depcomp.test: Do not create useless dummy source files.
1884 Add a trailing `:' command.
1885 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1886 it's not in in the environment, rather than exporting it with an
1887 empty value. Do not pass CC=gcc to configure, as that's already
1888 done in ./defs since we have gcc in $required. Ensure verbose
1889 printing of captured stderr, and normalize its checking. Add a
1890 trailing `:' command.
1891 * tests/depcomp3.test: Quote literal dots and dollar characters in
1892 grep regexps. Always use `: >' rather than `touch' to create empty
1893 files. Explicitly declare phony targets as such in the created
1894 Makefile.am. Add a trailing `:' command.
1895 * tests/depcomp4.test: Quote literal dots and dollar characters in
1896 grep regexp. Explicitly declare phony targets as such in the
1897 created Makefile.am. Ensure verbose printing of captured makes'
1898 stoud/stderr. Add a trailing `:' command.
1899 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1900 in the script (just after inclusion of ./defs). Quote literal dots
1901 and dollar characters in grep regexps. Explicitly declare phony
1902 targets as such in the created Makefile.am. Add a trailing `:'
1904 * tests/depcomp6.test: Consistently use m4 quoting in the generated
1905 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
1906 statement required by OpenBSD's sh `set -e' more robust, and add
1907 explanatory comments to it.
1908 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
1910 Separate failing part of test `all.test'.
1911 * tests/all.test: Keep only (x)failing part of the test. Working
1912 checks moved out to ...
1913 * tests/all2.test: ... this new test.
1914 * tests/Makefile.am (TESTS): Updated.
1916 Modernize, improve and extend tests `subobj*.test'.
1917 * tests/subobjname.test: Add trailing `:' command.
1918 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1919 Escape literal dots in grep regexps.
1920 * tests/subobj2.test: Add trailing `:' command. Do not use the
1921 unportable fgrep option `-e'.
1922 * tests/subobj3.test: Add trailing `:' command.
1923 (configure.in): Use proper m4 quoting, and avoid obsolescent
1925 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
1926 flag, with related changes
1927 * tests/subobj4.test: Likewise. Also, make grepping of
1928 `Makefile.in' stricter.
1929 * tests/subobj5.test: Add trailing `:' command. Move setting of
1930 `errexit' shell flag earlier in the script (just after inclusion
1932 (configure.in): Use the stub created by `./defs', rather than
1933 writing it from scratch, and avoid obsolescent constructs.
1934 * tests/subobj6.test: Add trailing `:' command. Move setting of
1935 `errexit' shell flag earlier in the script (just after inclusion
1936 of ./defs). Do not create useless dummy ac-init file `f'.
1937 * tests/subobj7.test: Do not create useless dummy ac-init file
1939 (configure.in): Use the stub created by `./defs', rather than
1940 writing it from scratch, and avoid obsolescent constructs.
1941 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1942 in the script (just after inclusion of ./defs). Fail the test if
1943 `make distcheck' fails. Ensure verbose printing of captured make
1944 stdout. Avoid useless fork by doing simple grep instead of using
1945 test -n "`COMMAND | grep ...`".
1946 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1947 (Makefile.am): Explicitly mark target "print" as phony.
1948 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
1949 trailing `:' command.
1950 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1952 Remove a couple of obsoleted tests.
1953 * tests/fpinstall.test: Removed.
1954 * tests/fpinst2.test: Likewise.
1955 * tests/Makefile.am (TESTS): Updated.
1957 Bootstrap: updated HACKING entry.
1958 * HACKING ("Working with git"): Explain how to override the
1959 autoconf and autom4te programs used by the bootstrap process.
1962 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1963 since we don't generate it. Correctly quote arguments of
1964 `eval' builtin. Fixed a botched error message. Removed an
1967 Bootstrap: don't search perl in $PATH.
1968 * bootstrap: Do not explicitly search perl in $PATH anymore.
1969 ($PATH_SEPARATOR): Removed, it's no more needed.
1971 Bootstrap: let the user choose which autoconf to use.
1972 * bootstrap ($AUTOCONF): New variable, from the environment.
1973 ($AUTOM4TE): Likewise, for clarity.
1974 Use "$AUTOCONF" instead of calling "autoconf" directly.
1976 Minor improvements to tests ar*.test.
1977 * tests/ar.test: Add trailing `:' command.
1978 * tests/ar2.test: Likewise, and make grepping of generated
1979 Makefile.in stricter.
1981 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1983 Fix maintainer-check failure.
1984 * tests/cond5.test: Quote sleep argument, this isn't about
1985 time stamp differences.
1987 Sync auxiliary files from upstream.
1988 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1991 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1993 Work around a nasty bug (segfault) of Solaris make.
1994 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1995 from $list, to avoid triggering a nasty bug (potential segfault)
1998 2010-08-06 Peter Rosin <peda@lysator.liu.se>
2000 Make cond5.test more robust on MSYS.
2001 * tests/cond5.test: Add delay before the first kill attempt to
2002 cater for problems with MSYS bash.
2004 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2006 Add example git work flow; discuss merge --log in HACKING.
2008 Suggestion by Stefano Lattarini.
2010 Add more hints for debugging make rules.
2011 * doc/automake.texi (Debugging Make Rules): Show command to find
2012 out expanded values of variables; point to makefile debugger.
2014 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
2016 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
2018 Fix typo in the manual.
2019 * doc/automake.texi (Scripts): Fix typo.
2021 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2023 Document current policy for development with git.
2024 * HACKING (Working with git): Overhaul.
2025 Prompted by suggestion from Stefano Lattarini.
2027 Fix AM_COND_IF for gone-invalid condition shell expression.
2028 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
2029 variable, rather than re-evaluating the shell expression for
2031 * tests/cond40.test: Extend test.
2034 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
2035 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
2036 to avoid shell syntax error if the m4 expansion is empty.
2037 * tests/cond40.test: Enhance test.
2039 Coverage: bogus option to AM_INIT_AUTOMAKE.
2040 * tests/init2.test: New test.
2041 * tests/Makefile.am: Update.
2043 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2045 Modernize and improve test scripts `subdir*.test'.
2046 * tests/subdir.test: Enable `errexit' shell flag, and related
2047 changes. Use the `configure.in' stub created by `./defs',
2048 rather than writing one from scratch.
2049 * tests/subdir2.test: Likewise.
2050 * tests/subdir4.test: Likewise.
2051 * tests/subdir3.test: Enable `errexit' shell flag, and related
2052 changes. Do not create useless dummy source files.
2053 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
2054 and in subdirs) stricter. Some minor changes to keep it more
2055 in sync with the related test `subdir8.test'.
2056 * tests/subdir8.test: Likewise (but with the related test being
2057 `subdir5.test' here).
2058 * tests/subdir6.test: Cosmetic change in spacing.
2059 * tests/subdir9.test: Define and use new variable `$distdir'. Add
2060 trailing `:' command.
2061 * tests/subdir10.test: Cosmetic consistency-related change.
2062 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
2063 (configure.in): Use stub created by `./defs', rather than writing
2064 it from scratch. Do not use obsoleted and/or deprecated forms of
2065 autoconf/automake macros.
2067 Modernize and improve test scripts `dist*.test'.
2068 * tests/distcleancheck.test: Do not add useless `-e' option to
2069 a $MAKE call. Extend test by grepping stderr of make.
2070 * tests/distcom2.test: Do not run the same test script on the
2071 Makefile.in twice, but save its output in an intermediate file
2072 instead. Make grepping of DIST_COMMON definition stricter.
2073 Display the content of more files, to ease debugging. Add a
2074 trailing `:' command. Improved heading comments w.r.t. sister
2076 * tests/distcom6.test: Likewise, and avoid to uselessly run
2078 * tests/distcom3.test: Ensure verbose printing of captured stdout
2079 and stderr. Make grepping of captured stderr stricter. Also,
2080 add trailing `:' command.
2081 * tests/distcom4.test: Declare the target `test' in the generated
2082 Makefile.am as `.PHONY'. Display content of more files, to ease
2083 debugging. Add trailing `:' command.
2084 * tests/distcom5.test: Likewise. Also, factor out common sed
2085 script in subroutine `extract_distcommon'.
2086 * tests/distcom7.test: Prefer cat + here-doc over echo to write
2087 test Makefile.am files. Add a trailing `:' command.
2088 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
2089 call to `set -e' earlier. Be stricter and more verbose in the
2090 checking of the generated tarball.
2091 (configure.in): Use the stub provided by ./defs, instead of
2092 writing it from scratch. Avoid obsoleted constructs. Remove
2093 useless call to `AM_PROG_CC_C_O'.
2094 * tests/distdir.test: Various minor improvements/normalizations.
2095 * tests/distlinks.test: Likewise.
2097 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
2099 Improve and extend test cond5.test.
2100 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
2101 the background automake process, but poll it every 10 seconds for
2102 at most 30 times (this makes the test both faster on good machines,
2103 and more resilient to spurious timeout-due failures when in low
2104 priority or on heavily-loaded systems).
2105 Check also that automake writes the expected error messages on the
2107 Enable `errexit' flag, and related changes.
2108 Rely on the `configure.in' stub created by `./defs', rather than
2109 writing one from scratch.
2111 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2113 Update program --help output to match current GCS.
2114 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
2115 is not defined, for compatibility to Autoconf < 2.64.
2116 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
2118 (sc_diff_automake_in_automake): Update number of diff lines for
2119 additional substitutions.
2120 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
2121 home page and GNU general help page.
2122 * automake.in (usage): Likewise.
2123 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
2125 (Introduction, Creating amhello, amhello Explained, Options):
2127 * lib/Automake/Makefile.am (do_subst): Substitute
2129 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
2130 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
2133 Clean up @var handling in the manual.
2134 * doc/automake.texi: Throughout the manual, lower-case @var
2135 names, replace a few one-character names.
2137 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
2139 Fix typo-related bug in test script silent5.test.
2140 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
2143 Tests: remove useless repetitions of `foreign' automake option.
2144 * tests/multlib.test (configure.in): Remove useless use of
2145 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
2146 already in $AUTOMAKE by default, so no point in repeating it).
2147 * tests/subobj10.test: Likewise.
2148 * tests/subobj9.test: Likewise.
2149 * tests/lex3.test (Makefile.am): Similarly, remove useless use
2150 of `foreign' option in AUTOMAKE_OPTIONS.
2151 * tests/lex5.test: Likewise.
2152 * tests/pr279.test: Likewise.
2153 * tests/pr279-2.test: Likewise.
2154 * tests/specflg3.test: Likewise.
2155 * tests/target-cflags.test: Likewise.
2157 Drop useless requirement "gzip" in lex5.test.
2158 * tests/lex5.test ($required): Do not list "gzip", as it's
2161 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
2163 Fix bugs in test script silent5.test.
2164 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
2165 instead of egrep) that could have led to false negatives.
2167 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2169 Add a test checking that distributed broken symlinks cause
2170 `make dist' to fail.
2171 * tests/distlinksbrk.test: New test.
2172 * tests/Makefile.am (TESTS): Updated.
2174 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2176 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
2177 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
2178 and AM_LFLAGS, LFLAGS in the order in which they now appear in
2181 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
2182 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
2183 please maintainer-check. Ensure generated C files contain a
2184 declaration, to please compilers.
2186 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2188 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
2189 $(FLAGS) precedence.
2190 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
2191 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
2192 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
2193 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
2196 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
2197 $(AM_FLAGS) and $(FLAGS) precedence.
2198 * tests/lflags.test: New test, check that user $(LFLAGS) takes
2199 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
2201 * tests/lflags2.test: Likewise.
2202 * tests/yflags.test: New test, check that user $(YFLAGS) takes
2203 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
2205 * tests/yflags2.test: Likewise.
2206 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
2208 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2210 Modernize, improve and extend tests `suffix*.test'.
2211 * tests/suffix3.test: Enable `errexit' shell flag, and related
2213 * tests/suffix4.test: Likewise.
2214 * tests/suffix6.test: Likewise, and do not create a useless dummy
2216 * tests/suffix7.test: Likewise.
2217 * tests/suffix5.test: Enable `errexit' shell flag, and related
2218 changes. Make grepping of Makefile.in slightly stricter.
2219 * tests/suffix.test: Enable `errexit' shell flag, and related
2220 changes. Also, do not redirect grep output to /dev/null, as this
2221 might unmotivatedly hide useful information.
2222 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
2223 in the script (just after inclusion of ./defs). Use a more
2224 idiomatic way to count text occurrences in Makefile.in with
2225 grep. Do not create useless dummy source files.
2226 * tests/suffix10.test: Ensure verbose printing of captured make
2227 stdout. Minor cosmetic changes.
2228 * tests/suffix8.test: Likewise. Also, drop useless call to the
2229 env(1) utility, and make grepping of make output stricter by using
2230 $FGREP rather than plain grep.
2231 * tests/suffix11.test: Likewise.
2232 * tests/suffix12.test: Likewise.
2233 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
2234 the `configure.in' stub. Cosmetic changes.
2235 * tests/suffix13.test: Cosmetic spacing change.
2237 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
2239 Add useful comment in test script ext.test.
2240 * tests/ext.test: Add a comment explaining why an apparently
2241 useless `if' statement is indeed required.
2243 Add useful comment in test script obsolete.test.
2244 * tests/obsolete.test: Add a comment explaining why we need
2245 an indirection in adding $AUTOUPDATE to $required.
2247 Normalize whitespaces in 'tests/Makefile.am'.
2248 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
2249 definition of this variable.
2251 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2253 Remove a couple of unneeded conditionals from tests.
2254 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
2255 for the FOOTEST conditional.
2257 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2259 Modernize, improve and/or fix various test scripts.
2260 * tests/symlink3.test: Deleted, separated into two new, more
2262 * tests/forcemiss.test: ... this one ...
2263 * tests/forcemiss2.test: ... and this one.
2264 * tests/symlink2.test: Enable `errexit' shell flag, make test
2265 stricter, and skip it if symlink creation is not supported.
2266 * tests/postproc.test: Enable `errexit' shell flag, related
2267 changes, and a couple of unrelated cosmetic changes.
2268 * tests/recurs.test: Use the `configure.in' stub created by
2269 `./defs', rather than writing one from scratch. Make grepping
2270 of Automake stderr slightly stricter.
2271 * tests/substtarg.test: Likewise.
2272 * tests/strip.test: Likewise, and move the call to `set -e'
2273 earlier (just after the inclusion of `./defs'). Also, make sure
2274 that the script installed by `make install-script' is equal to
2276 * tests/substref.test: Use the `configure.in' stub created by
2277 `./defs', rather than writing one from scratch. Move the call
2278 to `set -e' earlier (just after the inclusion of `./defs').
2279 Avoid to explicitly export CC for configure (that's already done
2280 in ./defs). Avoid potential problems with unpredictable make
2281 output. Finally, make grepping of Makefile.in stricter.
2282 * tests/substre2.test: Ensure verbose printing of the captured
2283 make's output, and make its grepping slightly stricter.
2284 * tests/cygwin32.test: Enable `errexit' shell flag, and related
2285 changes. Also, do not create useless dummy source/data files.
2286 * tests/scripts.test: Likewise.
2287 * tests/recurs2.test: Likewise. Also, use the `configure.in'
2288 stub created by `./defs'.
2289 * tests/Makefile.am (TESTS): Updated.
2291 Modernize, improve and/or fix tests `pluseq*.test.
2292 * tests/pluseq5.test: Append to configure.in using cat with an
2293 here-doc, not using echo.
2294 * tests/pluseq10.test: Make sure that the captured output of
2295 `make' command is always displayed. Where possible, use $FGREP
2296 instead of grep (this change makes some checks slightly stricter).
2297 * tests/pluseq8.test: Enable `errexit' shell flag, with related
2299 * tests/pluseq.test: Likewise. Also, do not create useless dummy
2300 data files, and use better m4 quoting in generated configure.in.
2301 * tests/pluseq2.test: Likewise. Also, append to configure.in
2302 using cat with an here-doc, not using echo.
2303 * tests/pluseq3.test: Likewise.
2304 * tests/pluseq4.test: Likewise.
2305 * tests/pluseq6.test: Likewise.
2306 * tests/pluseq7.test: Do not create useless dummy source file.
2307 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
2308 Automake stderr. Some unrelated cosmetic changes.
2310 Testsuite: ensure verbose printing of captured stderr.
2311 * tests/acloca18.test: Print captured stderr before either failing
2312 or grepping it. Be sure to send captured stderr to stderr, not to
2314 * tests/ansi3b.test: Likewise.
2315 * tests/cond39.test: Likewise.
2316 * tests/configure.test: Likewise.
2317 * tests/missing3.test: Likewise.
2318 * tests/missing6.test: Likewise.
2319 * tests/output-order.test: Likewise.
2320 * tests/pr300-ltlib.test: Likewise.
2321 * tests/python6.test: Likewise.
2322 * tests/python7.test: Likewise.
2323 * tests/python8.test: Likewise.
2324 * tests/python9.test: Likewise.
2325 * tests/subobj.test: Likewise.
2326 * tests/vars3.test: Likewise.
2327 * tests/missing4.test: Likewise, and fix a call to grep not to use
2329 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
2330 created by `./defs', rather than writing one from scratch.
2332 Enable `errexit' shell flag in various tests.
2333 * tests/backsl.test: Enable the `errexit' shell flag, and
2335 * tests/backsl2.test: Likewise.
2336 * tests/block.test: Likewise.
2337 * tests/canon2.test: Likewise.
2338 * tests/canon4.test: Likewise.
2339 * tests/comment2.test: Likewise.
2340 * tests/condlib.test: Likewise.
2341 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
2342 * tests/canon3.test: Likewise. Also, avoid to create an useless
2344 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
2345 related changes. Do some cosmetic improvements in the generated
2346 `configure.in' file.
2347 * tests/cond4.test: Likewise.
2348 * tests/cond14.test: Likewise.
2349 * tests/condinc.test: Likewise.
2350 * tests/cond7.test: Likewise. Also, remove useless setting of
2351 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
2352 * tests/ansi.test: Enable the `errexit' shell flag, and related
2353 changes. Extended, esp. by running autoconf, ./configure and
2354 make, and by looking into the distdir.
2356 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2357 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2359 Extend tests/README w.r.t. trailing `:' in test scripts.
2360 * tests/README (section "Writing test cases" subsection "Do"):
2361 Explain why apparently redundant trailing `:' and `Exit 0' in
2362 test scripts can indeed be useful.
2364 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2366 Improve determination of PATH separator in bootstrap script.
2367 * bootstrap: Determine what the PATH separator is the same way
2370 Minor improvements in bootstrap script.
2371 * bootstrap: Consistently use two-spaces indentation. Cosmetic
2372 improvement to comments.
2373 ($me): New variable, containing program basename.
2374 Prepend it to all error messages.
2376 Testsuite now works with BSD make in parallel mode.
2377 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
2378 which are exported by BSD make when run in parallel mode, and
2379 which can confuse make processes spawned by our testsuite.
2380 This change fixes a lot of spurious failure when the testsuite
2381 is run with BSD make in parallel mode.
2383 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2385 Modernize, improve and/or fix various test scripts.
2386 * tests/sanity.test: Rely on the `configure.in' stub created by
2387 `./defs', rather than writing one from scratch.
2388 * tests/depend2.test: Likewise. Also, call `set -e' just after
2389 the inclusion of `./defs', instead that later in the script.
2390 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
2391 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
2392 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
2393 Make auxiliary rules in the generated Makefile more silent.
2394 These changes make some checks slightly stricter.
2395 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
2396 * tests/gettext2.test: Place final `:' at the end of the script,
2397 rather than in the middle.
2398 * tests/exeext.test: Call `set -e' just after the inclusion of
2399 `./defs', instead that later in the script.
2400 * tests/extra5.test: Likewise.
2401 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
2402 plain `mv', just to be sure.
2403 * tests/depcomp.test: Enable `errexit' shell flag, with related
2404 changes. Also, modernize the generated configure.in.
2405 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
2406 stub created by `./defs', rather than writing one from scratch.
2407 * tests/cond10.test: Likewise.
2408 * tests/depcomp2.test: Likewise.
2409 * tests/depend3.test: Likewise.
2410 * tests/distcom7.test: Likewise.
2411 * tests/fortdep.test: Likewise. Also, remove definition of
2412 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
2413 since that flag is already provided by $AUTOMAKE.
2414 * tests/mdate.test: Made stricter, by checking that Automake
2415 actually failed, and by making a stricter grep on the error
2416 message. Also, set shell `errexit flag'.
2417 * tests/python2.test: Improved verbose messages.
2419 Make test `ammissing.test' stricter.
2420 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
2421 Enable `errexit' shell flag.
2423 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2425 Enable `errexit' shell flag in some test scripts.
2426 * tests/subcond.test: Enabled `errexit' shell flag, and related
2428 * tests/subst.test: Likewise.
2429 * tests/vars.test: Likewise.
2430 * tests/version4.test: Likewise.
2431 * tests/vpath.test: Likewise.
2432 * tests/vtexi2.test: Likewise.
2433 * tests/werror.test: Likewise.
2434 * tests/whoami.test: Likewise.
2435 * tests/tags.test: Likewise, and avoid to crate an useless dummy
2437 * tests/acsilent.test: Likewise, and don't use an easily-avoided
2438 command substitution.
2439 * tests/unused.test: Likewise, and don't use an easily-avoided
2440 command substitution.
2441 * tests/version.test: Likewise, and avoid deprecated constructs
2442 in the generated `configure.in'.
2443 * tests/version2.test: Likewise, and avoid deprecated constructs
2444 in the generated `configure.in'.
2446 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2448 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
2449 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
2450 the verbose log contains all output.
2451 * tests/mdate.test: Likewise.
2452 Prompted by Stefano Lattarini's change to discover.test.
2454 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2456 Improve tests link*.test (enable `errexit' shell flag).
2457 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
2458 changes. Also, do not create useless source files.
2459 * tests/link_dist.test: Likewise.
2460 * tests/link_f90_only.test: Likewise.
2461 * tests/link_f_only.test: Likewise.
2462 * tests/link_fc.test: Likewise.
2463 * tests/link_fccxx.test: Likewise.
2464 * tests/link_fcxx.test: Likewise.
2466 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2468 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
2469 * tests/ext.test: Inside shell compound command, use
2470 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
2471 fix failure with OpenBSD sh introduced with last patch.
2472 Actually ensure that a rule for .EXT.o is created for each
2473 known extension EXT.
2475 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2477 Enable `errexit' shell flag in some test scripts.
2478 * tests/dash.test: Enable `errexit' shell flag, and related
2480 * tests/defun.test: Likewise.
2481 * tests/defun2.test: Likewise.
2482 * tests/dejagnu.test: Likewise.
2483 * tests/double.test: Likewise.
2484 * tests/distcom2.test: Likewise.
2485 * tests/empty2.test: Likewise.
2486 * tests/empty3.test: Likewise.
2487 * tests/empty4.test: Likewise.
2488 * tests/exdir.test: Likewise.
2489 * tests/ext.test: Likewise.
2490 * tests/extra.test: Likewise.
2491 * tests/extra2.test: Likewise.
2492 * tests/extra3.test: Likewise.
2493 * tests/extra4.test: Likewise.
2494 * tests/flibs.test: Likewise.
2495 * tests/fnoc.test: Likewise.
2496 * tests/fo.test: Likewise.
2497 * tests/instexec.test: Likewise.
2498 * tests/ltdeps.test: Likewise.
2499 * tests/nodep.test: Likewise.
2500 * tests/nodepcomp.test: Likewise.
2501 * tests/f90only.test: Likewise, and remove botched/obsoleted
2502 comments and unnecessary commands.
2503 * tests/fonly.test: Likewise, and remove botched/obsoleted
2504 comments and unnecessary commands.
2505 * tests/discover.test: Likewise, and made stricter.
2507 Enable `errexit' shell flag in all tests cxx*.test.
2508 * tests/cxx.test: Enabled `errexit' shell flag, and related
2510 * tests/cxxansi.test: Likewise.
2511 * tests/cxxcpp.test: Likewise.
2512 * tests/cxxlibobj.test: Likewise.
2513 * tests/cxxlink.test: Likewise.
2514 * tests/cxxo.test: Likewise.
2516 Enable `errexit' shell flag in various tests.
2517 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
2519 * tests/acoutpt.test: Likewise.
2520 * tests/acoutqnl.test: Likewise.
2521 * tests/amassign.test: Likewise.
2522 * tests/ansi2.test: Likewise.
2523 * tests/ansi4.test: Likewise.
2524 * tests/badprog.test: Likewise.
2525 * tests/checkall.test: Likewise.
2526 * tests/clean.test: Likewise.
2527 * tests/colneq2.test: Likewise.
2528 * tests/colon.test: Likewise.
2529 * tests/colon5.test: Likewise.
2530 * tests/colon6.test: Likewise.
2531 * tests/comment.test: Likewise.
2532 * tests/compile_f90_c_cxx.test: Likewise.
2533 * tests/compile_f_c_cxx.test: Likewise.
2534 * tests/cond3.test: Likewise.
2535 * tests/cond6.test: Likewise.
2536 * tests/cond13.test: Likewise.
2537 * tests/conf2.test: Likewise.
2538 * tests/confvar.test: Likewise.
2539 * tests/confvar2.test: Likewise.
2540 * tests/cond8.test: Likewise, plus a cosmetic change.
2541 * tests/confh4.test: Likewise. Also, add in the heading comments
2542 an excerpt from the original bug report which motivated the
2543 creation of this test, to make its purpose clearer.
2545 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2547 Rewrite manual to be gender-neutral.
2548 * doc/automake.texi (GNU Build System)
2549 (Standard Directory Variables, General Operation, CVS)
2550 (Hard-Coded Install Paths, Dependencies As Side Effects):
2551 Rewrite text to not contain gender-specific pronouns when
2552 speaking about developers or users, either by avoiding pronouns
2553 or by addressing them as `you' instead.
2555 Report by Christina Gratorp.
2559 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2561 Make tests on user extensibility of silent-rules mode stricter.
2562 * tests/silent6.test: Made stricter w.r.t. the grepping of the
2563 output produced by `make'.
2564 * tests/silent7.test: Likewise.
2566 Tests on silent-mode for C/Libtool made stricter.
2567 * tests/silent.test: Made stricter w.r.t. the grepping of the
2568 output produced by `make'.
2569 * tests/silent2.test: Likewise.
2570 * tests/silent4.test: Likewise.
2571 * tests/silent9.test: Likewise.
2572 * tests/silent3.test: Likewise, and add a final `make distclean'
2573 command to keep it better in sync with tests/silent{4,9}.test.
2575 Improved test silent5.test.
2576 * tests/silent5.test: Remove by hand all generated C files after
2577 non-verbose builds, to ensure the following builds are clean.
2578 Try to clean and rebuild with the same verbosity and without
2579 removing generated sources in between, to check that this does
2580 not trigger a different set of rules. Make grepping of make's
2581 output stricter. Improved/added some comments.
2583 New tests for Automake silent-mode with Fortran.
2584 * tests/silentf77.test: New test.
2585 * tests/silentf90.test: Likewise.
2586 * tests/Makefile.am (TESTS): Updated accordingly.
2588 New test `silentcxx.test' (Automake silent-mode with C++).
2589 * tests/silentcxx.test: New test.
2590 * tests/Makefile.am (TESTS): Updated accordingly.
2592 New test `silentyacc.test' (Automake silent-mode with Yacc).
2593 * tests/silentyacc.test: New test.
2594 * tests/Makefile.am (TESTS): Updated accordingly.
2596 New test `silentlex.test' (Automake silent-mode with Lex).
2597 * tests/silentlex.test: New test.
2598 * tests/Makefile.am (TESTS): Updated accordingly.
2600 Relax tests on silent-rules to cater to overly verbose makes.
2601 * tests/silent.test: When testing silent builds, don't fail if
2602 make's output simply contains the `mv' substring, but only if
2603 it contains the `mv ' substring (note the trailing space).
2604 * tests/silent2.test: Likewise.
2605 * tests/silent3.test: Likewise.
2606 * tests/silent4.test: Likewise.
2607 * tests/silent5.test: Likewise.
2608 * tests/silent9.test: Likewise.
2610 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2612 Fix silent-rules output for disabled dependency tracking.
2613 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2614 expansion code to also work in the case where %AMDEP% expands
2615 to FALSE at config.status time, using new substitution string
2617 * automake.in (verbose_nodep_flag): New function, appending
2618 `@am__nodep@' to the verbose-variable name.
2619 (handle_languages): If dependencies are not disabled, use it to
2620 set %VERBOSE-NODEP%.
2621 * m4/depend.m4: Substitute am__nodep as '_no', so the second
2622 verbose-variable will always expand to an empty string, if
2623 dependencies are enabled.
2624 * tests/silent5.test: Also test --disable-dependency-tracking;
2625 also test per-target flags for non-C language files.
2626 * tests/silent9.test: New test, like silent4.test but disable
2627 dependency tracking.
2628 * tests/Makefile.am: Adjust.
2629 * NEWS, THANKS: Update.
2630 Report by Dmitry V. Levin <ldv@altlinux.org>.
2632 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2634 Extend test on `nostdinc' automake option.
2635 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
2636 unrelated minor changes. Make the grepping of the generated
2637 Makefile.in slightly stricter. Generate and run configure, so that
2638 the generated Makefile can be grepped too.
2640 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2642 Make gnupload portable to EBCDIC hosts.
2643 * lib/gnupload: Use literal newline as argument for 'tr' rather
2644 than \015, for EBCDIC hosts. Also, avoid unportable nested
2645 double-quotes and backquotes.
2647 Report from Eric Blake and Steve Goetze via gnulib.
2649 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2651 Fix Autoconf version required by Automake's configure.
2652 Automake configure script used to tell that automake required
2653 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2654 and if that was not found, it gave an error saying that Automake
2655 required configure 2.61a-341 or later. This change should
2656 eliminate such inconsistencies.
2657 * configure.ac ($required_autoconf_version): New variable.
2660 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2662 Fix unportable sed script in maintainer-check test.
2663 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2664 not contain semicolon after 'b' or brace commands, for NetBSD.
2666 Wildcards are not portable to NetBSD make.
2667 * doc/automake.texi (Wildcards): Document portability issue.
2668 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2671 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2673 Make test for configure.in vs. configure.ac stricter.
2674 * tests/configure.test: Use a configure.in file that provokes
2675 an automake error, to ensure configure.ac is preferred.
2677 Avoid possible false negatives in dejagnu7.test.
2678 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
2679 unportable use of fgrep option `-e'.
2681 Fix conflnk3.test to work with Solaris/Heirloom Sh.
2682 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
2683 instead of respectively `test -e FILE' and `test ! -e FILE',
2684 since Solaris Sh doesn't grok the latter. Do not SKIP the test
2685 if the shell doesn't support `test -e'.
2687 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2690 * doc/automake.texi (Simple Tests using parallel-tests): Add
2691 missing closing parenthesis.
2693 Fix leftover call to removed function macros_dump.
2694 * automake.in (read_main_am_file): Call variables_dump, not
2695 macros_dump. Print actual error before list of variables.
2697 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
2699 Minor improvements in comments of test `silent3.test'.
2700 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
2703 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2705 testsuite: ensure verbose printing of captured output.
2706 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
2707 tests/fort2.test, tests/help.test, tests/missing3.test,
2708 tests/missing6.test: Print captured stdout or stderr before
2711 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2713 Make test badopt.test stricter (by enabling `set -e').
2714 * tests/badopt.test: Add call to `set -e'. Due to this change,
2715 an unexpected failure in the call to `$ACLOCAL' (whose outcome
2716 was previously unchecked) would cause the whole test to fail.
2717 Also, bumped the copyright years.
2719 Make test for configure.in vs. configure.ac stricter.
2720 * tests/configure.test: Use a configure.in file that provokes
2721 an automake error, to ensure configure.ac is preferred.
2723 Use `set -e' in confsub.test (avoids possible false negatives).
2724 * tests/confsub.test: Enable shell `errexit' flag, and related
2725 changes (this helps avoiding some possible minor false negatives).
2726 Also, bumped copyright years.
2728 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2730 Fix -Werror handling for presence of configure.in and configure.ac.
2731 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2732 $configure_ac at the global level, before command-line arguments
2734 (require_variables): Initialize it here.
2735 * tests/configure.test: New test.
2736 * tests/Makefile.am: Update.
2737 Report by Stefano Lattarini.
2739 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2741 Avoid possible false negatives in confh5.test.
2742 * tests/confh5.test: Enable shell `errexit' flag, and bumped
2743 copyright years. Due to this change, any unexpected failure
2744 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2745 a failure in grepping expected text in output files should now
2746 cause the whole test to fail.
2748 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2750 Fixed typo in POD documentation of Automake::Channels.
2751 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2752 @<...> was used instead of C<...>.
2754 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2756 Refactor tests on Automake TESTS color output.
2757 * tests/color.test: Tests using the expect program moved out to...
2758 * tests/color2.test: ... this new file.
2759 * tests/Makefile.am (TESTS): Extended accordingly.
2761 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2763 Fix typos in comments in test confh5.test
2764 * tests/confh5.test: Fix a couple of typos in comments.
2766 Avoid possible false negatives in canon-name.test.
2767 * tests/canon-name.test: Enable shell `errexit' flag. Improve
2770 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2772 Fix per-Makefile.am setting of -Werror.
2773 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2774 Makefile.am would carry over to other Makefile.am files
2775 treated afterwards by the same thread, causing inconsistent
2776 and unstable exit status values.
2777 * lib/Automake/Channels.pm (dup_channel_setup)
2778 (drop_channel_setup): Save and restore the setting of
2779 $warnings_are_errors.
2780 * tests/werror3.test: New test.
2781 * tests/Makefile.am: Adjust.
2784 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2786 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2787 * tests/confh5.test: In the generated Makefile.am: do not use
2788 `test ! -e FILE' to check for the non-existence of a file, since
2789 that is not supported by Solaris/Heirloom Sh.
2791 Make test `aclocal3.test' stricter.
2792 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
2793 succeds unexpectedly.
2795 Add tests checking that symlinks are resolved by `make dist'.
2796 * tests/distlinks.test: New test.
2797 * tests/Makefile.am (TESTS): Updated accordingly.
2798 Suggested by observations from Ralf Wildenhues.
2800 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2802 Use -9 for maximum xz compression with dist-xz.
2803 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2804 * NEWS, THANKS: Update.
2805 Report by Pavel Sanda.
2807 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
2809 Avoid an unportable use of `$status' shell variable.
2810 * Makefile.am (path-check): Don't use the `$status' shell variable
2811 in the target's rules, as it's special in Zsh (equivalent to `$?',
2814 Avoid another use of `chmod -R'.
2815 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2816 $(distdir) before removing it (as Solaris `chmod -R' touches
2817 symlink targets). Instead, use the cleanup strategy used in
2820 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2822 Remove uses of @acronym and @sc.
2823 * doc/automake.texi (Public Macros, Limitations on File Names):
2824 Remove all usage of @acronym and @sc in the manual.
2825 Suggested by Karl Berry.
2827 2010-03-13 Karl Berry <karl@freefriends.org>
2829 GNU hello uses fdl.texi, not gpl.texi.
2830 * doc/automake.texi (Texinfo): Adjust example to upstream
2833 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2835 Formatting cleanups in macro comments.
2836 * automake.in, lib/Automake/Channels.pm,
2837 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2838 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2839 m4/options.m4, m4/substnot.m4: Fix macro comment format.
2841 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2842 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2844 Avoid generation of `tests/defs-p' file.
2845 * tests/defs.in: In the generated `configure.in' snippet: call
2846 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2847 variable `parallel_tests' is set to `yes'.
2848 * tests/Makefile.am (defs-p): Target removed.
2849 (check_SCRIPTS): Removed `defs-p'.
2850 (clean-local-check): Do not unlink `defs-p' anymore.
2851 ($(parallel_tests)): Transformation rules for the test scripts
2853 * tests/gen-parallel-tests: Selection rules for the test
2855 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2856 then include `./defs' (rather than simply including `./defs-p').
2857 * tests/parallel-tests2.test: Likewise.
2858 * tests/parallel-tests3.test: Likewise.
2859 * tests/parallel-tests4.test: Likewise.
2860 * tests/parallel-tests5.test: Likewise.
2861 * tests/parallel-tests6.test: Likewise.
2862 * tests/parallel-tests7.test: Likewise.
2863 * tests/parallel-tests8.test: Likewise.
2864 * tests/parallel-tests9.test: Likewise.
2865 * tests/parallel-tests10.test: Likewise.
2866 * tests/README (Section "Writing Test Cases" subsection "Do"):
2867 Adjusted the parts referring to tests checking `parallel-tests'
2868 behaviour. Some other minor related improvements.
2869 * tests/.gitignore (defs-p): Removed.
2871 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2873 Remove redundant unset of variable TESTS from some test scripts.
2874 * tests/color.test: Do not unset the `TESTS' variable, as it's
2875 already unset in the `defs' file.
2876 * tests/check5.test: Likewise.
2877 * tests/check8.test: Likewise.
2878 * tests/check9.test: Likewise.
2879 * tests/check10.test: Likewise.
2880 * tests/check11.test: Likewise.
2881 * tests/parallel-tests.test: Likewise.
2882 * tests/parallel-tests3.test: Likewise.
2883 * tests/parallel-tests4.test: Likewise.
2884 * tests/parallel-tests5.test: Likewise.
2885 * tests/parallel-tests6.test: Likewise.
2886 * tests/parallel-tests7.test: Likewise.
2888 2010-02-22 Karl Berry <karl@gnu.org>
2890 Improve help message of mdate-sh.
2891 * mdate-sh: mention actual output format in help message.
2893 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2895 Deprecate dist-lzma in favor of dist-xz.
2896 * doc/automake.texi (The Types of Distributions, Options):
2897 Adjust text to reflect renaming of lzma to xz.
2899 Missing deprecation noted by Antonio Diaz Diaz.
2901 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2903 Add tests about support of wildcards in EXTRA_DIST.
2904 * tests/extra10.test: New test, check basic support of wildcards
2906 * tests/extra11.test: New test, check more complex usage of
2907 wildcards in EXTRA_DIST.
2908 * tests/extra12.test: New test, check usage of wildcards in
2909 EXTRA_DIST when $builddir != $srcdir.
2910 * tests/Makefile.am (TESTS): Updated accordingly.
2911 Necessity of these new tests suggested by Braden McDaniel
2912 and Ralf Wildenhues.
2914 2010-02-08 Simon Josefsson <simon@josefsson.org>
2916 Fix copyright statement in gnupload script.
2917 * lib/gnupload: Fix copyright statement.
2919 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
2920 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2922 Fix exit status of signal handlers in shell scripts.
2923 The value of `$?' on entrance to signal handlers in shell scripts
2924 cannot be relied upon, so set the exit code explicitly to
2926 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2927 * lib/elisp-comp: Likewise.
2928 * lib/install-sh: Likewise.
2929 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
2930 * NEWS, THANKS: Update.
2931 Bug report, analysis, and initial patch by Dmitry V. Levin.
2933 2010-02-06 Karl Berry <karl@gnu.org>
2935 Improve gnupload usage text.
2936 * gnupload (usage): Shorten to make more likely to fit on a tty
2937 line. Mention CMD in the synopsis. With ..., plural is implied.
2939 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
2941 Fix some typos in the manual
2942 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2944 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2946 Slighty improve tests acoutbs.test and acoutbs2.test.
2947 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
2948 autoconf and configure work, that the file `zot' is created by
2949 configure, and that no file containing a backslash in its name is
2951 * tests/acoutbs.test: Likewise, plus updated copyright years.
2953 Fix test acoutbs2.test.
2954 * tests/acoutbs2: In the generated configure.in: add proper calls
2955 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2956 PACKAGE and VERSION. Add a call to aclocal before calling automake.
2957 Updated copyright years.
2958 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2960 Add forgotten test scripts to $(TESTS).
2961 * tests/Makefile.am (TESTS): Added test scripts present on the
2962 filesystem, which were erroneously left out from $(TESTS):
2963 acoutbs2.test, badopt.test, extra2.test.
2964 (XFAIL_TESTS): Added acoutbs2.test.
2966 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2968 Sync auxiliary files from upstream.
2969 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2972 Bump copyright years.
2973 * aclocal.in (write_aclocal, version): Bump copyright years.
2974 * automake.in (gen_copyright, version): Likewise.
2975 * doc/automake.texi: Likewise.
2978 * ChangeLog.09: New file, rotated from ...
2979 * ChangeLog: ... here.
2980 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2984 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
2986 Copying and distribution of this file, with or without modification, are
2987 permitted provided the copyright notice and this notice are preserved.