1 2011-10-01 Stefano Lattarini <stefano.lattarini@gmail.com>
3 parallel-tests: automake error our on invalid TEST_EXTENSIONS
4 This change fixes automake bug#9400.
5 * automake.in (handle_tests): Bail out if a suffix specified in
6 TEST_EXTENSIONS would produce an invalid `xxx_LOG_COMPILER'
7 variable or an invalid suffix rule. Before this change, automake
8 would have issued a confusing error messages (about invalid or
9 non-POSIX variables being defined), and in some situations would
10 have even produced a broken `Makefile.in' file.
11 ($TEST_EXTENSION_PATTERN): New helper variable.
12 * doc/automake.texi (Simple Tests using parallel-tests): Document
13 the limitations on TEST_EXTENSIONS explicitly.
15 * tests/test-extensions.test: New test.
16 * tests/Makefile.am (TESTS): Update.
18 2011-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
20 tests: fix tests on aclocal search path precedences
21 * tests/aclocal-path-precedence.test: Call `$ACLOCAL' with the
22 proper overridden system acdir.
24 2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
28 2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
30 docs: document planned precedence changes in aclocal search path
31 * doc/automake.texi (Macro Search Path): Explicitly state that the
32 lookup order for extra directories of `.m4' files will be changed
33 in the next major release.
36 2011-09-19 Paolo Bonzini <bonzini@gnu.org>
37 Stefano Lattarini <stefano.lattarini@gmail.com>
39 aclocal: handle ACLOCAL_PATH environment variable
40 * aclocal.in (parse_ACLOCAL_PATH): New function, parse ACLOCAL_PATH
41 as a colon-separated list of directories to be included in the
43 * doc/automake.texi (Macro Search Path): Document new behavior and
44 the precedence rules for various elements of the search path.
45 * tests/aclocal-path.test: New test.
46 * tests/aclocal-path-install.test: Likewise.
47 * tests/aclocal-path-install-serial.test: Likewise.
48 * tests/aclocal-path-precedence.test: Likewise.
49 * tests/aclocal-path-nonexistent.test: Likewise.
50 * tests/Makefile.am (TESTS): Add them.
52 * tests/distcheck-missing-m4.test: Extend by also checking
53 interactions with ACLOCAL_PATH.
54 * tests/distcheck-outdated-m4.test: Likewise, and fix a couple
55 of botched comments since we are at it.
57 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
59 tests: fix spurious failure in 'primary-prefix-valid-couples.test'
60 * tests/primary-prefix-valid-couples.test: After commit
61 v1.11-464-gc9dfc36, `java_JAVA' is not a valid prefix/primary
62 combination by default anymore: one has to explicitly define
63 $(javadir) to make it so. So just drop `java_JAVA' from our
64 Makefile.am Also, since we are at it, ...
65 (configure.in): ... remove AM_PROG_GCJ from here, as it's not
68 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
70 docs: deprecate JAVA primary
71 * doc/automake.texi (Java): Deprecate the JAVA primary, stating
72 that it will become obsolete in automake 1.12 and probably removed
73 altogether in automake 1.13. Reflect this in the section title,
74 by appending the string "(deprecated feature)".
75 (@menu, @detailmenu): Update.
76 (Java Support with gcj): The cross-referenced support for bytecode
77 compilation with the JAVA primary is rudimentary and deprecated.
78 State that explicitly.
80 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
82 docs: clearer distinction between `.java' with javac and with gcj
83 * doc/automake.texi (Java support): Rename this node ...
84 (Java support with gcj): ... to this, and change its title from
85 "Compiling Java sources" to "Compiling Java sources using gcj".
86 (@detailmenu, @menu, @cindex): Update and make more precise.
87 (Java): Change the title of this node from simply "Java" to
88 "Java bytecode compilation".
89 (@detailmenu, @menu, @cindex): Update and make more precise.
91 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
93 java: complain if java_JAVA is used but $(javadir) is undefined
94 Fixes automake bug#8461.
95 * automake.in (handle_java): Remove inappropriate "java" argument
96 from the calls to `&am_install_var' and `&am_primary_prefixes'.
97 * tests/instdir-java.test (Makefile.am): Define `$(javadir)'.
98 * tests/javadir-undefined.test: New test.
99 * tests/Makefile.am (TESTS): Add it.
102 2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
104 cosmetics: fix various typos and grammaros
106 * tests/py-compile-basic.test: Likewise.
107 * tests/py-compile-basedir.test: Fix botched wording in comments.
108 * tests/py-compile-option-terminate.test: Fix typo and incomplete
110 Suggestions by Peter Rosin.
112 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
114 coverage: test interactions of `nobase_' and `nodist_'
115 * tests/nobase-nodist.test: New test.
116 * tests/Makefile.am (TESTS): Add it.
118 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
120 java: fix various blunders in test 'java-mix.test'
121 * tests/java-mix.test: Add missing call to `set -e'. Fix inverted
122 semantics (`.java' files are expected *not* to be distributed by
123 default, not the other way round). Fix various typos in the name
124 of the `.java' files. Correct other minor blunders. Improve some
127 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
129 java: allow both JAVA and nobase_JAVA in the same Makefile.am
130 * automake.in (handle_java): Also strip `nobase_' from the given
132 * tests/java-clean.test: Update and extend.
133 * tests/java-compile-install.test: Likewise.
134 * tests/java-no-duplicate.test: Likewise.
135 * tests/java-sources.test: Likewise.
136 * tests/java-noinst.test: Likewise.
137 * tests/java-mix-dist-nodist.test: Renamed to ...
138 * tests/java-mix.test: ... this, and extended.
139 * tests/java-nobase.test: New test, still xfailing due to
141 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
143 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
145 java: allow both dist_JAVA and nodist_JAVA in the same Makefile.am
146 Fixes automake bug#8434.
147 * automake.in (handle_java): Strip `dist_' and `nodist_' from
148 the given prefix. Define a new internal Makefile variable
149 `am__java_sources'. Related adjustments.
150 * lib/am/java.am (JAVAC, JAVAROOT, CLASSPATH_ENV): Define only the
151 first time this am file is processed.
152 (class%DIR%.stamp): Stamp file renamed ...
153 (class%NDIR%.stamp): ... to this, so that the `dist_' and `nodist_'
154 prefixes are stripped from the name of the stampfile. Adjust
155 declaration of dependencies by using the new automake-generated
156 internal variable `$(am__java_sources)'. In the rule, use `$@'
157 as the name of the target, rather than hard-coding it.
158 * tests/java.test: Update and extend.
159 * tests/java-no-duplicate.test: New test.
160 * tests/java-mix-dist-nodist.test: Likewise.
161 * tests/java-compile-and-install.test: Likewise.
162 * tests/java-clean.test: Likewise.
163 * tests/java-sources.test: Likewise.
164 * tests/Makefile.am (TESTS): Update.
166 2011-09-11 Stefano Lattarini <stefano.lattarini@gmail.com>
168 tests: fix spurious failure on fast machines
169 * tests/aclocal-acdir.test: Avoid spurious failures due to caching
170 issues, by cleaning the autom4te cache between all the aclocal
171 invocations, and by always calling autoconf with the `--force'
174 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
176 aclocal: better URL reference in error message
177 * aclocal.in (scan_file): In the error message about underquoted
178 definitions, reference the automake page at `www.gnu.org', not
179 at `sources.redhat.com'.
181 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
183 coverage: distcheck-hook to catch missing/outdated *.m4 files
184 Related to automake bug#9037.
185 * tests/distcheck-missing-m4.test: New test.
186 * tests/distcheck-outdated-m4.test: Likewise.
187 * tests/distcheck-hook-m4.am: New data file, used by the new
189 * tests/Makefile.am (distcheck-m4-missing.log,
190 distcheck-m4-outdated.log): Depend on it.
191 (EXTRA_DIST): Distribute it.
192 (TESTS): Add the new tests.
194 2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com>
196 aclocal: more granularity in acdir overriding
197 Before this change, using the `--acdir' option caused aclocal to
198 redefine both the directory of automake-provided m4 macros and the
199 directory of third-party system-wide m4 macros. With this change,
200 we deprecate the `--acdir' aclocal option, and introduce two new
201 options `--automake-acdir' and `--system-acdir', to allow for more
203 * aclocal.in (@automake_includes, @system_includes,
204 @user_includes): Fix and extend comments.
206 (handle_acdir_option): New function.
207 (parse_arguments): Recognize new options `--system-acdir' and
208 `automake-acdir', and handle `--acdir' using the new function
209 above. Simplify logic by assuming that the directory of
210 third-party system-wide m4 files always exists.
211 * tests/aclocal.in: Update to use the new options, instead of
212 the deprecated. `--acdir'.
213 * m4/dirlist: Move ...
214 * m4/acdir/dirlist: ... here.
215 * m4/Makefile.am (EXTRA_DIST): Update.
216 (m4datadir): Rename ...
217 (automake_acdir): ... to this. Accordingly, ...
218 (dist_m4data_DATA): ... rename this ...
219 (dist_automake_ac_DATA): ... to this.
220 (system_acdir): New, directory.
221 (dist_system_ac_DATA): New, defined to an empty value; this will
222 ensure that the $(system_acdir) directory will be created by
224 * tests/aclocal.test: Remove check about the `--print-ac-dir'
225 option of aclocal, it has been moved into ...
226 * tests/aclocal-print-acdir.test: ... this new test, and quite
228 * tests/aclocal-acdir.test: New test.
229 * tests/Makefile.am (TESTS): Add the new tests.
230 * NEWS, bootstrap: Update.
231 * doc/automake.texi (aclocal Options, Macro Search Path): Update.
233 2011-09-05 Peter Rosin <peda@lysator.liu.se>
235 * tests/amhello-binpkg.test: Add missing $EXEEXT usage.
237 2011-09-04 Stefano Lattarini <stefano.lattarini@gmail.com>
239 fix: list test 'vala-vpath.test' in XFAIL_TESTS
240 * tests/Makefile.am (XFAIL_TESTS): Update.
242 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
244 tests: simplify wrapper for aclocal
245 * tests/aclocal.in: Remove use of $ACLOCAL_TESTSUITE_FLAGS and
246 extra `-I' flags; they are not really required, since the file
247 `m4/amversion.m4' is generated in the srcdir anyway.
248 * tests/acloca10.test: Remove use of $ACLOCAL_TESTSUITE_FLAGS.
249 * tests/acloca18.test: Likewise.
250 * tests/defs.in: Don't nullify $ACLOCAL_TESTSUITE_FLAGS, and do
253 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
255 coverage: vala support failing for VPATH from-scratch builds
256 * tests/vala-vpath.test: New test, xfailing.
257 * tests/Makefile.am (TESTS): Update.
259 From a report by Zbigniew Jędrzejewski-Szmek.
260 Related to automake bug#8753.
262 2011-09-01 Stefano Lattarini <stefano.lattarini@gmail.com>
264 docs: report few more automake parsing limitations
265 Partly motivated by automake bug#8360.
266 * doc/automake.texi (General Operation): Report few more automake
267 limitations w.r.t. parsing of unusual makefile constructs. Related
269 * tests/doc-parsing-buglets-colneq-subst.test: New test.
270 * tests/doc-parsing-buglets-tabs.test: Likewise.
271 * tests/Makefile.am (TESTS): Update.
273 2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com>
275 tests: list "forgotten" test script in TESTS
276 * tests/Makefile.am (TESTS): Also list ...
277 * tests/java-empty-classpath.test: ... this test. Since we are
278 at it, remove trailing whitespace from a couple of lines.
280 2011-08-25 Eric Blake <eblake@redhat.com>
282 ylwrap: fix unusual indentation whitespace
283 * lib/ylwrap: Convert tabs to spaces.
284 Reported by Karl Berry.
286 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
288 * THANKS (Daniel Richard G.): Update e-mail address.
290 2011-08-16 Daniel Richard G. <skunk@iskunk.org> (tiny change)
291 Stefano Lattarini <stefano.lattarini@gmail.com>
293 java: avoid compilation errors when CLASSPATH is empty
294 * lib/am/java.am (CLASSPATH_ENV): When redefining `$CLASSPATH',
295 do not append an empty component in case the previous value of
296 CLASSPATH is empty or unset.
297 * tests/java-empty-classpath.test: New test.
298 * tests/Makefile.am (TESTS): Update.
299 Fixes automake bug#9306.
301 2011-08-16 Stefano Lattarini <stefano.lattarini@gmail.com>
303 parallel-tests: no more spurious successes for FreeBSD make
304 Work around a bug of FreeBSD make bug that was causing the
305 automake-generated "check" target to complete with success
306 even if some tests failed; this happened only when FreeBSD
307 make was run in concurrent mode (as in, e.g., "make -j2
308 check"). The bug is not present in NetBSD make.
309 This change fixes automake bug#9245:
310 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
311 See also FreeBSD PR bin/159730:
312 <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>
313 * lib/am/check.am [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Use a
314 more "safe" (and apparently redundant) idiom to exit with error,
315 so that the non-zero exit status is picked up also by FreeBSD
316 make when it's running in concurrent mode.
318 * tests/check-concurrency-bug9245.test: New test.
319 * tests/Makefile.am (TESTS): Update.
321 2011-08-11 Stefano Lattarini <stefano.lattarini@gmail.com>
323 hacking: we now require autoconf 2.68
324 * HACKING ("Working in git"): Use autoconf and autom4te 2.68,
325 not 2.67, in the examples.
327 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
329 test defs: more environment cleanup
330 * tests/defs.in: Also unset variables AM_COLOR_TESTS and
331 AM_TESTS_ENVIRONMENT.
333 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
335 tests: fix spurious failure with Solaris make
336 * tests/distcheck-configure-flags-am.test: Avoid using `+=' too
337 liberally with AM_DISTCHECK_CONFIGURE_FLAGS, since the line breaks
338 so introduced, in conjunction with single quotes, might confuse
341 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
343 maintcheck: fix maintainer-check failures, both real and spurious
344 * tests/amhello-binpkg.test: Use "$MAKE", not bare "make".
345 * Makefile.am (sc_perl_local): Also allow perl special variable
346 `$~' to be localized. And be slightly laxer in the regexp, to
347 allow for usages like "local $_ = $foo;".
348 (sc_tests_overriding_macros_on_cmdline): Also allow for command
349 line overriding of the `DISABLE_HARD_ERRORS' make variable. Try
350 to avoid false positives for usages like "$MAKE || st=$?".
352 2011-08-03 Bruno Haible <bruno@clisp.org>
354 docs: how to use '-I' option in AM_CPPFLAGS for best VPATH support
355 * doc/automake.texi (Program Variables): Recommend -I options to
356 both the build directory and the source directory when needed.
358 2011-07-23 Stefano Lattarini <stefano.lattarini@gmail.com>
360 tests: relax a test on amhello examples to cater to Solaris tar
361 * tests/amhello-binpkg.test: When the tar implementation in use
362 is not GNU tar, relax the tests on tar output, to avoid spurious
363 failures. For example, "tar cvf ..." with GNU tar can output
364 lines like "./usr/bin/hello" on the standard output, while with
365 Solaris tar it can output lines like "a ./usr/bin/hello 8K" on
366 standard output, and with Heirloom tar it can output lines like
367 "a ./usr/bin/hello 15 tape blocks" on standard error.
369 2011-07-15 Benoit Sigoure <tsunanet@gmail.com>
371 docs: add references between the 2 sections on java support
372 * doc/automake.texi (Java Support, Java): Add cross-references.
374 2011-07-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
376 Sync auxiliary files from upstream.
377 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
378 lib/texinfo.tex: Sync from upstream.
380 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
382 tests: fix weakness in 'tests-environment-backcompat.test'
383 * tests/tests-environment-backcompat.test: Do not override the
384 content of xfailing test `baz.test' with a "weaker" version that
385 fails unconditionally: the test must fail only when the 'strict'
386 pragma is in use, in order not to reduce coverage.
388 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
390 docs, tests: synchronize examples on silent-rules from config.site
391 * doc/automake.texi (Automake silent-rules Option): Reference test
392 'silent-configsite.test' in comments.
394 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
396 tests: portability fixes in tests on amhello examples
397 * tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to
398 extract a gzip-compressed tarball, that's unportable to some
399 tar implementations; use the "gzip -dc fo.tar.gz | tar xf -"
401 * tests/amhello-cflags.test: Likewise.
402 * tests/amhello-cross-compile.test: Likewise.
403 Suggestion from Ralf Wildenhues.
405 2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
407 remake: add test ensuring that slower remakes don't hang
408 * tests/remake-subdir-long-time.test: New test.
409 * tests/Makefile.am (TESTS): Update.
410 Suggestion by Ralf Wildenhues.
412 2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
414 remake: fix outdated comment in configure.am
415 * lib/am/configure.am: Fix comment falsified by changes in
416 commit `v1.11-366-gbee9871'.
417 Suggestion by Ralf Wildenhues.
419 2011-07-01 Stefano Lattarini <stefano.lattarini@gmail.com>
421 docs, tests: synchronize examples from docs to tests
422 * tests/README (Writing test cases): Give suggestions on how to
423 keep test cases and examples in the documentation synchronized.
424 * doc/automake.texi: Improve or fix existing testcase-referencing
425 comments, and add many new ones.
426 * HACKING (Administrivia): Suggest to test complex examples and
427 idioms from the manual.
428 * tests/specflg8.test: Improve synchronization with the example
430 * tests/output11.test:Likewise.
431 * tests/txinfo21.test:Likewise.
432 * tests/interp.test: Likewise. Since we are at it, and enable
433 the `errexit' shell flag, do related changes, and add trailing
435 * tests/amhello-cflags.test: New test.
436 * tests/amhello-cross-compile.test: Likewise.
437 * tests/amhello-binpkg.test: Likewise.
438 * tests/tests-environment-backcompat.test: Likewise.
439 * tests/parallel-tests-log-compiler-example.test: Likewise.
440 * tests/Makefile.am (TESTS): Update.
442 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
444 docs: avoid a footnote, some related rewordings and improvements
445 * doc/automake.texi (Dist): Reword the part about automatically
446 distributed files to avoid a footnote. Since we are at it, extend
447 a bit, and add an example and a reference to a relevant test case.
449 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
451 docs: minor cosmetic fixes
452 * doc/automake.texi: Break few overly long lines, throughout the
454 ("Simple Tests"): Move @vindex for XFAIL_TESTS to the correct
455 position, i.e., before and not after the paragraph where it is
457 ("Options" @item ansi2knr): Use @pxref instead of @xref. This
458 fixes a texinfo warning.
459 ("Other things Automake recognizes" @item AM_C_PROTOTYPES): Use
460 @pxref instead of @ref.
462 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
464 help: improve text about automatically-distributed files
465 This change fixes automake bug#7819.
466 * automake.in (usage): Distinguish between files that are always
467 automatically distributed when found, and those which are only
468 "under certain conditions".
469 * doc/automake.texi (Basics of Distribution): Update accordingly.
470 * tests/autodist-subdir.test: Update.
471 * tests/autodist-no-duplicate.test: Likewise.
472 * tests/autodist.test: Likewise.
473 (configure.in): Remove useless call to AM_MAINTAINER_MODE.
475 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
477 refactor: split 'usage' subroutine in automake
478 This change is related to automake bug#7819.
479 * automake.in (print_autodist_files): New subroutine,
481 (usage): ... this, which now uses it.
482 * tests/autodist-no-duplicate.test: New test.
483 * tests/Makefile.am (TESTS): Update.
485 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
487 tests: fix bug in 'autodist.test'
488 * tests/autodist.test: Avoid spurious failure due to no
489 `defs-static' file being found in the parent directory.
491 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
493 maintcheck: extend 'sc_tests_plain_*' checks
494 * Makefile.am (sc_tests_plain_autom4te): New check.
495 (sc_tests_plain_autoreconf): Likewise.
496 (sc_tests_plain_autoheader): Likewise.
497 (syntax_check_rules): Update.
499 2011-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
501 maintcheck: avoid few spurious failures
502 * Makefile.am (sc_tests_plain_aclocal, sc_tests_plain_perl,
503 sc_tests_plain_autoconf, sc_tests_plain_automake,
504 sc_tests_plain_autoupate): Be stricter in matching an erroneous
505 literal command, i.e., `aclocal', `automake', `perl', etc.
507 2011-06-20 Bert Wesarg <bert.wesarg@googlemail.com> (tiny change)
509 check: don't use multi-line coloring for the report
510 "less -R" can't handle multi-line coloring as it is done for the
511 check reports of the serial and parallel testsuite, because of
512 performance reasons. Thus, color each line of the check report
514 * lib/am/check.am (am__text_box): Accept colors for lines, and
515 color each line by its own.
516 [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Let am__text_box handle
518 [!%?PARALLEL_TESTS%] $(check-TESTS): Color each report line by
522 2011-06-18 Stefano Lattarini <stefano.lattarini@gmail.com>
524 docs: AM_DISTCHECK_CONFIGURE_FLAGS is for corner cases
525 * doc/automake.texi (Checking the Distribution): Explain that the
526 developers should take care of making their code buildable without
527 requiring any special configure options, so that in general
528 AM_DISTCHECK_CONFIGURE_FLAGS shouldn't be used. Give an example
529 of where its use is legitimate.
530 Suggestions from Ralf Wildenhues and Eric Blake.
532 2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com>
534 ansi2knr: deprecate, it will go away in the next major release
535 * doc/automake.texi: Loudly and repeatedly state that the old
536 de-ANSI-fication features are now deprecated and will be removed
537 in the next major Automake release. Other related adjustments.
538 * lib/Automake/Options.pm (_process_option_list ): Give a warning
539 in the `obsolete' category when the `ansi2knr' option is used.
540 * m4/protos.m4 (AM_C_PROTOTYPES): Deprecate this macro: a warning
541 in the `obsolete' category will be emitted it if is used.
542 * tests/ansi2knr-deprecation.test: New test.
543 * tests/Makefile.am (TESTS): Update.
544 * tests/ansi.test: Adjust, by calling autoconf and/or automake
545 with the `-Wno-obsolete' flag.
546 * tests/ansi10.test: Likewise.
547 * tests/ansi2.test: Likewise.
548 * tests/ansi3.test: Likewise.
549 * tests/ansi3b.test: Likewise.
550 * tests/ansi4.test: Likewise.
551 * tests/ansi5.test: Likewise.
552 * tests/ansi6.test: Likewise.
553 * tests/ansi7.test: Likewise.
554 * tests/ansi8.test: Likewise.
555 * tests/ansi9.test: Likewise.
556 * tests/cxxansi.test: Likewise.
557 * tests/libobj8.test: Likewise.
558 * NEWS: Update about the future planned backward-incompatibility
559 due to the removal of de-ANSI-fication feature.
561 2011-06-19 Stefano Lattarini <stefano.lattarini@gmail.com>
563 docs: primary/prefix combination "pkglib_PROGRAMS" is now invalid
564 * doc/automake.texi (Program Sources): pkglib_PROGRAMS is not a
565 valid combination anymore, so don't document it. Inconsistency
566 introduced in commit `v1.11-373-g9ca6326'.
568 2011-06-19 Jim Meyering <meyering@redhat.com>
570 docs: replace obsolete @vindex entry with a useful one
571 * doc/automake.texi (Program Sources): Do not index obsolete
572 pkglib_PROGRAMS here. Do index pkglibexec_PROGRAMS.
574 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
576 tests: optimize tests on primary/prefix mismatch for speed
577 * tests/primary-prefix-invalid-couples.test: Partial rewrite, in
578 order to use just a single automake invocation rather than one
579 invocation for each invalid primary/prefix couple. This improves
580 the test script execution time by an order of magnitude.
581 Since we are at it, throw in some other improvements to avoid
582 unrelated automake warnings and failures that could potentially
583 cause false positives w.r.t. the automake exit status.
585 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
587 news: update w.r.t. introduction of AM_DISTCHECK_CONFIGURE_FLAGS
588 * NEWS (Miscellaneous changes): Update.
590 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
592 maintcheck: DISTCHECK_CONFIGURE_FLAGS can be defined on make cmdline
593 * Makefile.am (sc_tests_overriding_macros_on_cmdline): It's now
594 acceptable that the test scripts override DISTCHECK_CONFIGURE_FLAGS
595 on the make command line. Update comments accordingly. Since we
596 are at it, make the relevant grepping rules slightly tighter.
598 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
600 distcheck: add support for AM_DISTCHECK_CONFIGURE_FLAGS
601 * doc/automake.texi (Checking the Distribution): Suggest to use
602 AM_DISTCHECK_CONFIGURE_FLAGS, not DISTCHECK_CONFIGURE_FLAGS, to
603 define (in the top-level Makefile.am) extra flags to be passed
604 to configure at "make distcheck" time; DISTCHECK_CONFIGURE_FLAGS
605 should be reserved for the user. Add proper `@vindex' directive.
606 Document that AM_DISTCHECK_CONFIGURE_FLAGS is not honoured in a
607 subpackage Makefile.am, but the flags in it are passed down to
608 the configure script of the subpackage.
609 * lib/am/distdir.am (distcheck): Also pass the flags in
610 $(AM_DISTCHECK_CONFIGURE_FLAGS) to the configure invocation.
612 * tests/defs.in.test (AM_DISTCHECK_CONFIGURE_FLAGS,
613 DISTCHECK_CONFIGURE_FLAGS): Unset in case they are exported in
614 the environment, they might improperly influence our testsuite.
615 * tests/distcheck-configure-flags.test: New test.
616 * tests/distcheck-configure-flags-am.test: Likewise.
617 * tests/distcheck-configure-flags-subpkg.test: Likewise.
618 * distcheck-hook.test: Likewise.
619 * distcheck-hook2.test: Likewise.
620 * tests/Makefile.am (TESTS): Update.
621 Closes automake bug#8784.
623 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
625 docs: better documentation for silent make rules
626 * doc/automake.texi (Options): Detailed description of the
627 automake option `silent-rules' moved from here ...
628 (Silent Make): ... into this new chapter, expanded, improved,
629 and subdivided into ...
630 (Make verbosity, Tricks For Silencing Make,
631 Automake silent-rules Option): ... these new sections.
632 (@menu, @detailmenu): Update.
633 * tests/silent-configsite.test: New test, checking that the
634 user can control default mode of silent-rules from config.site,
635 as is documented in the manual.
636 * tests/Makefile.am (TESTS): Updated.
638 2011-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
640 Warnings about primary/prefix mismatch fixed and extended.
641 * automake.in (%standard_prefix): Add `doc' and `locale'.
642 Rename `pkgdatadir' to `pkgdata'. Similarly for`pkglibdir',
643 `pkgincludedir' and `pkglibexecdir'.
644 (handle_programs): List `pkglibexec', not `pkglib', among the
645 prefixes valid for the `PROGRAMS' primary.
646 (handle_data): List also `doc' among the prefixes valid for
647 the `DATA' primary. This is required by automake's own build
649 * tests/dirforbid.test: Test removed, superseded by ...
650 * tests/primary-prefix-invalid-couples.test: ... this new test.
651 * tests/primary-prefix-valid-couples.test: New test.
652 * tests/primary-prefix-couples-documented-valid.test: Likewise.
653 * tests/primary-prefix-couples-force-valid.test: Likewise.
654 * tests/java3.test: Adjusted, and extended a bit.
655 * tests/Makefile.am (TESTS): Updated.
657 From a report by Eric Blake.
659 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
661 test defs: new function 'fatal_', for hard errors
662 Before this patch, the only way offered by tests/defs to
663 properly signal a hard error was the `framework_failure_'
664 function. But the error message issued by that function,
665 as its name would suggest, refers to a set-up failure in the
666 testsuite, while hard errors can obviously also be due to
667 other reasons. The best way to fix this inconsistency is to
668 introduce a new function with a more general error message.
669 Inspired by a recent similar change to Gnulib's tests/init.sh.
670 * tests/defs.in (fatal_): New function.
671 * tests/README (Section "Writing test cases" subsection "Do"):
672 Suggest the use of `fatal_', not of `framework_failure_', for
673 generic hard errors. The latter should be reserved for "real"
676 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
678 py-compile: '--' and non-option arguments terminate the option list
679 * lib/py-compile: Any non-option argument, or the special `--'
680 argument, now explicitly terminates the list of options.
681 * tests/py-compile-option-terminate.test: New test.
682 * tests/Makefile.am (TESTS): Update.
685 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
687 py-compile: complain on unrecognized options
688 * lib/py-compile: Complain on unrecognized options. Don't be too
689 lax in matching `--help' and `--version' options.
690 * tests/py-compile-usage.test: Extend accordingly.
693 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
695 py-compile: normalize error and help messages
696 * lib/py-compile: Now error messages do not begin with a capital
697 letter, nor end with a period, as per GNU standards. Prepend the
698 error messages with the name of the script, not with its path.
699 When an invalid usage is recognized, always display the customary
700 message "Try `py-compile --help' ..." on a line of its own.
701 ($me): New variable, containing the name of the
702 program, i.e., `py-compile'. Use it throughout.
703 (usage_error): New function, used to display error messages about
705 * tests/py-compile-usage.test: Extend and tighten accordingly.
707 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
709 python tests: add "unit tests" on py-compile
710 * tests/py-compile-basic.test: New test.
711 * tests/py-compile-basic2.test: New test.
712 * tests/py-compile-basedir.test: Likewise.
713 * tests/py-compile-destdir.test: Likewise.
714 * tests/py-compile-env.test: Likewise.
715 * tests/py-compile-usage.test: Likewise.
716 * tests/Makefile.am (TESTS): Update.
717 Tested with python 2.0.1, 2.4.6, 2.6.6, 2.7.1, and 3.1.3.
719 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
721 py-compile: the '--destdir' option now accepts a blank argument
722 * lib/py-compile (Option parsing): Do not count an empty argument
723 to `--destdir' or `--basedir' as a missing argument.
724 * lib/python.am: Simplify accordingly, passing the `--destdir'
725 option to py-compile unconditionally, even if `$(DESTDIR)' is
729 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
731 python: run the 'py-compile' script with $(SHELL)
732 * lib/python.am (install-%DIR%PYTHON): Run each instance of
733 py-compile using $(SHELL). Since we are at it, break overly
735 (am__py_compile): New variable, to reduce code duplication.
737 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
739 maintcheck: fix some failures, extend some checks
740 * Makefile.am (sc_diff_automake_in_automake): Update, as we
741 now expect 9 lines, not 8, to be changed from `automake.in'
743 (sc_diff_aclocal_in_aclocal): New maintainer check, similar to
744 the above, and checking that only 10 lines are changed from
745 `aclocal.in' to `aclocal'.
746 (syntax_check_rules): Update.
747 (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test'
748 from this check, as they can legitimately use the bare `exit'
749 builtin in various places.
750 * doc/automake.texi (Python): Remove stray `@' from the end of
751 a line. Typo introduced in commit `v1.11-312-g5bf7af6'.
752 * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make
753 from the environment rather than from the command line, to
754 pacify the `sc_tests_overriding_macros_on_cmdline' maintainer
756 * tests/depcomp8b.test: Likewise.
758 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
760 remake: behave better with non-GNU make in subdirectories
761 Currently, with every decent make program, it is possible to
762 rebuild out-of-date autotools-generated files with a simple
763 "make Makefile" -- but for this to work reliably with non-GNU
764 make implementations, the command must be issued from the
765 top-level directory. This patch removes such limitation.
766 * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'.
767 * tests/defs.in (using_gmake): New function, backported from the
768 `master' branch (and simplified).
769 * tests/remake-subdir.test: New test.
770 * tests/remake-subdir2.test: Likewise.
771 * tests/remake-subdir-gnu.test: Likewise.
772 * tests/remake-subdir-from-subdir.test: Likewise.
773 * tests/Makefile.am (TESTS): Update.
775 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
777 automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE
778 Currently, the Automake's own configure script allow definition
779 of AUTOCONF and AUTOM4TE, expected to point respectively to an
780 autoconf and autom4te programs. But while these definitions are
781 honoured in the Automake's build systems and test suite, they
782 were *not* honoured in the generated `automake' and `aclocal'
783 scripts. This behaviour, apart from being wrong in that it does
784 not allow the user enough freedom in choosing his tools, also
785 caused inconsistencies in the test suite, brining to spurious
787 Problem reported by Graham Reitz on the automake list; see thread:
788 <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html>
789 * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'.
790 * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'.
791 * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and
796 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
798 build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
799 Our build system allows the user to override AUTOCONF and AUTOHEADER
800 at configure time, and honours these overrides in our testsuite.
801 But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
802 This change fixes that inconsistency.
803 * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
804 AC_SUBSTitutions. Update comments.
805 * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
806 ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
807 ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
808 * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
810 2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
811 Stefano Lattarini <stefano.lattarini@gmail.com>
813 tests/README: fix example about `make -e' usage
814 * tests/README (Section "Writing test cases" subsection "Do"): When
815 some variable is never initialized in the Makefile, `-e' is not
816 necessary in order to override it. DESTDIR is such a variable: we
817 ensure that we do not ever initialize it. And as such, it is quite
819 $ make DESTDIR=/foo/bar install
820 and in fact, quite widely used.
821 So our example about when `make -e' is required, which references
822 the `DESTDIR' variable, is poorly chosen, if not downright wrong.
823 Rewrite it to use `prefix' as the overridden variable instead.
825 2011-05-22 Stefano Lattarini <stefano.lattarini@gmail.com>
827 parallel-tests: stricter checks on DISABLE_HARD_ERRORS support
828 * tests/parallel-tests-harderror.test: New test, doing more
829 in-depth checks on DISABLE_HARD_ERRORS.
830 * tests/parallel-tests.test: Remove tests on DISABLE_HARD_ERRORS,
832 * tests/Makefile.am (TESTS): Update.
834 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
836 testsuite: avoid re-running few tests with 'parallel-tests' option
837 Some tests in our testsuite use the 'simple-tests' driver only
838 marginally, or simply as a mean to conveniently check unrelated
839 invariants. It makes little sense to force these tests to also
840 run with the 'parallel-tests' Automake option active, as doing so
841 offers no real gain in coverage, while often causing a measurable
842 overhead in execution time (for an already too-slow testsuite).
843 * tests/pr401.test (parallel_tests): Define to "no", to prevent
844 the generation of a sibling test script using the 'parallel-tests'
846 * tests/pr401b.test: Likewise.
847 * tests/pr401c.test: Likewise.
849 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
851 testsuite: allow tests to avoid the use of 'parallel-tests' option
852 * tests/gen-parallel-tests: Do not generate "siblings" for tests
853 that explicitly define the `parallel_tests', whether to "yes" or
854 to any other value. Extend heading comments to give a rationale
856 * tests/README: Update.
858 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
860 tests/README: update obsoleted advice
861 * tests/README (Section "Writing test cases" subsection "Do"):
862 Do not suggest to use the `*-p.test' pattern for the names of
863 hand-written tests which use the `parallel-tests' Automake option.
864 Not only is this not respected by the existing tests, but it is
865 more likely to cause conflicts with auto-generated tests.
866 So, suggest to *avoid* using the `*-p.test' pattern in names
867 of hand-written tests instead.
868 (Section "Writing test cases" subsection "Do not"): When
869 suggesting not to override Makefile variables using command
870 line arguments, do not use the badly outdated variables `U'
871 and 'ANSI2KNR' in the example; instead, use the more common
872 and typical `DESTDIR'.
874 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
876 test defs: rename requirement 'non-cross' -> 'native'
877 * tests/defs.in (non-cross): Rename requirement ...
878 (native): ... to this, which is clearer and fits the
879 existing lingo better.
880 Suggestion by Ralf Wildenhues.
882 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
884 testsuite: be more cross-compile friendly
885 * tests/defs.in (cross_compiling): New subroutine.
886 (am__tool_prefix): New internal variable.
887 (gcc, g++, gcj): Force the use of the correct "tool prefix"
888 when cross compiling.
889 (gfortran, g77, non-cross): New requirements.
891 2011-05-11 Stefano Lattarini <stefano.lattarini@gmail.com>
893 check: document and test $(TEST_SUITE_LOG) overriding
894 * doc/automake.texi (Simple Tests using parallel-tests): Explain
895 how and why TEST_SUITE_LOG can be overridden at runtime.
896 * tests/parallel-tests-log-override-1.test: New test, check that
897 the newly documented idiom and similar usages are truly supported.
898 * tests/parallel-tests-log-override-2.test: Likewise.
899 * tests/parallel-tests-log-override-recheck.test: Likewise.
900 * tests/Makefile.am (TESTS): Update.
902 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
904 tests: fix spurious failure of txinfo21.test on FreeBSD
905 * tests/txinfo21.test: Use the `is_newest' subroutine instead of
906 the `ls -t' hack to to determine whether a file has been updated.
907 This is required because at least FreeBSD `ls' do not sort files
908 with the same timestamp in alphabetical order when using the `-t'
911 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
913 tests defs: allow requirements for compilers (mostly dummy)
914 Most of the new requirements that are now accepted in `$required'
915 as consequence of this patch are still dummy. They are planned
916 to be implemented only in master (or in some derived branch), but
917 having them here (even just as no-op) will allow for an easier
918 integration/backporting of potential new testcases.
919 * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
921 (flex): New requirement, picking LEX for configure.
922 (lex): New requirement, alias for `flex'. A more appropriate
923 implementation, looking for a generic `lex' program, will follow
925 (yacc): New requirement, alias for `bison'. A more appropriate
926 implementation, looking for a generic `yacc' program, will follow
929 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
931 tests: fix spurious failure in a test on TESTS (VPATH-related)
932 * tests/check-tests-in-builddir.test: When not using the
933 parallel-tests option, do not check that VPATH components are
934 not present in the displayed test name, since the simple-tests
935 driver do not try to strip them.
937 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
939 test: self check subroutines for skipping/failing of tests
940 * tests/self-check-report.test: New test.
941 * tests/Makefile.am (TESTS): Update.
943 2011-04-23 Jim Meyering <meyering@redhat.com>
944 Stefano Lattarini <stefano.lattarini@gmail.com>
946 test defs: new subroutines for test skipping/failing
947 * tests/defs.in (Exit): Move definition of this function earlier.
948 (warn_, skip_, fail_, framework_failure_): New functions, inspired
949 to the homonyms in gnulib's tests/init.sh.
950 ($stderr_fileno_): New global variable, used by the new functions
952 * tests/README: Updated.
953 From a suggestion by Ralf Wildenhues.
955 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
957 tests: fix typo (copy & paste blunder) in heading comment
958 * tests/maintclean-vpath.test: Correctly refer to the sister test
959 as `maintclean.test', not as `maintclean-vpath.test'.
961 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
963 tests: remove redundant test `mclean.test'
964 * tests/mclean.test: Remove, it's a weak grepping test completely
965 superseded by the much more complete `maintclean.test'.
966 * tests/Makefile.am (TESTS): Update.
968 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
970 testsuite: more environment sanitization
971 * tests/defs.in: Sanity check: abort if any of `parallel_tests'
972 or `required' is in the environment.
973 ($sed_unindent_prog): Initialize to empty, to avoid interferences
974 from the environment.
975 * tests/self-check-me-in-env.test: Renamed to ...
976 * tests/self-check-env-sanitize.test: ... this, and extended.
977 * tests/Makefile.am (TESTS): Update.
978 (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
979 `required'. Adjust comments.
981 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
983 tests: don't allow `$me' to be overridden from the environment
984 * tests/defs.in: Sanity check: abort if $me is in the environment.
985 * tests/self-check-me-in-env.test: New test.
986 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
988 Suggestion by Ralf Wildenhues.
990 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
992 test defs: allow overriding of `$me'
993 * tests/defs.in ($me): Allow overriding by the including test
994 script. Add some explicative comments.
996 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
998 depcomp tests: don't reject slower dependency extractors
999 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
1000 option to `configure' invocations, so that slower dependency
1001 extractors are not rejected.
1002 * tests/depcomp8a.test: Likewise. Also ...
1003 (foo.c): ... since we are at it, fix spacing to be consistent
1004 with GNU coding standards.
1006 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1008 m4: add missing serial numbers to a few files
1009 Related to automake bug#8483.
1010 * m4/amversion.in: Add serial number.
1011 * m4/auxdir.m4: Likewise.
1012 * m4/gcj.m4: Likewise.
1013 * m4/install-sh.m4: Likewise.
1014 * m4/mkdirp.m4: Likewise.
1015 * m4/python.m4: Likewise.
1016 * m4/runlog.m4: Likewise.
1017 * m4/strip.m4: Likewise.
1018 * m4/upc.m4: Likewise.
1020 2011-04-16 Jim Meyering <meyering@redhat.com>
1022 depcomp: correct invalid sed invocation
1023 * lib/depcomp: Insert missing -e before '/:$/d'.
1024 Otherwise, that use of sed would treat '/:$/d' as a file name.
1026 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1028 maintainer check: quote literal `$' in Makefile rule
1029 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
1030 character in double-quoted string. Fix a bug in which the rule
1031 emitted an erroneously empty substring in its error message.
1033 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1035 coverage: test for automake bug#8485 (known regression)
1036 * tests/yacc-dist-nobuild-subdir.test: New test.
1037 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
1039 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1041 test defs: define default $distdir (help reducing duplication)
1042 * tests/defs.in ($distdir): New variable, might be used in
1043 testcases checking distribution-related features.
1044 * tests/pr9.test: Use it.
1045 * tests/subdir9.test: Likewise.
1046 * tests/vtexi3.test: Add comment explaining why we redefine
1047 $distdir in this test.
1049 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1051 depcomp: fix bugs in tests and in the depcomp script
1052 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
1053 * tests/depcomp10.test: Make it executable. Fix a blunder that
1054 has left part of an intended comment not prefixed by `#', thus
1055 causing shell syntax errors. In this same comment, break a
1056 too-long reported error message on multiple lines, for clarity.
1057 Add reference to the relevant bug report. Add a comment which
1058 explains why the test result 'skipped' if the first "make" call
1059 fails. Add other useful comments.
1060 * tests/depcomp9.test: Slightly improve comments.
1062 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1064 Fix hp depmode for VPATH builds with GNU make.
1065 * lib/depcomp: Be sure to remove VPATH-prefixed object from
1066 dependency output when creating stub rule.
1067 * tests/depcomp10.test: New test.
1068 * tests/Makefile.am (TESTS): Update.
1070 Report by Bruno Haible.
1072 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1074 test defs: fix 'javac' requirement for older JDK versions
1075 The Java compiler from JDK 1.5 (and presumably earlier versions)
1076 cannot handle the `-version' option by itself; and while it does
1077 print the version number, it then errors out with an usage error:
1080 javac: no source files
1081 Usage: javac <options> <source files>
1083 Luckily, adding the `-help' option to the `javac' invocation
1084 seems to fix this problem.
1085 * tests/defs.in (javac): Pass also the `-help' option to the
1086 `javac' program. Add a comment explaining why it is needed.
1087 Report from Ralf Wildenhues.
1089 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1091 test defs: new requirement for the default java compiler
1092 * tests/defs.in (for tool in $required): New requirement 'javac'.
1093 * tests/java.test: Use it instead of ad-hoc configure check.
1094 * tests/java-check.test: Likewise.
1095 * tests/instfail-java.test: Likewise.
1096 * tests/instdir-java.test: Likewise.
1098 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1100 java: check_JAVA does not cause compilation by "make all" anymore
1101 Fixes automake bug#8234.
1102 * automake.in (handle_java): Make stamp of class files built from
1103 java sources in $(check_JAVA) a dependency of `check' target, not
1105 * tests/java-check.test: New test.
1106 * tests/Makefile.am (TESTS): Update.
1109 Report from Petteri Räty.
1111 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1113 Clarify regex code in depcomp.
1114 * lib/depcomp: Add comment why we don't need regex-escaping here.
1115 Suggested by Stefano Lattarini.
1117 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1119 Fix makedepend depmode for VPATH builds.
1120 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
1121 object file name, so a rebuild doesn't attempt to update the
1122 .Po files in the source tree.
1123 * tests/depcomp9.test: New test.
1124 * tests/Makefile.am (TESTS): Update.
1127 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1129 tests: fix timestamp-related failures
1130 Fixes automake bug#8365.
1131 * tests/aclocal6.test: Sleep before modifying m4 files that should
1132 trigger remake rules. Remove incorrect/obsoleted comments.
1133 * tests/subdir5.test: Likewise, and extend a bit.
1134 * tests/subdir8.test: Likewise.
1135 * tests/pr8365-remake-timing.test: New xfailing test.
1136 * tests/Makefile.am (TESTS): Update.
1137 Report from Sam Steingold.
1139 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1141 Create subdirs for generated sources even when not dep tracking.
1142 * automake.in (handle_single_transform): If $object is derived
1143 and lands in subdir, be sure to output a dirstamp dependency.
1144 * tests/yacc5.test: Avoid falsely matching the dirstamp
1145 dependency when grepping for a rule.
1146 * tests/lex-subobj-nodep.test: New test.
1147 * tests/Makefile.am (TESTS): Update.
1149 Report by Ignacy Gawedzki.
1151 Fix locale issue in check-exported-srcdir.test.
1152 * tests/check-exported-srcdir.test: Reformulate glob to not fail
1153 in a locale that ignores or interleaves character case.
1155 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
1157 docs: better visibility for aclocal in the index
1158 * doc/automake.texi (@menu): Rename title for entry 'configure'
1159 from "Scanning configure.ac or configure.in" to the more precise
1160 "Scanning configure.ac, using aclocal".
1161 (@detailmenu): Adjust.
1162 (@node configure): Adjust, and extend @cindex calls accordingly.
1164 From a report by Maynard Johnson.
1166 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
1168 tests: improve tests on "maintainer-clean" target
1169 * tests/aclocal6.test: Move checks related to "maintainer-clean"
1170 functionalities into ...
1171 * tests/maintclean-vpath.test: ... this new test.
1172 * tests/maintclean.test: Update heading comments. Extend to also
1173 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
1174 in configure.in. Add a trailing `:' command. Remove extra blank
1176 * tests/Makefile.am (TESTS): Update.
1178 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1180 tests: fix unindent to use printf not echo for script.
1181 * tests/defs.in: Use printf rather than echo, as the latter may
1182 interpret the backslashes in the sed script. Fixes test
1183 failures with dash as /bin/sh.
1185 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1186 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1188 maintcheck: look for problematic names of testcases
1189 The configure.in stub created by default by `tests/defs' obtains
1190 the first argument of AC_INIT from the test name, and this can
1191 cause some supported autoconf versions to fail with a spurious
1192 error if that test name contains the name of an m4 or m4sugar
1193 builtin or macro (e.g., `defn' or `m4_undefine').
1194 See for example the bug fixed by commit v1.11-287-g1325a8a.
1195 This change add a maintainer check that warns about test names
1196 which are possibly problematic in this regard.
1197 * Makefile.am (sc_test_names): New maintainer-check target.
1198 (syntax_check_rules): Add it.
1199 (m4_builtins): New helper variable.
1200 (TESTS): Updated according to the following renamings.
1201 * tests/include.test: Renamed ...
1202 * tests/hdr-vars-defined-once.test: ... to this.
1203 * tests/sinclude.test: Renamed ...
1204 * tests/m4-inclusion.test: ... to this, and simplified
1206 * tests/include2.test: Renamed ...
1207 * tests/dist-included-parent-dir.test: ... to this, for
1210 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1212 tests: fix bug in alloca*.test
1213 * tests/alloca.test: Make grepping of automake stderr stricter,
1214 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
1215 and create a dummy alloca.c file, to ensure that we fail for the
1217 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
1218 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
1219 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
1221 From a report by Patrick Welche.
1223 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1225 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
1226 * tests/comments-in-var-defn.test: The configure.in stub created
1227 by default, which has the AC_INIT first argument obtained by the
1228 test name, causes autoconf 2.62 to fail with a spurious error
1229 message like: "configure.in:1: error: defn: undefined macro:".
1230 Thus, to prevent this, the test is renamed to ...
1231 * tests/comments-in-var-def.test: ... this.
1232 * tests/Makefile.am (TESTS): Updated.
1234 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1236 cosmetics: convert encoding from ISO-8859 to UTF-8
1237 * ChangeLog.03: Convert encoding to UTF-8.
1238 * ChangeLog.96: Likewise.
1239 * ChangeLog.98: Likewise.
1243 2011-03-01 Peter Rosin <peda@lysator.liu.se>
1245 test defs: unindent without temporary file
1246 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
1247 that strips the "proper" amount of leading whitespace.
1248 (unindent): Lazily strip comments from the above program and use it
1249 to unindent without using a temporary file.
1251 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1253 libtool: suggest LT_INIT if LTLIBRARIES primary is used
1254 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
1255 defined, automake suggested to add a call to AC_PROG_LIBTOOL
1256 in configure.ac. But that macro is deprecated since Libtool
1257 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
1258 suggest the use of this latter macro instead.
1259 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
1260 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
1261 * tests/libtool4.test: Adjust and extend. Also, add a call to
1262 macro AC_PROG_CC in configure.in, to help ensuring that automake
1263 does not fail for the wrong reasons.
1264 * tests/ltinit.test: New test, ensure that automake's libtool
1265 support works with LT_INIT-based interface.
1266 Thanks to Jack Kelly for the suggestion.
1268 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1270 tests: tempdirs with restrictive permissions are cleaned correctly
1271 Before this change, the removal of a temporary test directory
1272 containing subdirectories with restrictive permissions (such as
1273 'r--r--r--') could fail.
1274 * tests/defs: Ensure that all the subdirectories of a temporary
1275 test directory have the 'read', 'write' and 'execute' bits set,
1276 before trying to remove it with `rm -rf'.
1277 * tests/Makefile.am (clean-local-check): Likewise.
1279 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1280 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1282 test defs: add subroutine for input unindenting
1283 * tests/defs.in (unindent): New subroutine.
1285 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1287 python: report the 'PYTHON' influential environment variable
1288 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
1289 * doc/automake.texi (Python): Update and extend.
1290 * tests/help-python.test: New test.
1291 * tests/Makefile.am (TESTS): Update.
1292 * THANKS (Jack Kelly): Update e-mail address.
1293 Suggestion by Jack Kelly.
1295 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1297 tests defs: clear TESTS_ENVIRONMENT variable
1298 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
1299 from environment won't interfere with the testcases.
1300 Suggestion by Ralf Wildenhues.
1302 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1304 tests: tweak few tests on simple and parallel test drivers
1305 * tests/check-exported-srcdir.test: Improve heading comments.
1306 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
1307 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
1308 environment won't risk to interfere with the test.
1309 Suggestions by Ralf Wildenhues.
1311 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
1313 coverage: more tests on simple and parallel test drivers
1314 * tests/parallel-tests-subdir.test: New test.
1315 * tests/check-exported-srcdir.test: Likewise.
1316 * tests/check-tests-in-builddir.test: Likewise.
1317 * tests/check-tests_environment.test: Likewise.
1318 * tests/Makefile.am (TESTS): Update.
1320 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
1322 tests: fix spurious failures in lflags*.test
1323 * tests/lflags.test: Remove 'LEX' from the environment, so
1324 that it won't be erroneously picked up by `make -e'.
1325 * tests/lflags2.test: Likewise.
1327 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1329 docs: color-tests issues with parallel make
1330 * doc/automake.texi (Simple Tests): Document that automatic
1331 recognition of a capable terminal attached to stdout can fail
1332 with some make implementation when running in parallel mode,
1333 thus causing colored test output not to be automatically
1334 activated when it should.
1336 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1338 tests: avoid instspc.test failures due to make's whitespace trimming
1339 * tests/instspc.test: Prepend './' when passing the test
1340 characters, to avoid leading whitespace characters to be trimmed
1341 from macros set from environment variables. Fixes testsuite
1342 failures with HP-UX, IRIX, and Tru64/OSF make.
1344 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1346 coverage: test semantics of "dummy" per-target flags
1347 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
1348 per-target flags triggers the use of renamed objects.
1349 * tests/Makefile.am (TESTS): Update.
1350 Suggestion by Ralf Wildenhues.
1352 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1354 tests defs: sanitize IFS
1355 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
1356 ($sp): New variable, holding a single whitespace character.
1357 ($tab): New variable, holding a tabulation character.
1358 ($nl): New variable, holding a newline character.
1360 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1362 tests: fix VPATH auto-expansion workarounds.
1363 * tests/parallel-tests8.test, tests/suffix13.test:
1364 Ensure $< is not surrounded by white space, to prevent Solaris
1365 make from applying automatic VPATH text expansion.
1367 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1369 tests: fix spurious failures in yflags*.test
1370 * tests/yflags.test: Remove 'YACC' from the environment, so
1371 that it won't be erroneously picked up by `make -e'.
1372 * tests/yflags2.test: Likewise.
1374 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1376 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
1377 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
1378 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
1379 up its internal memory when copying this tree.
1381 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1382 Stefano Lattarini <stefano.lattarini@gmail.com>
1384 Add comment to check-TESTS rule working around make 3.80 bug.
1385 * lib/am/check.am (check-TESTS): Update comment.
1387 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1389 tests: less strict double-colon spy.test again.
1390 * tests/spy.test: We know BSD make doesn't invoke more than one
1391 double-colon rule, so no need to expose that failure.
1393 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1395 install-sh: avoid Tru64 sh `test' operator precedence issues.
1396 * lib/install-sh: Protect file names and directory components
1397 that consist of `=', `(', `)', or `!'. Move protection as early
1398 as possible, to avoid errors such as with Tru64 sh `test -z ='.
1399 * tests/instsh2.test: Extend test to cover more possibilities.
1400 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
1402 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1403 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1405 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
1406 * doc/automake.texi (Simple Tests): Do not claim Automake uses
1407 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
1408 parallel-tests driver.
1410 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1412 Allow _AM_DEPENDENCIES to be used later in configure.
1413 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
1414 conftest.dir before recreating it.
1416 Report by Eric Blake, from report by Scott McCreary against M4.
1418 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1420 tests: avoid failure on w32 file systems.
1421 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
1422 be turned unreadable.
1424 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1426 tests: allow double-colon spy.test to work with HP-UX make.
1427 * tests/spy.test: Fix comment typos. Ensure prerequisites we
1428 do not want to depend on are strictly older than the target.
1429 Also test with a target out of date wrt. more than one rule.
1431 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1433 tests: remove useless requirements from cond36.test
1434 * tests/cond36.test ($required): Remove.
1435 Since we are at it, add a trailing `:' command.
1437 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1438 Stefano Lattarini <stefano.lattarini@gmail.com>
1440 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
1441 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
1442 Test file readability before redirecting input from it, to avoid
1443 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
1444 * tests/parallel-tests-unreadable-log.test: New test.
1445 * tests/Makefile.am (TESTS): Update.
1448 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1450 * NEWS, README: Update copyright years.
1452 Fix parallel-tests.test failure with HP-UX make.
1453 * tests/parallel-tests.test: Sleep inside inner tests, so logs
1454 are newer than logs of tests they depend on, for HP-UX make.
1456 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1458 docs: ensure example are separated with empty lines in the input
1459 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
1460 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
1461 lines before `@example' and after `@end example' lines, so info
1462 output is rendered correctly, and a following @noindent honored.
1463 Report by Stefano Lattarini.
1465 2011-01-15 Jim Meyering <meyering@redhat.com>
1467 tests: fix comment typo
1468 * tests/substref.test: Fix grammar in a comment.
1470 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1472 tests: fix spurious failures in two texinfo tests
1473 * tests/txinfo.test ($required): Add 'makeinfo'.
1474 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
1475 that make won't try to run makeinfo (which could be unavailable)
1477 Found by NixOS Hydra, reported by Ralf Wildenhues.
1479 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1481 Avoid testsuite failures due to Autoconf Fortran change.
1482 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
1483 require computing the canonical host name. Ensure config.guess
1484 and config.sub files are present for respective checks.
1485 * tests/compile_f_c_cxx.test: Add stub files.
1486 * tests/flibs.test: Likewise.
1487 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
1489 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1491 docs: clustered '-d' not recognized in YFLAGS
1492 This change fixes automake bug#7828.
1493 * doc/automake.texi (Yacc and Lex): Document that automake
1494 recognizes '-d' in AM_YFLAGS only if it's not clustered with
1496 From a report by Юрий Пухальский.
1498 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1500 tests: add checks on automatically-distributed files
1501 Related to automake bug#7819.
1502 * tests/autodist.test: New test.
1503 * tests/autodist-subdir.test: Likewise.
1504 * tests/autodist-acconfig.test: Likewise.
1505 * tests/autodist-acconfig-no-subdir.test: Likewise.
1506 * tests/autodist-aclocal-m4.test: Likewise.
1507 * tests/autodist-config-headers.test: Likewise.
1508 * tests/autodist-configure-no-subdir.test: Likewise.
1509 * tests/autodist-stamp-vti.test: Likewise.
1510 * tests/Makefile.am (TESTS): Update.
1512 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1514 tests: work around a texi+cygnus bug causing a spurious XFAIL
1515 * tests/txinfo5b.test: New test, like txinfo5.test but calling
1516 automake with the `-Wno-override' option to work around a bug
1517 in the texinfo + cygnus interaction.
1518 * tests/txinfo5.test: Update heading comments.
1519 * tests/Makefile.am (TEST): Updated.
1521 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
1523 Fix another typo in Rule.pm comment.
1524 * lib/Automake/Rule.pm: Fix typo.
1526 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1528 Improve, extend and tweak tests on Texinfo support.
1529 * tests/instdir-texi.test: Add a call to `ls -l' after that to
1530 `make', for debugging. When looking for required tools, do not
1531 redirect the output of "$tool --help" to /dev/null, and do not
1532 uselessly run it in a subshell.
1533 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
1534 make. All checks moved into Makefile.am.
1535 * tests/txinfo8.test: Likewise, and modernize the generated
1537 * tests/txinfo2.test: Moved checks into Makefile.am, and other
1539 * tests/txinfo5.test: Enable `errexit' shell flag, and related
1540 changes. Add trailing `:' command.
1541 * tests/txinfo6.test: Likewise, and make grepping of generated
1542 Makefile.in stricter.
1543 * tests/txinfo7.test: Enable `errexit' shell flag, and related
1544 changes. Add trailing `:' command. Do not add unnecessary stuff
1546 * tests/txinfo9.test: Verify that more targets which are expected
1547 to be generated only once really are. Make grepping less strict,
1548 to avoid exposing too much internal details. More minor changes.
1549 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
1550 for appending to configure.in. Updated/fixed heading comments.
1551 * tests/txinfo23.test: Likewise, and extended a little by making
1552 it check that no info file is created in the $(srcdir).
1553 * tests/txinfo24.test: Likewise.
1554 * tests/txinfo25.test: Likewise.
1555 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
1556 for appending to configure.in. Also, check that index files are
1557 cleaned also by "make clean", not only by "make distclean".
1558 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
1559 and added trailing `:' command. This testcase also used to check
1560 that automake ignores in-line comments when using variables, but
1561 preserves them in the output; these checks (added in commit
1562 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
1563 so they have been moved ...
1564 * tests/comments-in-var-defn.test: ... into this new test.
1565 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
1566 trailing `:' command.
1567 * tests/txinfo29.test: Likewise. Relax grepping of generated
1568 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
1569 append to configure.in.
1570 * tests/txinfo3.test: Likewise.
1571 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
1572 make it stricter, sometimes laxer). Move `set -e' setting just
1573 after the inclusion of ./defs. De-uglify a sed command. Other
1574 minor cosmetic improvements.
1575 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
1576 trailing `:' command.
1577 * tests/vtexi3.test: New test on version.texi support.
1578 * tests/vtexi4.test: Likewise.
1579 * tests/Makefile.am (TESTS): Updated.
1581 2011-01-09 Peter Rosin <peda@lysator.liu.se>
1583 Fix another typo in Rule.pm comment.
1584 * lib/Automake/Rule.pm: Fix typo.
1586 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1588 cosmetics: remove trailing whitespaces
1589 * doc/automake.texi: Remove trailing whitespaces.
1590 * tests/cond13.test: Likewise.
1591 * tests/cond14.test: Likewise.
1592 * tests/fort4.test: Likewise.
1593 * tests/fort5.test: Likewise.
1594 * tests/suffix7.test: Likewise.
1595 * tests/vtexi2.test: Likewise.
1597 automake: minor fixes in comments
1598 * automake.in: Some minor fixes and enhancements in comments.
1600 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1602 Add test coverage for deleted header files.
1603 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
1604 also check for the deleted header bug. If no dependency
1605 tracking mechanism could be found, SKIP rather than exit
1606 successfully. Use GNU style spacing and ANSI C prototypes.
1608 Fix typos in Rule.pm comments.
1609 * lib/Automake/Rule.pm: Fix typos in comments.
1611 docs: split 'amhello Explained' node.
1612 * doc/automake.texi (amhello Explained): Split node ...
1613 (amhello's configure.ac Setup Explained)
1614 (amhello's Makefile.am Setup Explained) : ... into these two.
1615 (Top, Hello World): Adjust, and add @anchor for stable URL links.
1616 Suggestion by Karl Berry in automake bug#7766.
1618 2011-01-08 Karl Berry <karl@freefriends.org>
1619 Eric Blake <eblake@redhat.com>
1621 docs: reference defining directories in amhello node.
1622 * doc/automake.texi (amhello Explained): Point to Autoconf
1623 manual for how to convert directory values into macros.
1624 (Optional): Fix grammar nit.
1626 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1628 * NEWS: Fix typo (forgotten word).
1630 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1631 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1633 docs: how to work around checks on invalid primary/directory couples
1634 * doc/automake.texi (Uniform): Document the blessed idiom which can
1635 be used to work around automake checks on invalid primary/directory
1636 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
1638 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1640 Sync auxiliary files from upstream.
1641 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1644 Fix maintainer-check regression.
1645 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
1648 Bump copyright years.
1649 * aclocal.in (write_aclocal, version): Bump copyright years.
1650 * automake.in (gen_copyright, version): Likewise.
1651 * doc/automake.texi: Likewise.
1653 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1654 Stefano Lattarini <stefano.lattarini@gmail.com>
1656 Work around a bug in file-inclusion mechanism of Solaris make.
1657 * automake.in (handle_single_transform): In the name of the
1658 dependency file: collapse multiple slash characters into a single
1660 * tests/subobj11a.test: New test.
1661 * tests/subobj11b.test: Likewise.
1662 * tests/subobj11c.test: Likewise.
1663 * tests/depcomp8a.test: Likewise.
1664 * tests/depcomp8b.test: Likewise.
1665 * tests/Makefile.am (TESTS): Updated.
1667 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
1668 patch and tests by Stefano Lattarini.
1670 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1672 Fix two spurious testsuite failures on IRIX 6.5.
1673 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
1674 weaker make implementations (e.g. IRIX 6.5).
1675 * tests/parallel-tests8.test: Likewise, plus a required related
1677 Reported by Ralf Wildenhues. The bugs have been there from the
1678 first versions of the affected test scripts.
1680 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1682 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
1683 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
1684 the AM_CYGWIN32 macro (and indeed hasn't required it since at
1685 least commit Release-1-2-31-g3038064 "merged changes from
1686 Cygnus" of 1997-08-25).
1688 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1690 distlinksbrk.test: Work around botched "make -k".
1691 * tests/distlinksbrk.test: Run "make" multiple times and grep
1692 its output each time for a single error message, rather than
1693 running "make -k" one single time and grepping its output for
1694 all the expected error messages. This should work around make
1695 implementations with limited (broken?) `-k' support; for more
1696 information, see these subthreads on the automake-patches list:
1697 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
1698 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
1699 - 2010-11-15, "Testsuite failures on IRIX 6.5",
1700 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
1702 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1704 Fix sed-related buglet in test "subdir5.test"
1705 * tests/subdir5.test: Always terminate text passed to the
1706 `i' sed command with a newline, to work around limitations
1707 in e.g. older OpenBSD sed.
1709 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1711 docs: fix blunder in example about python extension modules
1712 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
1713 not `quaternion_SOURCES', to declare the sources of python
1714 extension module `quaternion.la'.
1716 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1718 docs: list LTLIBRARIES among Automake primaries
1719 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
1720 the Automake primaries.
1722 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1724 Improve tests on generated portions of configure help screen.
1725 * tests/help-depend.test: Grepping of configure help screen
1726 relaxed to cater for possible line wrapping, and tightened in
1728 * tests/help-depend2.test: Likewise.
1729 * tests/help-dmalloc.test: Likewise.
1730 * tests/help-lispdir.test: Likewise.
1731 * tests/help-maintainer.test: Likewise.
1732 * tests/help-multilib.test: Likewise.
1733 * tests/help-silent.test: Likewise.
1734 * tests/help-upc.test: Likewise.
1735 * tests/help-init.test: Grepping of configure help screen
1738 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1740 Avoid running installed automake from 'libtool --help'.
1741 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
1742 Together with fixed Libtool, this fixes check-coverage to not
1743 invoke installed automake.
1745 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1747 Fix spurious failures in `silent*.test' for $CC != gcc
1748 In some tests on automake-produced silent rules, we forced the
1749 use of gcc depmode to improve testsuite coverage; but this has
1750 unsurprisingly led to spurious failures when some non-GNU C
1751 compilers were used. So we are now careful to require GCC in
1752 tests that force gcc depmode.
1753 From reports by Ralf Wildenhues.
1754 * tests/silent5.test: Test removed, its content split into ...
1755 * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
1756 these new sister tests, the latter of which forces gcc depmode
1757 and lists "gcc" in $required.
1758 * tests/silentlex.test: Test removed, its content split into ...
1759 * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
1760 these new sister tests, the latter of which forces gcc depmode
1761 and lists "gcc" in $required.
1762 * tests/silentyacc.test: Test removed, its content split into ...
1763 * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
1764 these new sister tests, the latter of which forces gcc depmode and
1765 lists "gcc" in $required.
1766 * tests/Makefile.am (TESTS): Updated.
1768 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1770 Tests: consistently use "|| Exit 1" after ". ./defs".
1771 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
1772 `. ./defs', for consistency with other tests.
1773 * tests/autohdr2.test: Likewise.
1774 * tests/autohdr3.test: Likewise.
1775 * tests/autohdr4.test: Likewise.
1776 * tests/cond23.test: Likewise.
1777 * tests/cond24.test: Likewise.
1778 * tests/cond25.test: Likewise.
1779 * tests/cond26.test: Likewise.
1780 * tests/cond27.test: Likewise.
1781 * tests/cond28.test: Likewise.
1782 * tests/cond29.test: Likewise.
1783 * tests/cond30.test: Likewise.
1784 * tests/cond31.test: Likewise.
1785 * tests/cond32.test: Likewise.
1786 * tests/cond33.test: Likewise.
1787 * tests/cond34.test: Likewise.
1788 * tests/cond35.test: Likewise.
1789 * tests/cond36.test: Likewise.
1790 * tests/cond37.test: Likewise.
1791 * tests/cond38.test: Likewise.
1792 * tests/cond39.test: Likewise.
1793 * tests/cond40.test: Likewise.
1794 * tests/cond41.test: Likewise.
1795 * tests/cond42.test: Likewise.
1796 * tests/cond43.test: Likewise.
1797 * tests/cond44.test: Likewise.
1798 * tests/cond45.test: Likewise.
1799 * tests/dollarvar.test: Likewise.
1800 * tests/dollarvar2.test: Likewise.
1801 * tests/hfs.test: Likewise.
1802 * tests/libobj14.test: Likewise.
1803 * tests/percent.test: Likewise.
1804 * tests/percent2.test: Likewise.
1805 * tests/phony.test: Likewise.
1806 * tests/silent.test: Likewise.
1807 * tests/silent2.test: Likewise.
1808 * tests/silent3.test: Likewise.
1809 * tests/silent4.test: Likewise.
1810 * tests/silent5.test: Likewise.
1811 * tests/silent6.test: Likewise.
1812 * tests/silent7.test: Likewise.
1813 * tests/silent9.test: Likewise.
1814 * tests/silentcxx.test: Likewise.
1815 * tests/silentf77.test: Likewise.
1816 * tests/silentf90.test: Likewise.
1817 * tests/silentlex.test: Likewise.
1818 * tests/silentyacc.test: Likewise.
1820 Avoid useless cleaning in some `silent*.test' tests.
1821 * tests/silentf77.test: Removed useless calls to "make clean"
1822 and "make maintainer-clean".
1823 * tests/silentf90.test: Likewise.
1824 * tests/silent3.test: Removed useless call to "make distclean".
1825 * tests/silent4.test: Likewise.
1826 * tests/silent9.test: Likewise.
1828 2010-11-19 Ian Lance Taylor <iant@google.com>
1830 Sync config-ml.in from GCC.
1831 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
1832 compiler/flag environment variables.
1834 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1836 Automake::Config: remove extra trailing semicolon.
1837 * lib/Automake/Config.in: Remove extra trailing semicolon.
1839 help4.test: fix botched heading comment.
1840 * tests/help4.test: Fixed the heading comment, since it
1841 didn't correctly describe what checks the testcase was
1842 supposed to perform.
1844 help2.test: add checks on aclocal too.
1845 * tests/help2.test: Check that also `aclocal --version' and
1846 `aclocal --help' work with configure.in and acinclude.m4 both
1849 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1851 Fix spurious failures of silent-rules tests with Sun Fortran.
1852 * tests/silentf77.test: Strip from the make output some verbose
1853 messages possibly printed by the SunStudio fortran compilers, to
1854 avoid spurious failures. Add a trailing `:' command.
1855 * tests/silentf90.test: Likewise.
1857 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1859 Fix spurious failures of silent5.test with Sun Fortran.
1860 * tests/silent5.test: Strip from the make output some verbose
1861 messages possibly printed by the SunStudio fortran compilers,
1862 to avoid spurious failures. This bug has been there from the
1863 very first version of this test script.
1865 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1867 Fix regression in colon{5,6}.test (failures on AIX 5.3).
1868 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
1869 post-processing the generated Makefile.in, to work around a bug
1870 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
1871 on the commend line. Calls to `$MAKE' adjusted accordingly.
1872 * tests/colon6.test: Likewise.
1873 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
1874 improve and/or extend tests `colon*.test", and reported by Ralf
1877 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1879 Fix regression in ansi.test (failure on AIX 5.3).
1880 * tests/ansi.test: Remove redundant hackish check done using a
1881 hand-postprocessed Makefile.in. This check worked by setting
1882 the `$(SHELL)' macro on the command line of make, but this is
1883 not supported by the AIX 5.3 make implementation.
1884 This bug has been lurking for a long time, and was activated by
1885 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
1886 tests". Report by Ralf Wildenhues.
1888 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1890 tests: avoid '##'-style comments inside recipe commands.
1891 * tests/confh.test, tests/confh8.test: Remove
1892 double-hash comments from makefile rule commands, they
1893 are not part of the Automake API.
1895 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1897 tests: work around dash quoting issue in case statements.
1898 * tests/color.test, tests/color2.test: Quote variable in case
1899 pattern, to avoid skipping tests with dash 0.5.5.1.
1901 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1903 Rebuild menus in the manual.
1904 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
1905 Thanks to Ian Lance Taylor for the suggestion.
1907 Fix install-strip when $(STRIP) contains several words.
1908 * lib/am/install.am (install-strip): Update comment. Use
1909 separate sub-make invocations for empty and nonempty $(STRIP),
1910 to fix quoting issues.
1911 * tests/strip2.test, tests/strip3.test: New tests.
1912 * tests/Makefile.am (TESTS): Adjust.
1914 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1916 Fix yaccdry.test failure: require bison.
1917 * tests/yaccdry.test: Require bison.
1918 Found by NixOS Hydra.
1920 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
1922 Fix a bug in variable concatenation with `+='.
1923 * lib/Automake/VarDef.pm (append): Since the content of the
1924 "appended-to" variable is going to be unconditionally normalized
1925 later, simply separate the appended value with a single whitespace
1926 character, instead of trying to be uselessly smarter by using
1927 escaped newlines. This fixes a bug in which extra backslashes
1928 where erroneously inserted in the variable's final value.
1929 * tests/pluseq11.test: New test, exposing the bug.
1930 * tests/Makefile.am (TESTS): Update.
1931 Reported by Andy Wingo.
1933 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1935 Fix bug in rules for creating vala vapi/header files.
1936 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
1937 if control structure in a generated make rules. Bug introduced
1938 by previous commit `v1.11-221-gd7c1679', and revealed by failure
1939 of test `vala2.test'.
1941 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1943 Fix and document rules to not touch the tree with `make -n'.
1944 * doc/automake.texi (Multiple Outputs): Document the problem of
1945 modifications during dry-run execution, propose solution.
1947 * automake.in (lang_vala_finish_target): Split recipe so the
1948 stamp file is not removed with GNU `make -n'.
1949 (lang_yacc_target_hook): Separate removal of parser output file
1950 and header remaking.
1951 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
1952 passed to make, take care not to remove any files in that case.
1953 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
1954 %STAMP% file from induced remaking of config header.
1955 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
1957 * tests/Makefile.am (TESTS): Update.
1959 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1961 Add FAQ entry for bug reporting instructions.
1962 * doc/automake.texi (Reporting Bugs): New section.
1963 (Introduction): Refer to it.
1965 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1967 Add support for newer python versions.
1968 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
1969 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
1970 line and fix indentation.
1972 From a report by Thomas Klausner.
1974 Add test for `AM_WITH_DMALLOC' macro.
1975 * tests/dmalloc.test: New test.
1976 * tests/Makefile.am (TESTS): Update.
1978 Fix nits and bugs in tests `help*.test'.
1979 * tests/help4.test: Fix broken sed commands used to strip `-W...'
1980 flags away from "$AUTOMAKE" and "$ACLOCAL".
1981 * tests/help3.test: Likewise, and fix a botched comment.
1982 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
1983 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1984 please maintainer-check.
1985 * tests/help2.test: Likewise.
1987 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1988 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1990 Improve tests `help*.test' (also fixes maintcheck failures).
1991 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1992 flags stripped away rather than hard-coded `automake-$APIVERSION',
1993 to better honour user-overrides. Similarly for aclocal.
1994 * tests/help2.test: Likewise.
1995 * tests/help3.test: Likewise.
1996 * tests/help4.test: Likewise.
1998 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2000 Document and fix expansion of variables before rules.
2001 * doc/automake.texi (General Operation): Document that variables
2002 are expanded before rules.
2003 * lib/am/check.am (am__check_post): Reword a bit so it does not
2004 get matched as a rule.
2005 Suggestion by Ben Pfaff.
2007 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2009 Revert "parallel-tests: avoid command-line length limit issue."
2010 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
2011 because it re-opened the bug fixed by v1.11-10-g218e678.
2013 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2015 parallel-tests: avoid command-line length limit issue.
2016 * automake.in (handle_tests): New argument $makefile, new
2017 substitution %MAKEFILE%.
2018 (generate_makefile): Adjust.
2019 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
2020 sanitized TEST_LOGS value as makefile snippet on standard
2021 input to $(MAKE), to avoid exceeding the command line limit on
2024 Report by Bob Friesenhahn.
2026 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
2028 Extend tests on `--help' and `--version' options.
2029 * tests/help.test: Create a new empty directory and chdir into
2030 it, rather than removing already present files. Run the aclocal
2031 and automake wrapper scripts directly, instead of relying on
2032 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
2033 in aclocal's and automake's stderr. Add a trailing `:' command.
2034 * tests/help2.test: New test, checking that options `--help' and
2035 `--version' works in directories with broken `configure.in'.
2036 * tests/help3.test: New test, checking that options `--help' and
2037 `--version' take precedence on the other options.
2038 * tests/help4.test: New test, checking that the first among the
2039 `--help' and `--version' options to be specified on the command
2041 * tests/Makefile.am (TESTS): Updated.
2043 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
2045 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
2046 * tests/compile2.test: Do no uselessly (implicitly) repeat the
2047 computation of PATH_SEPARATOR again.
2048 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
2049 extending/redefining PATH.
2050 * tests/instmany-python.test: Likewise.
2051 * tests/instmany.test: Likewise.
2052 * tests/man4.test: Likewise.
2053 * tests/mkinst3.test: Likewise.
2054 * tests/mmodely.test: Likewise.
2055 * tests/multlib.test: Likewise.
2056 * tests/txinfo30.test: Likewise.
2057 * tests/README (Section "Writing test cases" subsection "Do"):
2059 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
2060 (syntax_check_rules): Updated.
2062 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
2063 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
2064 ($ACLOCAL, $AUTOMAKE): Use it.
2065 ($PATH_SEPARATOR): New AC_SUBST'd variables.
2068 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
2070 Manual: be more agnostic w.r.t. version control system used.
2071 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
2072 directories as a type of probably-unwanted files that are copied
2073 regardless when adding directories to EXTRA_DIST.
2074 (The dist Hook): Show a dist-hook example which removes Subversion
2075 `.svn' private directories from distdir, rather than CVS private
2077 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
2078 the version control system used.
2080 Manual: index refer to target "git-dist", not "cvs-dist".
2081 * doc/automake.texi (General Operation): Index the non-standard
2082 example about "git-dist" under the "git-dist" label, not under
2085 Perl modules: remove references to "Automake CVS repository".
2086 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
2087 git repository" rather than to "Automake's CVS repository".
2088 * lib/Automake/Configure_ac.pm: Likewise.
2089 * lib/Automake/FileUtils.pm: Likewise.
2090 * lib/Automake/Struct.pm: Likewise.
2091 * lib/Automake/XFile.pm: Likewise.
2092 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
2093 branches" rather than "CVS branches".
2095 Remove obsolete .cvsignore files.
2096 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
2097 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
2098 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
2099 savannah's CVS readonly mirror there's no way to commit back to
2100 the real repository, so this files are not worth maintaining or
2103 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2105 * m4/dmalloc.m4: Bump serial number and copyright years.
2107 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2109 Fix broken link in `AM_WITH_DMALLOC' help screen.
2110 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
2111 `http://www.dmalloc.com', not to the dmalloc tarball there (which
2112 seems to have been removed, substituted by multiple release
2115 2010-09-17 Eric Blake <eblake@redhat.com>
2117 Avoid triple-space after period.
2118 * automake.in (handle_single_transform): Avoid 3 spaces at
2120 * ChangeLog.03: Likewise.
2121 * lib/Automake/ChannelDefs.pm: Likewise.
2122 * lib/Automake/Channels.pm (_print_message): Likewise.
2123 * lib/Automake/Rule.pm (rule): Likewise.
2124 * lib/Automake/Variable.pm (var): Likewise.
2125 * lib/am/distdir.am: Likewise.
2126 * tests/insthook.test: Likewise.
2128 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
2130 Test automake-generated portions of configure help screen.
2131 * tests/help-depend.test: New test.
2132 * tests/help-depend2.test: Likewise.
2133 * tests/help-dmalloc.test: Likewise.
2134 * tests/help-init.test: Likewise.
2135 * tests/help-lispdir.test: Likewise.
2136 * tests/help-maintainer.test: Likewise.
2137 * tests/help-multilib.test: Likewise.
2138 * tests/help-regex.test: Likewise.
2139 * tests/help-silent.test: Likewise.
2140 * tests/help-upc.test: Likewise.
2141 * tests/mmode.test: Remove tests on `configure --help' output,
2142 they are superseded by tests in `help-maintainer.test'.
2143 * tests/Makefile.am (TESTS): Update.
2145 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2147 * tests/README: Don't put GCS mandated tools in $required.
2149 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2151 * HACKING: Hint at old commits with `git describe' output.
2153 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2155 Fix regression in test `colon4.test'.
2156 * tests/colon4.test: Fix botched editing to `configure.in'
2157 that made the test useless. Since we are at it, improve
2158 comments and make grepping of generated Makefile.in slightly
2160 Regression introduced by change "Modernize, improve and/or
2161 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
2163 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2165 Do not require "gzip" explicitly in tests.
2166 The gzip utility is simply expected to be present on any decent
2167 target system for Automake. So it's pointless to put it in
2169 * tests/install2.test ($required): Do not require "gzip".
2170 * tests/lex3.test: Likewise.
2171 * tests/pr9.test: Likewise.
2172 From a suggestion by Ralf Wildenhues.
2174 Make some `confh*.test' tests more "semantic" (plus tweakings).
2175 * tests/confh.test: Run "autoconf", "configure" and "make check",
2176 instead of munging/grepping the generated `Makefile.in'.
2177 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
2178 white spaces. Do not create useless dummy source file `foo.c'
2179 and useless dummy header file `acconfig.h'.
2180 (configure.in): Remove superfluous call to `AC_OUTPUT'.
2181 * tests/confh6.test: Add trailing `:' command.
2182 * tests/confh7.test: In comments, add reference to ...
2183 * tests/confh8.test: ... this new test, "semantic" sister
2185 * tests/Makefile.am (TESTS): Updated.
2186 Prompted by a report from Ralf Wildenhues.
2188 Remove useless whitespace padding in XFAIL_TESTS definition.
2189 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
2191 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2193 parallel-tests: avoid command-line length limit issue.
2194 * automake.in (handle_tests): New argument $makefile, new
2195 substitution %MAKEFILE%.
2196 (generate_makefile): Adjust.
2197 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
2198 sanitized TEST_LOGS value as makefile snippet on standard
2199 input to $(MAKE), to avoid exceeding the command line limit on
2202 Report by Bob Friesenhahn.
2204 Posix 2008 requires make to set errexit.
2205 * lib/am/check.am: Update comment.
2207 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
2209 Fix bug in test missing6.test.
2210 * tests/missing6.test: Fix the hack used to edit `configure.in',
2211 to avoid producing a configure script that breaks with shells
2212 that do not support $LINENO. Also throw in a couple of cosmetic
2215 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2217 Improve robustness of mdate-sh script.
2218 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
2219 $ls_command is word-split properly upon invocation.
2220 (error): New function.
2221 (main): Use it. Improve error checking to avoid endless loop
2222 in case $ls_command gave bogus output. Fix eval quotation.
2223 * tests/mdate6.test: New test, to expose eval quotation error.
2224 * tests/Makefile.am: Update.
2226 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
2228 Fix potential regressions in depcomp{3,5}.test.
2229 * tests/depcomp3.test: Do not uselessly escape the character `$'
2230 in makefile rules, when it's used to expand a make macro.
2231 * tests/depcomp5.test: Likewise.
2233 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2234 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2236 Docs: clarify how to avoid automatic dependencies tracking.
2237 * doc/automake.texi (Automatic dependency tracking): Mention that
2238 automatic dependencies tracking is enabled by default, but that
2239 the package developer can disable it altogether. Add a reference
2240 to the proper section for a more in-depth explanation.
2242 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
2243 * doc/automake.texi (Automatic dependency tracking): Fix typo.
2245 2010-08-16 Bruno Haible <bruno@clisp.org>
2247 Don't hide the table of contents.
2248 * doc/automake.texi: Move the table of contents to the beginning.
2250 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
2252 Tweak and/or extend some `acloca*.test' tests.
2253 * tests/aclocal8.test: Ensure verbose printing of captured
2255 * tests/aclocal.test: Likewise. Also, add trailing `:'
2257 * tests/acloca19.test: Likewise.
2258 * tests/aclocal5.test: Add trailing `:' command, and prefer
2259 `$me' over hard-coded test name.
2260 * tests/aclocal6.test: Likewise.
2261 * tests/aclocal18.test: Add trailing `:' command, and make
2262 some grepping slightly stricter.
2263 * tests/acloca14.test: Likewise. Also, prefer `diff' over
2264 `cmp', and add some "cosmetic" blank lines.
2266 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2268 Tweak and extend tests `pr[!0-9]*.test'.
2269 * tests/primary3.test: Add trailing `:' command.
2270 * tests/primary.test: Make grepping of Automake's stderr stricter.
2271 Also, add trailing `:' command, and cosmetic changes in spacing.
2272 * tests/primary2.test: Likewise.
2273 * tests/prefix.test: Enable `errexit' shell flags, and related
2274 changes. Add a trailing `:' command.
2275 * tests/proginst.test: Likewise.
2277 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
2278 * tests/pr2.test: Add trailing `:' command.
2279 * tests/pr229.test: Likewise.
2280 * tests/pr401.test: Likewise.
2281 * tests/pr401b.test: Likewise.
2282 * tests/pr401c.test: Likewise.
2283 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
2285 * tests/pr300-lib.test: Likewise.
2286 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
2287 of captured make stdout.
2288 * tests/pr211.test: Add trailing `:' command. Also, use the
2289 `configure.in' stub created by ./defs, rather than writing it
2291 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
2292 * tests/pr287.test: Likewise, and move setting of `errexit' shell
2293 flag earlier in the script (just after inclusion of ./defs).
2294 * tests/pr220.test: Make grepping of Automake's stderr stricter.
2295 Also, add trailing `:' command, and cosmetic changes in spacing.
2296 * tests/pr224.test: Move setting of `errexit' shell flag earlier
2297 in the script (just after inclusion of ./defs). Do not export
2298 `CC=gcc' to configure explicitly (it's already exported globally
2299 in ./defs, since we have "gcc" in $required). Use the stub for
2300 `configure.in' created by ./defs, rather than writing it from
2301 scratch. Do not create dummy files required by "gnu" mode (e.g.
2302 README, NEWS), since we run automake in foreign mode anyway.
2303 * tests/pr72.test: Enable `errexit' shell flags, and related
2304 changes. Extend existing checks a bit.
2305 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
2306 the generated `configure.in', and extend existing checks over the
2307 generated tarball a bit.
2308 * tests/pr87.test: Enable `errexit' shell flags, and related
2309 changes. Add a trailing `:' command. Also, do not create dummy
2310 files required by "gnu" mode (e.g. README, NEWS), since we run
2311 automake in foreign mode anyway.
2312 * tests/pr243.test: Avoid obsolescent constructs in the generated
2313 `configure.in'. Enable the `errexit' shell flag, and related
2314 changes. Cosmetic changes to spacing, add trailing `:' command,
2315 and add a "FIXME" comment.
2316 * tests/pr266.test: Likewise, and add explicit command line switch
2317 `--enable-dependecy-tracking' to the ./configure call.
2318 * tests/pr279.test: Avoid obsolescent constructs in the generated
2319 `configure.in'; also, use the `configure.in' stub created by
2320 ./defs, rather than writing it from scratch. Enable `errexit'
2321 shell flag, and related changes. Add trailing `:' command.
2322 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
2324 * tests/pr307.test: Move setting of `errexit' shell flag earlier
2325 in the script (just after inclusion of ./defs). Escape literal
2326 dots in grep regular expressions. Also, add a trailing `:'
2327 command, and cosmetic changes to spacing.
2329 Tests for PR: add excerpts from original bug report, for clarity.
2330 * tests/pr2.test: Ditto.
2331 * tests/pr9.test: Likewise.
2332 * tests/pr72.test: Likewise.
2333 * tests/pr87.test: Likewise.
2334 * tests/pr211.test: Likewise.
2335 * tests/pr220.test: Likewise.
2336 * tests/pr224.test: Likewise.
2337 * tests/pr229.test: Likewise.
2338 * tests/pr243.test: Likewise.
2339 * tests/pr266.test: Likewise.
2340 * tests/pr279.test: Likewise, and tell to keep it in sync
2341 with its sister test.
2342 * tests/pr279-2.test: Likewise.
2344 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2346 Tweak, extend and improve tests `cond[a-z]*.test'.
2347 * tests/condd.test: Add trailing `:' command. Typofix in
2349 * tests/condhook.test: Make sure target `install-data-hook' is
2350 not called by `make install', but that data files are installed.
2351 Use proper m4 quoting in configure.in. Add trailing `:' command.
2352 * tests/condhook2.test: New test, sister test of condhook, with
2354 * tests/condinc2.test: Use proper m4 quoting in configure.in.
2355 Prefer trailing `:' command over trailing `Exit 0'.
2356 * tests/condman2.test: Enable errexit shell flag, and related
2357 changes. Add trailing `:' command.
2358 * tests/condman.test: Likewise. Also, do not create useless
2359 dummy manpages, and use proper m4 quoting in configure.in.
2360 * tests/condman3.test: New test, similar to condman.test, but
2361 it also runs ./configure and "make install", and check the
2363 * tests/Makefile.am (TESTS): Updated.
2365 Modernize, improve and/or extend tests `colon*.test.
2366 * tests/colon.test: Rely on the `configure.in' stub created by
2367 `./defs', rather than writing one from scratch. Do not create
2368 a useless dummy file. Add trailing `:' command.
2369 * tests/colon4.test: Enable the `errexit' shell flag, and
2370 related changes. Rely on the `configure.in' stub created by
2371 `./defs', rather than writing one from scratch.
2372 * tests/colon7.test: Enable `errexit' shell flag, and related
2373 changes. Improve the generated `configure.in' file. Add
2374 trailing `:' command.
2375 * tests/colon2.test: Likewise. Also, add some new checks.
2376 * tests/colon5.test: Improve the generated `configure.in' file.
2377 Add new, much deeper checks. Add trailing `:' command.
2378 * tests/colon6.test: Likewise.
2379 * tests/colon3.test: Add trailing `:' command. Remove useless
2380 comments and echos. Improve the generated `configure.in' file.
2381 make some grepping tests stricter. Add a "FIXME" comments about
2382 planned improvements.
2384 Improve and extend tests `asm*.test'.
2385 * tests/asm.test: Use configure.in stub generated by ./defs,
2386 and avoid obsoleted autoconf constructs. Make grepping of
2387 Automake stderr stricter. Do not create useless source file.
2388 Improve verbose messages. Minor cosmetic changes. Tell to
2389 keep it in sync with other sister tests asm*.test.
2390 * tests/asm2.test: Likewise.
2391 * tests/asm3.test: Likewise.
2393 Modernize, improve and/or extend test scripts `conf*.test'.
2394 * tests/confh5.test: Cosmetic changes.
2395 * tests/conff.test: Likewise.
2396 * tests/confdeps.test: Likewise.
2397 * tests/conflnk.test: Likewise.
2398 * tests/conflnk2.test: Likewise.
2399 * tests/confsub.test: Likewise.
2400 * tests/confvar.test: Likewise, and make grepping of Makefile.in
2402 * tests/confvar2.test: Likewise.
2403 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
2404 disabled test (which didn't work with autoconf <= 2.59, but now we
2405 are requiring autoconf 2.62, so...)
2406 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
2407 accordingly to "TODO" comments.
2408 * tests/conff2.test: Make grepping of Automake's stderr stricter.
2409 Add some comments explaining why we don't use the `configure.in'
2410 stub preset be ./defs.
2411 * tests/confh.test: Use the `configure.in' stub created by ./defs,
2412 rather than writing one from scratch, and do not call AC_OUTPUT.
2413 Enable `errexit' shell flag, and related changes. Prefer diff over
2414 cmp to compare text files. Prefer perl over sed to fetch the value
2415 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
2416 of $(DIST_COMMON) stricter.
2417 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
2418 rather than writing one from scratch. Make grepping of Makefile.in
2420 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
2422 * tests/configure.test: Avoid obsolescent constructs in generated
2423 `configure.ac'. Do not write `configure.in' two times. Escape
2424 literal dots in grep regular expressions.
2425 * tests/confincl.test: Enable `errexit' shell flag, and related
2426 changes. Prefer fgrep over grep. Other cosmetic changes.
2427 * tests/config.test: Renamed to ...
2428 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
2429 and make grepping of `config.h' and `config.h.in' stricter.
2430 * tests/conf2.test: Renamed ...
2431 * tests/confh7.test: ... to this. Use the `configure.in' stub
2432 created by ./defs, rather than writing one from scratch. Try to
2433 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
2435 * tests/Makefile.am (TESTS): Updated.
2437 Minor improvements and fixes in tests `depcomp*.test'.
2438 * tests/depcomp.test: Do not create useless dummy source files.
2439 Add a trailing `:' command.
2440 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
2441 it's not in in the environment, rather than exporting it with an
2442 empty value. Do not pass CC=gcc to configure, as that's already
2443 done in ./defs since we have gcc in $required. Ensure verbose
2444 printing of captured stderr, and normalize its checking. Add a
2445 trailing `:' command.
2446 * tests/depcomp3.test: Quote literal dots and dollar characters in
2447 grep regexps. Always use `: >' rather than `touch' to create empty
2448 files. Explicitly declare phony targets as such in the created
2449 Makefile.am. Add a trailing `:' command.
2450 * tests/depcomp4.test: Quote literal dots and dollar characters in
2451 grep regexp. Explicitly declare phony targets as such in the
2452 created Makefile.am. Ensure verbose printing of captured makes'
2453 stoud/stderr. Add a trailing `:' command.
2454 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
2455 in the script (just after inclusion of ./defs). Quote literal dots
2456 and dollar characters in grep regexps. Explicitly declare phony
2457 targets as such in the created Makefile.am. Add a trailing `:'
2459 * tests/depcomp6.test: Consistently use m4 quoting in the generated
2460 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
2461 statement required by OpenBSD's sh `set -e' more robust, and add
2462 explanatory comments to it.
2463 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
2465 Separate failing part of test `all.test'.
2466 * tests/all.test: Keep only (x)failing part of the test. Working
2467 checks moved out to ...
2468 * tests/all2.test: ... this new test.
2469 * tests/Makefile.am (TESTS): Updated.
2471 Modernize, improve and extend tests `subobj*.test'.
2472 * tests/subobjname.test: Add trailing `:' command.
2473 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
2474 Escape literal dots in grep regexps.
2475 * tests/subobj2.test: Add trailing `:' command. Do not use the
2476 unportable fgrep option `-e'.
2477 * tests/subobj3.test: Add trailing `:' command.
2478 (configure.in): Use proper m4 quoting, and avoid obsolescent
2480 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
2481 flag, with related changes
2482 * tests/subobj4.test: Likewise. Also, make grepping of
2483 `Makefile.in' stricter.
2484 * tests/subobj5.test: Add trailing `:' command. Move setting of
2485 `errexit' shell flag earlier in the script (just after inclusion
2487 (configure.in): Use the stub created by `./defs', rather than
2488 writing it from scratch, and avoid obsolescent constructs.
2489 * tests/subobj6.test: Add trailing `:' command. Move setting of
2490 `errexit' shell flag earlier in the script (just after inclusion
2491 of ./defs). Do not create useless dummy ac-init file `f'.
2492 * tests/subobj7.test: Do not create useless dummy ac-init file
2494 (configure.in): Use the stub created by `./defs', rather than
2495 writing it from scratch, and avoid obsolescent constructs.
2496 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
2497 in the script (just after inclusion of ./defs). Fail the test if
2498 `make distcheck' fails. Ensure verbose printing of captured make
2499 stdout. Avoid useless fork by doing simple grep instead of using
2500 test -n "`COMMAND | grep ...`".
2501 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
2502 (Makefile.am): Explicitly mark target "print" as phony.
2503 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
2504 trailing `:' command.
2505 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
2507 Remove a couple of obsoleted tests.
2508 * tests/fpinstall.test: Removed.
2509 * tests/fpinst2.test: Likewise.
2510 * tests/Makefile.am (TESTS): Updated.
2512 Bootstrap: updated HACKING entry.
2513 * HACKING ("Working with git"): Explain how to override the
2514 autoconf and autom4te programs used by the bootstrap process.
2517 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
2518 since we don't generate it. Correctly quote arguments of
2519 `eval' builtin. Fixed a botched error message. Removed an
2522 Bootstrap: don't search perl in $PATH.
2523 * bootstrap: Do not explicitly search perl in $PATH anymore.
2524 ($PATH_SEPARATOR): Removed, it's no more needed.
2526 Bootstrap: let the user choose which autoconf to use.
2527 * bootstrap ($AUTOCONF): New variable, from the environment.
2528 ($AUTOM4TE): Likewise, for clarity.
2529 Use "$AUTOCONF" instead of calling "autoconf" directly.
2531 Minor improvements to tests ar*.test.
2532 * tests/ar.test: Add trailing `:' command.
2533 * tests/ar2.test: Likewise, and make grepping of generated
2534 Makefile.in stricter.
2536 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2538 Fix maintainer-check failure.
2539 * tests/cond5.test: Quote sleep argument, this isn't about
2540 time stamp differences.
2542 Sync auxiliary files from upstream.
2543 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
2546 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2548 Work around a nasty bug (segfault) of Solaris make.
2549 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
2550 from $list, to avoid triggering a nasty bug (potential segfault)
2553 2010-08-06 Peter Rosin <peda@lysator.liu.se>
2555 Make cond5.test more robust on MSYS.
2556 * tests/cond5.test: Add delay before the first kill attempt to
2557 cater for problems with MSYS bash.
2559 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2561 Add example git work flow; discuss merge --log in HACKING.
2563 Suggestion by Stefano Lattarini.
2565 Add more hints for debugging make rules.
2566 * doc/automake.texi (Debugging Make Rules): Show command to find
2567 out expanded values of variables; point to makefile debugger.
2569 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
2571 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
2573 Fix typo in the manual.
2574 * doc/automake.texi (Scripts): Fix typo.
2576 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2578 Document current policy for development with git.
2579 * HACKING (Working with git): Overhaul.
2580 Prompted by suggestion from Stefano Lattarini.
2582 Fix AM_COND_IF for gone-invalid condition shell expression.
2583 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
2584 variable, rather than re-evaluating the shell expression for
2586 * tests/cond40.test: Extend test.
2589 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
2590 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
2591 to avoid shell syntax error if the m4 expansion is empty.
2592 * tests/cond40.test: Enhance test.
2594 Coverage: bogus option to AM_INIT_AUTOMAKE.
2595 * tests/init2.test: New test.
2596 * tests/Makefile.am: Update.
2598 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2600 Modernize and improve test scripts `subdir*.test'.
2601 * tests/subdir.test: Enable `errexit' shell flag, and related
2602 changes. Use the `configure.in' stub created by `./defs',
2603 rather than writing one from scratch.
2604 * tests/subdir2.test: Likewise.
2605 * tests/subdir4.test: Likewise.
2606 * tests/subdir3.test: Enable `errexit' shell flag, and related
2607 changes. Do not create useless dummy source files.
2608 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
2609 and in subdirs) stricter. Some minor changes to keep it more
2610 in sync with the related test `subdir8.test'.
2611 * tests/subdir8.test: Likewise (but with the related test being
2612 `subdir5.test' here).
2613 * tests/subdir6.test: Cosmetic change in spacing.
2614 * tests/subdir9.test: Define and use new variable `$distdir'. Add
2615 trailing `:' command.
2616 * tests/subdir10.test: Cosmetic consistency-related change.
2617 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
2618 (configure.in): Use stub created by `./defs', rather than writing
2619 it from scratch. Do not use obsoleted and/or deprecated forms of
2620 autoconf/automake macros.
2622 Modernize and improve test scripts `dist*.test'.
2623 * tests/distcleancheck.test: Do not add useless `-e' option to
2624 a $MAKE call. Extend test by grepping stderr of make.
2625 * tests/distcom2.test: Do not run the same test script on the
2626 Makefile.in twice, but save its output in an intermediate file
2627 instead. Make grepping of DIST_COMMON definition stricter.
2628 Display the content of more files, to ease debugging. Add a
2629 trailing `:' command. Improved heading comments w.r.t. sister
2631 * tests/distcom6.test: Likewise, and avoid to uselessly run
2633 * tests/distcom3.test: Ensure verbose printing of captured stdout
2634 and stderr. Make grepping of captured stderr stricter. Also,
2635 add trailing `:' command.
2636 * tests/distcom4.test: Declare the target `test' in the generated
2637 Makefile.am as `.PHONY'. Display content of more files, to ease
2638 debugging. Add trailing `:' command.
2639 * tests/distcom5.test: Likewise. Also, factor out common sed
2640 script in subroutine `extract_distcommon'.
2641 * tests/distcom7.test: Prefer cat + here-doc over echo to write
2642 test Makefile.am files. Add a trailing `:' command.
2643 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
2644 call to `set -e' earlier. Be stricter and more verbose in the
2645 checking of the generated tarball.
2646 (configure.in): Use the stub provided by ./defs, instead of
2647 writing it from scratch. Avoid obsoleted constructs. Remove
2648 useless call to `AM_PROG_CC_C_O'.
2649 * tests/distdir.test: Various minor improvements/normalizations.
2650 * tests/distlinks.test: Likewise.
2652 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
2654 Improve and extend test cond5.test.
2655 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
2656 the background automake process, but poll it every 10 seconds for
2657 at most 30 times (this makes the test both faster on good machines,
2658 and more resilient to spurious timeout-due failures when in low
2659 priority or on heavily-loaded systems).
2660 Check also that automake writes the expected error messages on the
2662 Enable `errexit' flag, and related changes.
2663 Rely on the `configure.in' stub created by `./defs', rather than
2664 writing one from scratch.
2666 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2668 Update program --help output to match current GCS.
2669 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
2670 is not defined, for compatibility to Autoconf < 2.64.
2671 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
2673 (sc_diff_automake_in_automake): Update number of diff lines for
2674 additional substitutions.
2675 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
2676 home page and GNU general help page.
2677 * automake.in (usage): Likewise.
2678 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
2680 (Introduction, Creating amhello, amhello Explained, Options):
2682 * lib/Automake/Makefile.am (do_subst): Substitute
2684 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
2685 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
2688 Clean up @var handling in the manual.
2689 * doc/automake.texi: Throughout the manual, lower-case @var
2690 names, replace a few one-character names.
2692 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
2694 Fix typo-related bug in test script silent5.test.
2695 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
2698 Tests: remove useless repetitions of `foreign' automake option.
2699 * tests/multlib.test (configure.in): Remove useless use of
2700 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
2701 already in $AUTOMAKE by default, so no point in repeating it).
2702 * tests/subobj10.test: Likewise.
2703 * tests/subobj9.test: Likewise.
2704 * tests/lex3.test (Makefile.am): Similarly, remove useless use
2705 of `foreign' option in AUTOMAKE_OPTIONS.
2706 * tests/lex5.test: Likewise.
2707 * tests/pr279.test: Likewise.
2708 * tests/pr279-2.test: Likewise.
2709 * tests/specflg3.test: Likewise.
2710 * tests/target-cflags.test: Likewise.
2712 Drop useless requirement "gzip" in lex5.test.
2713 * tests/lex5.test ($required): Do not list "gzip", as it's
2716 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
2718 Fix bugs in test script silent5.test.
2719 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
2720 instead of egrep) that could have led to false negatives.
2722 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2724 Add a test checking that distributed broken symlinks cause
2725 `make dist' to fail.
2726 * tests/distlinksbrk.test: New test.
2727 * tests/Makefile.am (TESTS): Updated.
2729 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2731 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
2732 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
2733 and AM_LFLAGS, LFLAGS in the order in which they now appear in
2736 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
2737 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
2738 please maintainer-check. Ensure generated C files contain a
2739 declaration, to please compilers.
2741 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2743 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
2744 $(FLAGS) precedence.
2745 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
2746 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
2747 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
2748 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
2751 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
2752 $(AM_FLAGS) and $(FLAGS) precedence.
2753 * tests/lflags.test: New test, check that user $(LFLAGS) takes
2754 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
2756 * tests/lflags2.test: Likewise.
2757 * tests/yflags.test: New test, check that user $(YFLAGS) takes
2758 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
2760 * tests/yflags2.test: Likewise.
2761 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
2763 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2765 Modernize, improve and extend tests `suffix*.test'.
2766 * tests/suffix3.test: Enable `errexit' shell flag, and related
2768 * tests/suffix4.test: Likewise.
2769 * tests/suffix6.test: Likewise, and do not create a useless dummy
2771 * tests/suffix7.test: Likewise.
2772 * tests/suffix5.test: Enable `errexit' shell flag, and related
2773 changes. Make grepping of Makefile.in slightly stricter.
2774 * tests/suffix.test: Enable `errexit' shell flag, and related
2775 changes. Also, do not redirect grep output to /dev/null, as this
2776 might unmotivatedly hide useful information.
2777 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
2778 in the script (just after inclusion of ./defs). Use a more
2779 idiomatic way to count text occurrences in Makefile.in with
2780 grep. Do not create useless dummy source files.
2781 * tests/suffix10.test: Ensure verbose printing of captured make
2782 stdout. Minor cosmetic changes.
2783 * tests/suffix8.test: Likewise. Also, drop useless call to the
2784 env(1) utility, and make grepping of make output stricter by using
2785 $FGREP rather than plain grep.
2786 * tests/suffix11.test: Likewise.
2787 * tests/suffix12.test: Likewise.
2788 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
2789 the `configure.in' stub. Cosmetic changes.
2790 * tests/suffix13.test: Cosmetic spacing change.
2792 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
2794 Add useful comment in test script ext.test.
2795 * tests/ext.test: Add a comment explaining why an apparently
2796 useless `if' statement is indeed required.
2798 Add useful comment in test script obsolete.test.
2799 * tests/obsolete.test: Add a comment explaining why we need
2800 an indirection in adding $AUTOUPDATE to $required.
2802 Normalize whitespaces in 'tests/Makefile.am'.
2803 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
2804 definition of this variable.
2806 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2808 Remove a couple of unneeded conditionals from tests.
2809 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
2810 for the FOOTEST conditional.
2812 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2814 Modernize, improve and/or fix various test scripts.
2815 * tests/symlink3.test: Deleted, separated into two new, more
2817 * tests/forcemiss.test: ... this one ...
2818 * tests/forcemiss2.test: ... and this one.
2819 * tests/symlink2.test: Enable `errexit' shell flag, make test
2820 stricter, and skip it if symlink creation is not supported.
2821 * tests/postproc.test: Enable `errexit' shell flag, related
2822 changes, and a couple of unrelated cosmetic changes.
2823 * tests/recurs.test: Use the `configure.in' stub created by
2824 `./defs', rather than writing one from scratch. Make grepping
2825 of Automake stderr slightly stricter.
2826 * tests/substtarg.test: Likewise.
2827 * tests/strip.test: Likewise, and move the call to `set -e'
2828 earlier (just after the inclusion of `./defs'). Also, make sure
2829 that the script installed by `make install-script' is equal to
2831 * tests/substref.test: Use the `configure.in' stub created by
2832 `./defs', rather than writing one from scratch. Move the call
2833 to `set -e' earlier (just after the inclusion of `./defs').
2834 Avoid to explicitly export CC for configure (that's already done
2835 in ./defs). Avoid potential problems with unpredictable make
2836 output. Finally, make grepping of Makefile.in stricter.
2837 * tests/substre2.test: Ensure verbose printing of the captured
2838 make's output, and make its grepping slightly stricter.
2839 * tests/cygwin32.test: Enable `errexit' shell flag, and related
2840 changes. Also, do not create useless dummy source/data files.
2841 * tests/scripts.test: Likewise.
2842 * tests/recurs2.test: Likewise. Also, use the `configure.in'
2843 stub created by `./defs'.
2844 * tests/Makefile.am (TESTS): Updated.
2846 Modernize, improve and/or fix tests `pluseq*.test.
2847 * tests/pluseq5.test: Append to configure.in using cat with an
2848 here-doc, not using echo.
2849 * tests/pluseq10.test: Make sure that the captured output of
2850 `make' command is always displayed. Where possible, use $FGREP
2851 instead of grep (this change makes some checks slightly stricter).
2852 * tests/pluseq8.test: Enable `errexit' shell flag, with related
2854 * tests/pluseq.test: Likewise. Also, do not create useless dummy
2855 data files, and use better m4 quoting in generated configure.in.
2856 * tests/pluseq2.test: Likewise. Also, append to configure.in
2857 using cat with an here-doc, not using echo.
2858 * tests/pluseq3.test: Likewise.
2859 * tests/pluseq4.test: Likewise.
2860 * tests/pluseq6.test: Likewise.
2861 * tests/pluseq7.test: Do not create useless dummy source file.
2862 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
2863 Automake stderr. Some unrelated cosmetic changes.
2865 Testsuite: ensure verbose printing of captured stderr.
2866 * tests/acloca18.test: Print captured stderr before either failing
2867 or grepping it. Be sure to send captured stderr to stderr, not to
2869 * tests/ansi3b.test: Likewise.
2870 * tests/cond39.test: Likewise.
2871 * tests/configure.test: Likewise.
2872 * tests/missing3.test: Likewise.
2873 * tests/missing6.test: Likewise.
2874 * tests/output-order.test: Likewise.
2875 * tests/pr300-ltlib.test: Likewise.
2876 * tests/python6.test: Likewise.
2877 * tests/python7.test: Likewise.
2878 * tests/python8.test: Likewise.
2879 * tests/python9.test: Likewise.
2880 * tests/subobj.test: Likewise.
2881 * tests/vars3.test: Likewise.
2882 * tests/missing4.test: Likewise, and fix a call to grep not to use
2884 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
2885 created by `./defs', rather than writing one from scratch.
2887 Enable `errexit' shell flag in various tests.
2888 * tests/backsl.test: Enable the `errexit' shell flag, and
2890 * tests/backsl2.test: Likewise.
2891 * tests/block.test: Likewise.
2892 * tests/canon2.test: Likewise.
2893 * tests/canon4.test: Likewise.
2894 * tests/comment2.test: Likewise.
2895 * tests/condlib.test: Likewise.
2896 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
2897 * tests/canon3.test: Likewise. Also, avoid to create an useless
2899 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
2900 related changes. Do some cosmetic improvements in the generated
2901 `configure.in' file.
2902 * tests/cond4.test: Likewise.
2903 * tests/cond14.test: Likewise.
2904 * tests/condinc.test: Likewise.
2905 * tests/cond7.test: Likewise. Also, remove useless setting of
2906 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
2907 * tests/ansi.test: Enable the `errexit' shell flag, and related
2908 changes. Extended, esp. by running autoconf, ./configure and
2909 make, and by looking into the distdir.
2911 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2912 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2914 Extend tests/README w.r.t. trailing `:' in test scripts.
2915 * tests/README (section "Writing test cases" subsection "Do"):
2916 Explain why apparently redundant trailing `:' and `Exit 0' in
2917 test scripts can indeed be useful.
2919 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2921 Improve determination of PATH separator in bootstrap script.
2922 * bootstrap: Determine what the PATH separator is the same way
2925 Minor improvements in bootstrap script.
2926 * bootstrap: Consistently use two-spaces indentation. Cosmetic
2927 improvement to comments.
2928 ($me): New variable, containing program basename.
2929 Prepend it to all error messages.
2931 Testsuite now works with BSD make in parallel mode.
2932 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
2933 which are exported by BSD make when run in parallel mode, and
2934 which can confuse make processes spawned by our testsuite.
2935 This change fixes a lot of spurious failure when the testsuite
2936 is run with BSD make in parallel mode.
2938 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2940 Modernize, improve and/or fix various test scripts.
2941 * tests/sanity.test: Rely on the `configure.in' stub created by
2942 `./defs', rather than writing one from scratch.
2943 * tests/depend2.test: Likewise. Also, call `set -e' just after
2944 the inclusion of `./defs', instead that later in the script.
2945 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
2946 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
2947 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
2948 Make auxiliary rules in the generated Makefile more silent.
2949 These changes make some checks slightly stricter.
2950 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
2951 * tests/gettext2.test: Place final `:' at the end of the script,
2952 rather than in the middle.
2953 * tests/exeext.test: Call `set -e' just after the inclusion of
2954 `./defs', instead that later in the script.
2955 * tests/extra5.test: Likewise.
2956 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
2957 plain `mv', just to be sure.
2958 * tests/depcomp.test: Enable `errexit' shell flag, with related
2959 changes. Also, modernize the generated configure.in.
2960 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
2961 stub created by `./defs', rather than writing one from scratch.
2962 * tests/cond10.test: Likewise.
2963 * tests/depcomp2.test: Likewise.
2964 * tests/depend3.test: Likewise.
2965 * tests/distcom7.test: Likewise.
2966 * tests/fortdep.test: Likewise. Also, remove definition of
2967 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
2968 since that flag is already provided by $AUTOMAKE.
2969 * tests/mdate.test: Made stricter, by checking that Automake
2970 actually failed, and by making a stricter grep on the error
2971 message. Also, set shell `errexit flag'.
2972 * tests/python2.test: Improved verbose messages.
2974 Make test `ammissing.test' stricter.
2975 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
2976 Enable `errexit' shell flag.
2978 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2980 Enable `errexit' shell flag in some test scripts.
2981 * tests/subcond.test: Enabled `errexit' shell flag, and related
2983 * tests/subst.test: Likewise.
2984 * tests/vars.test: Likewise.
2985 * tests/version4.test: Likewise.
2986 * tests/vpath.test: Likewise.
2987 * tests/vtexi2.test: Likewise.
2988 * tests/werror.test: Likewise.
2989 * tests/whoami.test: Likewise.
2990 * tests/tags.test: Likewise, and avoid to crate an useless dummy
2992 * tests/acsilent.test: Likewise, and don't use an easily-avoided
2993 command substitution.
2994 * tests/unused.test: Likewise, and don't use an easily-avoided
2995 command substitution.
2996 * tests/version.test: Likewise, and avoid deprecated constructs
2997 in the generated `configure.in'.
2998 * tests/version2.test: Likewise, and avoid deprecated constructs
2999 in the generated `configure.in'.
3001 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3003 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
3004 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
3005 the verbose log contains all output.
3006 * tests/mdate.test: Likewise.
3007 Prompted by Stefano Lattarini's change to discover.test.
3009 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
3011 Improve tests link*.test (enable `errexit' shell flag).
3012 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
3013 changes. Also, do not create useless source files.
3014 * tests/link_dist.test: Likewise.
3015 * tests/link_f90_only.test: Likewise.
3016 * tests/link_f_only.test: Likewise.
3017 * tests/link_fc.test: Likewise.
3018 * tests/link_fccxx.test: Likewise.
3019 * tests/link_fcxx.test: Likewise.
3021 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3023 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
3024 * tests/ext.test: Inside shell compound command, use
3025 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
3026 fix failure with OpenBSD sh introduced with last patch.
3027 Actually ensure that a rule for .EXT.o is created for each
3028 known extension EXT.
3030 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
3032 Enable `errexit' shell flag in some test scripts.
3033 * tests/dash.test: Enable `errexit' shell flag, and related
3035 * tests/defun.test: Likewise.
3036 * tests/defun2.test: Likewise.
3037 * tests/dejagnu.test: Likewise.
3038 * tests/double.test: Likewise.
3039 * tests/distcom2.test: Likewise.
3040 * tests/empty2.test: Likewise.
3041 * tests/empty3.test: Likewise.
3042 * tests/empty4.test: Likewise.
3043 * tests/exdir.test: Likewise.
3044 * tests/ext.test: Likewise.
3045 * tests/extra.test: Likewise.
3046 * tests/extra2.test: Likewise.
3047 * tests/extra3.test: Likewise.
3048 * tests/extra4.test: Likewise.
3049 * tests/flibs.test: Likewise.
3050 * tests/fnoc.test: Likewise.
3051 * tests/fo.test: Likewise.
3052 * tests/instexec.test: Likewise.
3053 * tests/ltdeps.test: Likewise.
3054 * tests/nodep.test: Likewise.
3055 * tests/nodepcomp.test: Likewise.
3056 * tests/f90only.test: Likewise, and remove botched/obsoleted
3057 comments and unnecessary commands.
3058 * tests/fonly.test: Likewise, and remove botched/obsoleted
3059 comments and unnecessary commands.
3060 * tests/discover.test: Likewise, and made stricter.
3062 Enable `errexit' shell flag in all tests cxx*.test.
3063 * tests/cxx.test: Enabled `errexit' shell flag, and related
3065 * tests/cxxansi.test: Likewise.
3066 * tests/cxxcpp.test: Likewise.
3067 * tests/cxxlibobj.test: Likewise.
3068 * tests/cxxlink.test: Likewise.
3069 * tests/cxxo.test: Likewise.
3071 Enable `errexit' shell flag in various tests.
3072 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
3074 * tests/acoutpt.test: Likewise.
3075 * tests/acoutqnl.test: Likewise.
3076 * tests/amassign.test: Likewise.
3077 * tests/ansi2.test: Likewise.
3078 * tests/ansi4.test: Likewise.
3079 * tests/badprog.test: Likewise.
3080 * tests/checkall.test: Likewise.
3081 * tests/clean.test: Likewise.
3082 * tests/colneq2.test: Likewise.
3083 * tests/colon.test: Likewise.
3084 * tests/colon5.test: Likewise.
3085 * tests/colon6.test: Likewise.
3086 * tests/comment.test: Likewise.
3087 * tests/compile_f90_c_cxx.test: Likewise.
3088 * tests/compile_f_c_cxx.test: Likewise.
3089 * tests/cond3.test: Likewise.
3090 * tests/cond6.test: Likewise.
3091 * tests/cond13.test: Likewise.
3092 * tests/conf2.test: Likewise.
3093 * tests/confvar.test: Likewise.
3094 * tests/confvar2.test: Likewise.
3095 * tests/cond8.test: Likewise, plus a cosmetic change.
3096 * tests/confh4.test: Likewise. Also, add in the heading comments
3097 an excerpt from the original bug report which motivated the
3098 creation of this test, to make its purpose clearer.
3100 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3102 Rewrite manual to be gender-neutral.
3103 * doc/automake.texi (GNU Build System)
3104 (Standard Directory Variables, General Operation, CVS)
3105 (Hard-Coded Install Paths, Dependencies As Side Effects):
3106 Rewrite text to not contain gender-specific pronouns when
3107 speaking about developers or users, either by avoiding pronouns
3108 or by addressing them as `you' instead.
3110 Report by Christina Gratorp.
3114 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
3116 Make tests on user extensibility of silent-rules mode stricter.
3117 * tests/silent6.test: Made stricter w.r.t. the grepping of the
3118 output produced by `make'.
3119 * tests/silent7.test: Likewise.
3121 Tests on silent-mode for C/Libtool made stricter.
3122 * tests/silent.test: Made stricter w.r.t. the grepping of the
3123 output produced by `make'.
3124 * tests/silent2.test: Likewise.
3125 * tests/silent4.test: Likewise.
3126 * tests/silent9.test: Likewise.
3127 * tests/silent3.test: Likewise, and add a final `make distclean'
3128 command to keep it better in sync with tests/silent{4,9}.test.
3130 Improved test silent5.test.
3131 * tests/silent5.test: Remove by hand all generated C files after
3132 non-verbose builds, to ensure the following builds are clean.
3133 Try to clean and rebuild with the same verbosity and without
3134 removing generated sources in between, to check that this does
3135 not trigger a different set of rules. Make grepping of make's
3136 output stricter. Improved/added some comments.
3138 New tests for Automake silent-mode with Fortran.
3139 * tests/silentf77.test: New test.
3140 * tests/silentf90.test: Likewise.
3141 * tests/Makefile.am (TESTS): Updated accordingly.
3143 New test `silentcxx.test' (Automake silent-mode with C++).
3144 * tests/silentcxx.test: New test.
3145 * tests/Makefile.am (TESTS): Updated accordingly.
3147 New test `silentyacc.test' (Automake silent-mode with Yacc).
3148 * tests/silentyacc.test: New test.
3149 * tests/Makefile.am (TESTS): Updated accordingly.
3151 New test `silentlex.test' (Automake silent-mode with Lex).
3152 * tests/silentlex.test: New test.
3153 * tests/Makefile.am (TESTS): Updated accordingly.
3155 Relax tests on silent-rules to cater to overly verbose makes.
3156 * tests/silent.test: When testing silent builds, don't fail if
3157 make's output simply contains the `mv' substring, but only if
3158 it contains the `mv ' substring (note the trailing space).
3159 * tests/silent2.test: Likewise.
3160 * tests/silent3.test: Likewise.
3161 * tests/silent4.test: Likewise.
3162 * tests/silent5.test: Likewise.
3163 * tests/silent9.test: Likewise.
3165 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3167 Fix silent-rules output for disabled dependency tracking.
3168 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
3169 expansion code to also work in the case where %AMDEP% expands
3170 to FALSE at config.status time, using new substitution string
3172 * automake.in (verbose_nodep_flag): New function, appending
3173 `@am__nodep@' to the verbose-variable name.
3174 (handle_languages): If dependencies are not disabled, use it to
3175 set %VERBOSE-NODEP%.
3176 * m4/depend.m4: Substitute am__nodep as '_no', so the second
3177 verbose-variable will always expand to an empty string, if
3178 dependencies are enabled.
3179 * tests/silent5.test: Also test --disable-dependency-tracking;
3180 also test per-target flags for non-C language files.
3181 * tests/silent9.test: New test, like silent4.test but disable
3182 dependency tracking.
3183 * tests/Makefile.am: Adjust.
3184 * NEWS, THANKS: Update.
3185 Report by Dmitry V. Levin <ldv@altlinux.org>.
3187 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
3189 Extend test on `nostdinc' automake option.
3190 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
3191 unrelated minor changes. Make the grepping of the generated
3192 Makefile.in slightly stricter. Generate and run configure, so that
3193 the generated Makefile can be grepped too.
3195 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3197 Make gnupload portable to EBCDIC hosts.
3198 * lib/gnupload: Use literal newline as argument for 'tr' rather
3199 than \015, for EBCDIC hosts. Also, avoid unportable nested
3200 double-quotes and backquotes.
3202 Report from Eric Blake and Steve Goetze via gnulib.
3204 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
3206 Fix Autoconf version required by Automake's configure.
3207 Automake configure script used to tell that automake required
3208 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
3209 and if that was not found, it gave an error saying that Automake
3210 required configure 2.61a-341 or later. This change should
3211 eliminate such inconsistencies.
3212 * configure.ac ($required_autoconf_version): New variable.
3215 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3217 Fix unportable sed script in maintainer-check test.
3218 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
3219 not contain semicolon after 'b' or brace commands, for NetBSD.
3221 Wildcards are not portable to NetBSD make.
3222 * doc/automake.texi (Wildcards): Document portability issue.
3223 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
3226 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
3228 Make test for configure.in vs. configure.ac stricter.
3229 * tests/configure.test: Use a configure.in file that provokes
3230 an automake error, to ensure configure.ac is preferred.
3232 Avoid possible false negatives in dejagnu7.test.
3233 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
3234 unportable use of fgrep option `-e'.
3236 Fix conflnk3.test to work with Solaris/Heirloom Sh.
3237 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
3238 instead of respectively `test -e FILE' and `test ! -e FILE',
3239 since Solaris Sh doesn't grok the latter. Do not SKIP the test
3240 if the shell doesn't support `test -e'.
3242 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3245 * doc/automake.texi (Simple Tests using parallel-tests): Add
3246 missing closing parenthesis.
3248 Fix leftover call to removed function macros_dump.
3249 * automake.in (read_main_am_file): Call variables_dump, not
3250 macros_dump. Print actual error before list of variables.
3252 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
3254 Minor improvements in comments of test `silent3.test'.
3255 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
3258 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3260 testsuite: ensure verbose printing of captured output.
3261 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
3262 tests/fort2.test, tests/help.test, tests/missing3.test,
3263 tests/missing6.test: Print captured stdout or stderr before
3266 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3268 Make test badopt.test stricter (by enabling `set -e').
3269 * tests/badopt.test: Add call to `set -e'. Due to this change,
3270 an unexpected failure in the call to `$ACLOCAL' (whose outcome
3271 was previously unchecked) would cause the whole test to fail.
3272 Also, bumped the copyright years.
3274 Make test for configure.in vs. configure.ac stricter.
3275 * tests/configure.test: Use a configure.in file that provokes
3276 an automake error, to ensure configure.ac is preferred.
3278 Use `set -e' in confsub.test (avoids possible false negatives).
3279 * tests/confsub.test: Enable shell `errexit' flag, and related
3280 changes (this helps avoiding some possible minor false negatives).
3281 Also, bumped copyright years.
3283 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3285 Fix -Werror handling for presence of configure.in and configure.ac.
3286 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
3287 $configure_ac at the global level, before command-line arguments
3289 (require_variables): Initialize it here.
3290 * tests/configure.test: New test.
3291 * tests/Makefile.am: Update.
3292 Report by Stefano Lattarini.
3294 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3296 Avoid possible false negatives in confh5.test.
3297 * tests/confh5.test: Enable shell `errexit' flag, and bumped
3298 copyright years. Due to this change, any unexpected failure
3299 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
3300 a failure in grepping expected text in output files should now
3301 cause the whole test to fail.
3303 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3305 Fixed typo in POD documentation of Automake::Channels.
3306 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
3307 @<...> was used instead of C<...>.
3309 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
3311 Refactor tests on Automake TESTS color output.
3312 * tests/color.test: Tests using the expect program moved out to...
3313 * tests/color2.test: ... this new file.
3314 * tests/Makefile.am (TESTS): Extended accordingly.
3316 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
3318 Fix typos in comments in test confh5.test
3319 * tests/confh5.test: Fix a couple of typos in comments.
3321 Avoid possible false negatives in canon-name.test.
3322 * tests/canon-name.test: Enable shell `errexit' flag. Improve
3325 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3327 Fix per-Makefile.am setting of -Werror.
3328 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
3329 Makefile.am would carry over to other Makefile.am files
3330 treated afterwards by the same thread, causing inconsistent
3331 and unstable exit status values.
3332 * lib/Automake/Channels.pm (dup_channel_setup)
3333 (drop_channel_setup): Save and restore the setting of
3334 $warnings_are_errors.
3335 * tests/werror3.test: New test.
3336 * tests/Makefile.am: Adjust.
3339 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
3341 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
3342 * tests/confh5.test: In the generated Makefile.am: do not use
3343 `test ! -e FILE' to check for the non-existence of a file, since
3344 that is not supported by Solaris/Heirloom Sh.
3346 Make test `aclocal3.test' stricter.
3347 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
3348 succeds unexpectedly.
3350 Add tests checking that symlinks are resolved by `make dist'.
3351 * tests/distlinks.test: New test.
3352 * tests/Makefile.am (TESTS): Updated accordingly.
3353 Suggested by observations from Ralf Wildenhues.
3355 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3357 Use -9 for maximum xz compression with dist-xz.
3358 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
3359 * NEWS, THANKS: Update.
3360 Report by Pavel Sanda.
3362 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
3364 Avoid an unportable use of `$status' shell variable.
3365 * Makefile.am (path-check): Don't use the `$status' shell variable
3366 in the target's rules, as it's special in Zsh (equivalent to `$?',
3369 Avoid another use of `chmod -R'.
3370 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
3371 $(distdir) before removing it (as Solaris `chmod -R' touches
3372 symlink targets). Instead, use the cleanup strategy used in
3375 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3377 Remove uses of @acronym and @sc.
3378 * doc/automake.texi (Public Macros, Limitations on File Names):
3379 Remove all usage of @acronym and @sc in the manual.
3380 Suggested by Karl Berry.
3382 2010-03-13 Karl Berry <karl@freefriends.org>
3384 GNU hello uses fdl.texi, not gpl.texi.
3385 * doc/automake.texi (Texinfo): Adjust example to upstream
3388 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3390 Formatting cleanups in macro comments.
3391 * automake.in, lib/Automake/Channels.pm,
3392 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
3393 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
3394 m4/options.m4, m4/substnot.m4: Fix macro comment format.
3396 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
3397 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3399 Avoid generation of `tests/defs-p' file.
3400 * tests/defs.in: In the generated `configure.in' snippet: call
3401 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
3402 variable `parallel_tests' is set to `yes'.
3403 * tests/Makefile.am (defs-p): Target removed.
3404 (check_SCRIPTS): Removed `defs-p'.
3405 (clean-local-check): Do not unlink `defs-p' anymore.
3406 ($(parallel_tests)): Transformation rules for the test scripts
3408 * tests/gen-parallel-tests: Selection rules for the test
3410 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
3411 then include `./defs' (rather than simply including `./defs-p').
3412 * tests/parallel-tests2.test: Likewise.
3413 * tests/parallel-tests3.test: Likewise.
3414 * tests/parallel-tests4.test: Likewise.
3415 * tests/parallel-tests5.test: Likewise.
3416 * tests/parallel-tests6.test: Likewise.
3417 * tests/parallel-tests7.test: Likewise.
3418 * tests/parallel-tests8.test: Likewise.
3419 * tests/parallel-tests9.test: Likewise.
3420 * tests/parallel-tests10.test: Likewise.
3421 * tests/README (Section "Writing Test Cases" subsection "Do"):
3422 Adjusted the parts referring to tests checking `parallel-tests'
3423 behaviour. Some other minor related improvements.
3424 * tests/.gitignore (defs-p): Removed.
3426 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
3428 Remove redundant unset of variable TESTS from some test scripts.
3429 * tests/color.test: Do not unset the `TESTS' variable, as it's
3430 already unset in the `defs' file.
3431 * tests/check5.test: Likewise.
3432 * tests/check8.test: Likewise.
3433 * tests/check9.test: Likewise.
3434 * tests/check10.test: Likewise.
3435 * tests/check11.test: Likewise.
3436 * tests/parallel-tests.test: Likewise.
3437 * tests/parallel-tests3.test: Likewise.
3438 * tests/parallel-tests4.test: Likewise.
3439 * tests/parallel-tests5.test: Likewise.
3440 * tests/parallel-tests6.test: Likewise.
3441 * tests/parallel-tests7.test: Likewise.
3443 2010-02-22 Karl Berry <karl@gnu.org>
3445 Improve help message of mdate-sh.
3446 * mdate-sh: mention actual output format in help message.
3448 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3450 Deprecate dist-lzma in favor of dist-xz.
3451 * doc/automake.texi (The Types of Distributions, Options):
3452 Adjust text to reflect renaming of lzma to xz.
3454 Missing deprecation noted by Antonio Diaz Diaz.
3456 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3458 Add tests about support of wildcards in EXTRA_DIST.
3459 * tests/extra10.test: New test, check basic support of wildcards
3461 * tests/extra11.test: New test, check more complex usage of
3462 wildcards in EXTRA_DIST.
3463 * tests/extra12.test: New test, check usage of wildcards in
3464 EXTRA_DIST when $builddir != $srcdir.
3465 * tests/Makefile.am (TESTS): Updated accordingly.
3466 Necessity of these new tests suggested by Braden McDaniel
3467 and Ralf Wildenhues.
3469 2010-02-08 Simon Josefsson <simon@josefsson.org>
3471 Fix copyright statement in gnupload script.
3472 * lib/gnupload: Fix copyright statement.
3474 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
3475 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3477 Fix exit status of signal handlers in shell scripts.
3478 The value of `$?' on entrance to signal handlers in shell scripts
3479 cannot be relied upon, so set the exit code explicitly to
3481 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
3482 * lib/elisp-comp: Likewise.
3483 * lib/install-sh: Likewise.
3484 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
3485 * NEWS, THANKS: Update.
3486 Bug report, analysis, and initial patch by Dmitry V. Levin.
3488 2010-02-06 Karl Berry <karl@gnu.org>
3490 Improve gnupload usage text.
3491 * gnupload (usage): Shorten to make more likely to fit on a tty
3492 line. Mention CMD in the synopsis. With ..., plural is implied.
3494 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
3496 Fix some typos in the manual
3497 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
3499 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3501 Slighty improve tests acoutbs.test and acoutbs2.test.
3502 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
3503 autoconf and configure work, that the file `zot' is created by
3504 configure, and that no file containing a backslash in its name is
3506 * tests/acoutbs.test: Likewise, plus updated copyright years.
3508 Fix test acoutbs2.test.
3509 * tests/acoutbs2: In the generated configure.in: add proper calls
3510 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
3511 PACKAGE and VERSION. Add a call to aclocal before calling automake.
3512 Updated copyright years.
3513 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
3515 Add forgotten test scripts to $(TESTS).
3516 * tests/Makefile.am (TESTS): Added test scripts present on the
3517 filesystem, which were erroneously left out from $(TESTS):
3518 acoutbs2.test, badopt.test, extra2.test.
3519 (XFAIL_TESTS): Added acoutbs2.test.
3521 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3523 Sync auxiliary files from upstream.
3524 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
3527 Bump copyright years.
3528 * aclocal.in (write_aclocal, version): Bump copyright years.
3529 * automake.in (gen_copyright, version): Likewise.
3530 * doc/automake.texi: Likewise.
3533 * ChangeLog.09: New file, rotated from ...
3534 * ChangeLog: ... here.
3535 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
3539 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
3541 Copying and distribution of this file, with or without modification, are
3542 permitted provided the copyright notice and this notice are preserved.