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