1 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
3 Improve, extend and tweak tests on Texinfo support.
4 * tests/instdir-texi.test: Add a call to `ls -l' after that to
5 `make', for debugging. When looking for required tools, do not
6 redirect the output of "$tool --help" to /dev/null, and do not
7 uselessly run it in a subshell.
8 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
9 make. All checks moved into Makefile.am.
10 * tests/txinfo8.test: Likewise, and modernize the generated
12 * tests/txinfo2.test: Moved checks into Makefile.am, and other
14 * tests/txinfo5.test: Enable `errexit' shell flag, and related
15 changes. Add trailing `:' command.
16 * tests/txinfo6.test: Likewise, and make grepping of generated
18 * tests/txinfo7.test: Enable `errexit' shell flag, and related
19 changes. Add trailing `:' command. Do not add unnecessary stuff
21 * tests/txinfo9.test: Verify that more targets which are expected
22 to be generated only once really are. Make grepping less strict,
23 to avoid exposing too much internal details. More minor changes.
24 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
25 for appending to configure.in. Updated/fixed heading comments.
26 * tests/txinfo23.test: Likewise, and extended a little by making
27 it check that no info file is created in the $(srcdir).
28 * tests/txinfo24.test: Likewise.
29 * tests/txinfo25.test: Likewise.
30 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
31 for appending to configure.in. Also, check that index files are
32 cleaned also by "make clean", not only by "make distclean".
33 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
34 and added trailing `:' command. This testcase also used to check
35 that automake ignores in-line comments when using variables, but
36 preserves them in the output; these checks (added in commit
37 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
38 so they have been moved ...
39 * tests/comments-in-var-defn.test: ... into this new test.
40 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
42 * tests/txinfo29.test: Likewise. Relax grepping of generated
43 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
44 append to configure.in.
45 * tests/txinfo3.test: Likewise.
46 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
47 make it stricter, sometimes laxer). Move `set -e' setting just
48 after the inclusion of ./defs. De-uglify a sed command. Other
49 minor cosmetic improvements.
50 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
52 * tests/vtexi3.test: New test on version.texi support.
53 * tests/vtexi4.test: Likewise.
54 * tests/Makefile.am (TESTS): Updated.
56 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
58 cosmetics: remove trailing whitespaces
59 * doc/automake.texi: Remove trailing whitespaces.
60 * tests/cond13.test: Likewise.
61 * tests/cond14.test: Likewise.
62 * tests/fort4.test: Likewise.
63 * tests/fort5.test: Likewise.
64 * tests/suffix7.test: Likewise.
65 * tests/vtexi2.test: Likewise.
67 automake: minor fixes in comments
68 * automake.in: Some minor fixes and enhancements in comments.
70 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
72 Add test coverage for deleted header files.
73 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
74 also check for the deleted header bug. If no dependency
75 tracking mechanism could be found, SKIP rather than exit
76 successfully. Use GNU style spacing and ANSI C prototypes.
78 Fix typos in Rule.pm comments.
79 * lib/Automake/Rule.pm: Fix typos in comments.
81 docs: split 'amhello Explained' node.
82 * doc/automake.texi (amhello Explained): Split node ...
83 (amhello's configure.ac Setup Explained)
84 (amhello's Makefile.am Setup Explained) : ... into these two.
85 (Top, Hello World): Adjust, and add @anchor for stable URL links.
86 Suggestion by Karl Berry in automake bug#7766.
88 2011-01-08 Karl Berry <karl@freefriends.org>
89 Eric Blake <eblake@redhat.com>
91 docs: reference defining directories in amhello node.
92 * doc/automake.texi (amhello Explained): Point to Autoconf
93 manual for how to convert directory values into macros.
94 (Optional): Fix grammar nit.
96 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
98 * NEWS: Fix typo (forgotten word).
100 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
101 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
103 docs: how to work around checks on invalid primary/directory couples
104 * doc/automake.texi (Uniform): Document the blessed idiom which can
105 be used to work around automake checks on invalid primary/directory
106 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
108 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
110 Sync auxiliary files from upstream.
111 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
114 Fix maintainer-check regression.
115 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
118 Bump copyright years.
119 * aclocal.in (write_aclocal, version): Bump copyright years.
120 * automake.in (gen_copyright, version): Likewise.
121 * doc/automake.texi: Likewise.
123 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
124 Stefano Lattarini <stefano.lattarini@gmail.com>
126 Work around a bug in file-inclusion mechanism of Solaris make.
127 * automake.in (handle_single_transform): In the name of the
128 dependency file: collapse multiple slash characters into a single
130 * tests/subobj11a.test: New test.
131 * tests/subobj11b.test: Likewise.
132 * tests/subobj11c.test: Likewise.
133 * tests/depcomp8a.test: Likewise.
134 * tests/depcomp8b.test: Likewise.
135 * tests/Makefile.am (TESTS): Updated.
137 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
138 patch and tests by Stefano Lattarini.
140 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
142 Fix two spurious testsuite failures on IRIX 6.5.
143 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
144 weaker make implementations (e.g. IRIX 6.5).
145 * tests/parallel-tests8.test: Likewise, plus a required related
147 Reported by Ralf Wildenhues. The bugs have been there from the
148 first versions of the affected test scripts.
150 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
152 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
153 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
154 the AM_CYGWIN32 macro (and indeed hasn't required it since at
155 least commit Release-1-2-31-g3038064 "merged changes from
156 Cygnus" of 1997-08-25).
158 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
160 distlinksbrk.test: Work around botched "make -k".
161 * tests/distlinksbrk.test: Run "make" multiple times and grep
162 its output each time for a single error message, rather than
163 running "make -k" one single time and grepping its output for
164 all the expected error messages. This should work around make
165 implementations with limited (broken?) `-k' support; for more
166 information, see these subthreads on the automake-patches list:
167 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
168 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
169 - 2010-11-15, "Testsuite failures on IRIX 6.5",
170 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
172 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
174 Fix sed-related buglet in test "subdir5.test"
175 * tests/subdir5.test: Always terminate text passed to the
176 `i' sed command with a newline, to work around limitations
177 in e.g. older OpenBSD sed.
179 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
181 docs: fix blunder in example about python extension modules
182 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
183 not `quaternion_SOURCES', to declare the sources of python
184 extension module `quaternion.la'.
186 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
188 docs: list LTLIBRARIES among Automake primaries
189 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
190 the Automake primaries.
192 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
194 Improve tests on generated portions of configure help screen.
195 * tests/help-depend.test: Grepping of configure help screen
196 relaxed to cater for possible line wrapping, and tightened in
198 * tests/help-depend2.test: Likewise.
199 * tests/help-dmalloc.test: Likewise.
200 * tests/help-lispdir.test: Likewise.
201 * tests/help-maintainer.test: Likewise.
202 * tests/help-multilib.test: Likewise.
203 * tests/help-silent.test: Likewise.
204 * tests/help-upc.test: Likewise.
205 * tests/help-init.test: Grepping of configure help screen
208 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
210 Avoid running installed automake from 'libtool --help'.
211 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
212 Together with fixed Libtool, this fixes check-coverage to not
213 invoke installed automake.
215 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
217 Fix spurious failures in `silent*.test' for $CC != gcc
218 In some tests on automake-produced silent rules, we forced the
219 use of gcc depmode to improve testsuite coverage; but this has
220 unsurprisingly led to spurious failures when some non-GNU C
221 compilers were used. So we are now careful to require GCC in
222 tests that force gcc depmode.
223 From reports by Ralf Wildenhues.
224 * silent5.test: Test removed, its content split into ...
225 * silent-many-generic.test, silent-many-gcc.test: ... these new
226 sister tests, the latter of which forces gcc depmode and lists
228 * silentlex.test: Test removed, its content split into ...
229 * silent-lex-generic.test, silent-lex-gcc.test: ... these new
230 sister tests, the latter of which forces gcc depmode and lists
232 * silentyacc.test: Test removed, its content split into ...
233 * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
234 sister tests, the latter of which forces gcc depmode and lists
236 * tests/Makefile.am (TESTS): Updated.
238 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
240 Tests: consistently use "|| Exit 1" after ". ./defs".
241 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
242 `. ./defs', for consistency with other tests.
243 * tests/autohdr2.test: Likewise.
244 * tests/autohdr3.test: Likewise.
245 * tests/autohdr4.test: Likewise.
246 * tests/cond23.test: Likewise.
247 * tests/cond24.test: Likewise.
248 * tests/cond25.test: Likewise.
249 * tests/cond26.test: Likewise.
250 * tests/cond27.test: Likewise.
251 * tests/cond28.test: Likewise.
252 * tests/cond29.test: Likewise.
253 * tests/cond30.test: Likewise.
254 * tests/cond31.test: Likewise.
255 * tests/cond32.test: Likewise.
256 * tests/cond33.test: Likewise.
257 * tests/cond34.test: Likewise.
258 * tests/cond35.test: Likewise.
259 * tests/cond36.test: Likewise.
260 * tests/cond37.test: Likewise.
261 * tests/cond38.test: Likewise.
262 * tests/cond39.test: Likewise.
263 * tests/cond40.test: Likewise.
264 * tests/cond41.test: Likewise.
265 * tests/cond42.test: Likewise.
266 * tests/cond43.test: Likewise.
267 * tests/cond44.test: Likewise.
268 * tests/cond45.test: Likewise.
269 * tests/dollarvar.test: Likewise.
270 * tests/dollarvar2.test: Likewise.
271 * tests/hfs.test: Likewise.
272 * tests/libobj14.test: Likewise.
273 * tests/percent.test: Likewise.
274 * tests/percent2.test: Likewise.
275 * tests/phony.test: Likewise.
276 * tests/silent.test: Likewise.
277 * tests/silent2.test: Likewise.
278 * tests/silent3.test: Likewise.
279 * tests/silent4.test: Likewise.
280 * tests/silent5.test: Likewise.
281 * tests/silent6.test: Likewise.
282 * tests/silent7.test: Likewise.
283 * tests/silent9.test: Likewise.
284 * tests/silentcxx.test: Likewise.
285 * tests/silentf77.test: Likewise.
286 * tests/silentf90.test: Likewise.
287 * tests/silentlex.test: Likewise.
288 * tests/silentyacc.test: Likewise.
290 Avoid useless cleaning in some `silent*.test' tests.
291 * tests/silentf77.test: Removed useless calls to "make clean"
292 and "make maintainer-clean".
293 * tests/silentf90.test: Likewise.
294 * tests/silent3.test: Removed useless call to "make distclean".
295 * tests/silent4.test: Likewise.
296 * tests/silent9.test: Likewise.
298 2010-11-19 Ian Lance Taylor <iant@google.com>
300 Sync config-ml.in from GCC.
301 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
302 compiler/flag environment variables.
304 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
306 Automake::Config: remove extra trailing semicolon.
307 * lib/Automake/Config.in: Remove extra trailing semicolon.
309 help4.test: fix botched heading comment.
310 * tests/help4.test: Fixed the heading comment, since it
311 didn't correctly describe what checks the testcase was
314 help2.test: add checks on aclocal too.
315 * tests/help2.test: Check that also `aclocal --version' and
316 `aclocal --help' work with configure.in and acinclude.m4 both
319 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
321 Fix spurious failures of silent-rules tests with Sun Fortran.
322 * tests/silentf77.test: Strip from the make output some verbose
323 messages possibly printed by the SunStudio fortran compilers, to
324 avoid spurious failures. Add a trailing `:' command.
325 * tests/silentf90.test: Likewise.
327 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
329 Fix spurious failures of silent5.test with Sun Fortran.
330 * tests/silent5.test: Strip from the make output some verbose
331 messages possibly printed by the SunStudio fortran compilers,
332 to avoid spurious failures. This bug has been there from the
333 very first version of this test script.
335 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
337 Fix regression in colon{5,6}.test (failures on AIX 5.3).
338 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
339 post-processing the generated Makefile.in, to work around a bug
340 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
341 on the commend line. Calls to `$MAKE' adjusted accordingly.
342 * tests/colon6.test: Likewise.
343 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
344 improve and/or extend tests `colon*.test", and reported by Ralf
347 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
349 Fix regression in ansi.test (failure on AIX 5.3).
350 * tests/ansi.test: Remove redundant hackish check done using a
351 hand-postprocessed Makefile.in. This check worked by setting
352 the `$(SHELL)' macro on the command line of make, but this is
353 not supported by the AIX 5.3 make implementation.
354 This bug has been lurking for a long time, and was activated by
355 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
356 tests". Report by Ralf Wildenhues.
358 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
360 tests: avoid '##'-style comments inside recipe commands.
361 * tests/confh.test, tests/confh8.test: Remove
362 double-hash comments from makefile rule commands, they
363 are not part of the Automake API.
365 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
367 tests: work around dash quoting issue in case statements.
368 * tests/color.test, tests/color2.test: Quote variable in case
369 pattern, to avoid skipping tests with dash 0.5.5.1.
371 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 Rebuild menus in the manual.
374 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
375 Thanks to Ian Lance Taylor for the suggestion.
377 Fix install-strip when $(STRIP) contains several words.
378 * lib/am/install.am (install-strip): Update comment. Use
379 separate sub-make invocations for empty and nonempty $(STRIP),
380 to fix quoting issues.
381 * tests/strip2.test, tests/strip3.test: New tests.
382 * tests/Makefile.am (TESTS): Adjust.
384 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
386 Fix yaccdry.test failure: require bison.
387 * tests/yaccdry.test: Require bison.
388 Found by NixOS Hydra.
390 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
392 Fix a bug in variable concatenation with `+='.
393 * lib/Automake/VarDef.pm (append): Since the content of the
394 "appended-to" variable is going to be unconditionally normalized
395 later, simply separate the appended value with a single whitespace
396 character, instead of trying to be uselessly smarter by using
397 escaped newlines. This fixes a bug in which extra backslashes
398 where erroneously inserted in the variable's final value.
399 * tests/pluseq11.test: New test, exposing the bug.
400 * tests/Makefile.am (TESTS): Update.
401 Reported by Andy Wingo.
403 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
405 Fix bug in rules for creating vala vapi/header files.
406 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
407 if control structure in a generated make rules. Bug introduced
408 by previous commit `v1.11-221-gd7c1679', and revealed by failure
409 of test `vala2.test'.
411 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
413 Fix and document rules to not touch the tree with `make -n'.
414 * doc/automake.texi (Multiple Outputs): Document the problem of
415 modifications during dry-run execution, propose solution.
417 * automake.in (lang_vala_finish_target): Split recipe so the
418 stamp file is not removed with GNU `make -n'.
419 (lang_yacc_target_hook): Separate removal of parser output file
421 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
422 passed to make, take care not to remove any files in that case.
423 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
424 %STAMP% file from induced remaking of config header.
425 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
427 * tests/Makefile.am (TESTS): Update.
429 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
431 Add FAQ entry for bug reporting instructions.
432 * doc/automake.texi (Reporting Bugs): New section.
433 (Introduction): Refer to it.
435 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
437 Add support for newer python versions.
438 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
439 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
440 line and fix indentation.
442 From a report by Thomas Klausner.
444 Add test for `AM_WITH_DMALLOC' macro.
445 * tests/dmalloc.test: New test.
446 * tests/Makefile.am (TESTS): Update.
448 Fix nits and bugs in tests `help*.test'.
449 * tests/help4.test: Fix broken sed commands used to strip `-W...'
450 flags away from "$AUTOMAKE" and "$ACLOCAL".
451 * tests/help3.test: Likewise, and fix a botched comment.
452 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
453 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
454 please maintainer-check.
455 * tests/help2.test: Likewise.
457 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
458 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
460 Improve tests `help*.test' (also fixes maintcheck failures).
461 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
462 flags stripped away rather than hard-coded `automake-$APIVERSION',
463 to better honour user-overrides. Similarly for aclocal.
464 * tests/help2.test: Likewise.
465 * tests/help3.test: Likewise.
466 * tests/help4.test: Likewise.
468 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
470 Document and fix expansion of variables before rules.
471 * doc/automake.texi (General Operation): Document that variables
472 are expanded before rules.
473 * lib/am/check.am (am__check_post): Reword a bit so it does not
474 get matched as a rule.
475 Suggestion by Ben Pfaff.
477 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
479 Revert "parallel-tests: avoid command-line length limit issue."
480 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
481 because it re-opened the bug fixed by v1.11-10-g218e678.
483 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
485 parallel-tests: avoid command-line length limit issue.
486 * automake.in (handle_tests): New argument $makefile, new
487 substitution %MAKEFILE%.
488 (generate_makefile): Adjust.
489 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
490 sanitized TEST_LOGS value as makefile snippet on standard
491 input to $(MAKE), to avoid exceeding the command line limit on
494 Report by Bob Friesenhahn.
496 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
498 Extend tests on `--help' and `--version' options.
499 * tests/help.test: Create a new empty directory and chdir into
500 it, rather than removing already present files. Run the aclocal
501 and automake wrapper scripts directly, instead of relying on
502 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
503 in aclocal's and automake's stderr. Add a trailing `:' command.
504 * tests/help2.test: New test, checking that options `--help' and
505 `--version' works in directories with broken `configure.in'.
506 * tests/help3.test: New test, checking that options `--help' and
507 `--version' take precedence on the other options.
508 * tests/help4.test: New test, checking that the first among the
509 `--help' and `--version' options to be specified on the command
511 * tests/Makefile.am (TESTS): Updated.
513 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
515 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
516 * tests/compile2.test: Do no uselessly (implicitly) repeat the
517 computation of PATH_SEPARATOR again.
518 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
519 extending/redefining PATH.
520 * tests/instmany-python.test: Likewise.
521 * tests/instmany.test: Likewise.
522 * tests/man4.test: Likewise.
523 * tests/mkinst3.test: Likewise.
524 * tests/mmodely.test: Likewise.
525 * tests/multlib.test: Likewise.
526 * tests/txinfo30.test: Likewise.
527 * tests/README (Section "Writing test cases" subsection "Do"):
529 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
530 (syntax_check_rules): Updated.
532 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
533 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
534 ($ACLOCAL, $AUTOMAKE): Use it.
535 ($PATH_SEPARATOR): New AC_SUBST'd variables.
538 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
540 Manual: be more agnostic w.r.t. version control system used.
541 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
542 directories as a type of probably-unwanted files that are copied
543 regardless when adding directories to EXTRA_DIST.
544 (The dist Hook): Show a dist-hook example which removes Subversion
545 `.svn' private directories from distdir, rather than CVS private
547 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
548 the version control system used.
550 Manual: index refer to target "git-dist", not "cvs-dist".
551 * doc/automake.texi (General Operation): Index the non-standard
552 example about "git-dist" under the "git-dist" label, not under
555 Perl modules: remove references to "Automake CVS repository".
556 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
557 git repository" rather than to "Automake's CVS repository".
558 * lib/Automake/Configure_ac.pm: Likewise.
559 * lib/Automake/FileUtils.pm: Likewise.
560 * lib/Automake/Struct.pm: Likewise.
561 * lib/Automake/XFile.pm: Likewise.
562 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
563 branches" rather than "CVS branches".
565 Remove obsolete .cvsignore files.
566 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
567 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
568 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
569 savannah's CVS readonly mirror there's no way to commit back to
570 the real repository, so this files are not worth maintaining or
573 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
575 * m4/dmalloc.m4: Bump serial number and copyright years.
577 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
579 Fix broken link in `AM_WITH_DMALLOC' help screen.
580 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
581 `http://www.dmalloc.com', not to the dmalloc tarball there (which
582 seems to have been removed, substituted by multiple release
585 2010-09-17 Eric Blake <eblake@redhat.com>
587 Avoid triple-space after period.
588 * automake.in (handle_single_transform): Avoid 3 spaces at
590 * ChangeLog.03: Likewise.
591 * lib/Automake/ChannelDefs.pm: Likewise.
592 * lib/Automake/Channels.pm (_print_message): Likewise.
593 * lib/Automake/Rule.pm (rule): Likewise.
594 * lib/Automake/Variable.pm (var): Likewise.
595 * lib/am/distdir.am: Likewise.
596 * tests/insthook.test: Likewise.
598 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
600 Test automake-generated portions of configure help screen.
601 * tests/help-depend.test: New test.
602 * tests/help-depend2.test: Likewise.
603 * tests/help-dmalloc.test: Likewise.
604 * tests/help-init.test: Likewise.
605 * tests/help-lispdir.test: Likewise.
606 * tests/help-maintainer.test: Likewise.
607 * tests/help-multilib.test: Likewise.
608 * tests/help-regex.test: Likewise.
609 * tests/help-silent.test: Likewise.
610 * tests/help-upc.test: Likewise.
611 * tests/mmode.test: Remove tests on `configure --help' output,
612 they are superseded by tests in `help-maintainer.test'.
613 * tests/Makefile.am (TESTS): Update.
615 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
617 * tests/README: Don't put GCS mandated tools in $required.
619 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
621 * HACKING: Hint at old commits with `git describe' output.
623 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
625 Fix regression in test `colon4.test'.
626 * tests/colon4.test: Fix botched editing to `configure.in'
627 that made the test useless. Since we are at it, improve
628 comments and make grepping of generated Makefile.in slightly
630 Regression introduced by change "Modernize, improve and/or
631 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
633 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
635 Do not require "gzip" explicitly in tests.
636 The gzip utility is simply expected to be present on any decent
637 target system for Automake. So it's pointless to put it in
639 * tests/install2.test ($required): Do not require "gzip".
640 * tests/lex3.test: Likewise.
641 * tests/pr9.test: Likewise.
642 From a suggestion by Ralf Wildenhues.
644 Make some `confh*.test' tests more "semantic" (plus tweakings).
645 * tests/confh.test: Run "autoconf", "configure" and "make check",
646 instead of munging/grepping the generated `Makefile.in'.
647 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
648 white spaces. Do not create useless dummy source file `foo.c'
649 and useless dummy header file `acconfig.h'.
650 (configure.in): Remove superfluous call to `AC_OUTPUT'.
651 * tests/confh6.test: Add trailing `:' command.
652 * tests/confh7.test: In comments, add reference to ...
653 * tests/confh8.test: ... this new test, "semantic" sister
655 * tests/Makefile.am (TESTS): Updated.
656 Prompted by a report from Ralf Wildenhues.
658 Remove useless whitespace padding in XFAIL_TESTS definition.
659 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
661 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
663 parallel-tests: avoid command-line length limit issue.
664 * automake.in (handle_tests): New argument $makefile, new
665 substitution %MAKEFILE%.
666 (generate_makefile): Adjust.
667 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
668 sanitized TEST_LOGS value as makefile snippet on standard
669 input to $(MAKE), to avoid exceeding the command line limit on
672 Report by Bob Friesenhahn.
674 Posix 2008 requires make to set errexit.
675 * lib/am/check.am: Update comment.
677 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
679 Fix bug in test missing6.test.
680 * tests/missing6.test: Fix the hack used to edit `configure.in',
681 to avoid producing a configure script that breaks with shells
682 that do not support $LINENO. Also throw in a couple of cosmetic
685 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
687 Improve robustness of mdate-sh script.
688 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
689 $ls_command is word-split properly upon invocation.
690 (error): New function.
691 (main): Use it. Improve error checking to avoid endless loop
692 in case $ls_command gave bogus output. Fix eval quotation.
693 * tests/mdate6.test: New test, to expose eval quotation error.
694 * tests/Makefile.am: Update.
696 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
698 Fix potential regressions in depcomp{3,5}.test.
699 * tests/depcomp3.test: Do not uselessly escape the character `$'
700 in makefile rules, when it's used to expand a make macro.
701 * tests/depcomp5.test: Likewise.
703 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
704 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
706 Docs: clarify how to avoid automatic dependencies tracking.
707 * doc/automake.texi (Automatic dependency tracking): Mention that
708 automatic dependencies tracking is enabled by default, but that
709 the package developer can disable it altogether. Add a reference
710 to the proper section for a more in-depth explanation.
712 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
713 * doc/automake.texi (Automatic dependency tracking): Fix typo.
715 2010-08-16 Bruno Haible <bruno@clisp.org>
717 Don't hide the table of contents.
718 * doc/automake.texi: Move the table of contents to the beginning.
720 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
722 Tweak and/or extend some `acloca*.test' tests.
723 * tests/aclocal8.test: Ensure verbose printing of captured
725 * tests/aclocal.test: Likewise. Also, add trailing `:'
727 * tests/acloca19.test: Likewise.
728 * tests/aclocal5.test: Add trailing `:' command, and prefer
729 `$me' over hard-coded test name.
730 * tests/aclocal6.test: Likewise.
731 * tests/aclocal18.test: Add trailing `:' command, and make
732 some grepping slightly stricter.
733 * tests/acloca14.test: Likewise. Also, prefer `diff' over
734 `cmp', and add some "cosmetic" blank lines.
736 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
738 Tweak and extend tests `pr[!0-9]*.test'.
739 * tests/primary3.test: Add trailing `:' command.
740 * tests/primary.test: Make grepping of Automake's stderr stricter.
741 Also, add trailing `:' command, and cosmetic changes in spacing.
742 * tests/primary2.test: Likewise.
743 * tests/prefix.test: Enable `errexit' shell flags, and related
744 changes. Add a trailing `:' command.
745 * tests/proginst.test: Likewise.
747 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
748 * tests/pr2.test: Add trailing `:' command.
749 * tests/pr229.test: Likewise.
750 * tests/pr401.test: Likewise.
751 * tests/pr401b.test: Likewise.
752 * tests/pr401c.test: Likewise.
753 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
755 * tests/pr300-lib.test: Likewise.
756 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
757 of captured make stdout.
758 * tests/pr211.test: Add trailing `:' command. Also, use the
759 `configure.in' stub created by ./defs, rather than writing it
761 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
762 * tests/pr287.test: Likewise, and move setting of `errexit' shell
763 flag earlier in the script (just after inclusion of ./defs).
764 * tests/pr220.test: Make grepping of Automake's stderr stricter.
765 Also, add trailing `:' command, and cosmetic changes in spacing.
766 * tests/pr224.test: Move setting of `errexit' shell flag earlier
767 in the script (just after inclusion of ./defs). Do not export
768 `CC=gcc' to configure explicitly (it's already exported globally
769 in ./defs, since we have "gcc" in $required). Use the stub for
770 `configure.in' created by ./defs, rather than writing it from
771 scratch. Do not create dummy files required by "gnu" mode (e.g.
772 README, NEWS), since we run automake in foreign mode anyway.
773 * tests/pr72.test: Enable `errexit' shell flags, and related
774 changes. Extend existing checks a bit.
775 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
776 the generated `configure.in', and extend existing checks over the
777 generated tarball a bit.
778 * tests/pr87.test: Enable `errexit' shell flags, and related
779 changes. Add a trailing `:' command. Also, do not create dummy
780 files required by "gnu" mode (e.g. README, NEWS), since we run
781 automake in foreign mode anyway.
782 * tests/pr243.test: Avoid obsolescent constructs in the generated
783 `configure.in'. Enable the `errexit' shell flag, and related
784 changes. Cosmetic changes to spacing, add trailing `:' command,
785 and add a "FIXME" comment.
786 * tests/pr266.test: Likewise, and add explicit command line switch
787 `--enable-dependecy-tracking' to the ./configure call.
788 * tests/pr279.test: Avoid obsolescent constructs in the generated
789 `configure.in'; also, use the `configure.in' stub created by
790 ./defs, rather than writing it from scratch. Enable `errexit'
791 shell flag, and related changes. Add trailing `:' command.
792 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
794 * tests/pr307.test: Move setting of `errexit' shell flag earlier
795 in the script (just after inclusion of ./defs). Escape literal
796 dots in grep regular expressions. Also, add a trailing `:'
797 command, and cosmetic changes to spacing.
799 Tests for PR: add excerpts from original bug report, for clarity.
800 * tests/pr2.test: Ditto.
801 * tests/pr9.test: Likewise.
802 * tests/pr72.test: Likewise.
803 * tests/pr87.test: Likewise.
804 * tests/pr211.test: Likewise.
805 * tests/pr220.test: Likewise.
806 * tests/pr224.test: Likewise.
807 * tests/pr229.test: Likewise.
808 * tests/pr243.test: Likewise.
809 * tests/pr266.test: Likewise.
810 * tests/pr279.test: Likewise, and tell to keep it in sync
811 with its sister test.
812 * tests/pr279-2.test: Likewise.
814 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
816 Tweak, extend and improve tests `cond[a-z]*.test'.
817 * tests/condd.test: Add trailing `:' command. Typofix in
819 * tests/condhook.test: Make sure target `install-data-hook' is
820 not called by `make install', but that data files are installed.
821 Use proper m4 quoting in configure.in. Add trailing `:' command.
822 * tests/condhook2.test: New test, sister test of condhook, with
824 * tests/condinc2.test: Use proper m4 quoting in configure.in.
825 Prefer trailing `:' command over trailing `Exit 0'.
826 * tests/condman2.test: Enable errexit shell flag, and related
827 changes. Add trailing `:' command.
828 * tests/condman.test: Likewise. Also, do not create useless
829 dummy manpages, and use proper m4 quoting in configure.in.
830 * tests/condman3.test: New test, similar to condman.test, but
831 it also runs ./configure and "make install", and check the
833 * tests/Makefile.am (TESTS): Updated.
835 Modernize, improve and/or extend tests `colon*.test.
836 * tests/colon.test: Rely on the `configure.in' stub created by
837 `./defs', rather than writing one from scratch. Do not create
838 a useless dummy file. Add trailing `:' command.
839 * tests/colon4.test: Enable the `errexit' shell flag, and
840 related changes. Rely on the `configure.in' stub created by
841 `./defs', rather than writing one from scratch.
842 * tests/colon7.test: Enable `errexit' shell flag, and related
843 changes. Improve the generated `configure.in' file. Add
844 trailing `:' command.
845 * tests/colon2.test: Likewise. Also, add some new checks.
846 * tests/colon5.test: Improve the generated `configure.in' file.
847 Add new, much deeper checks. Add trailing `:' command.
848 * tests/colon6.test: Likewise.
849 * tests/colon3.test: Add trailing `:' command. Remove useless
850 comments and echos. Improve the generated `configure.in' file.
851 make some grepping tests stricter. Add a "FIXME" comments about
852 planned improvements.
854 Improve and extend tests `asm*.test'.
855 * tests/asm.test: Use configure.in stub generated by ./defs,
856 and avoid obsoleted autoconf constructs. Make grepping of
857 Automake stderr stricter. Do not create useless source file.
858 Improve verbose messages. Minor cosmetic changes. Tell to
859 keep it in sync with other sister tests asm*.test.
860 * tests/asm2.test: Likewise.
861 * tests/asm3.test: Likewise.
863 Modernize, improve and/or extend test scripts `conf*.test'.
864 * tests/confh5.test: Cosmetic changes.
865 * tests/conff.test: Likewise.
866 * tests/confdeps.test: Likewise.
867 * tests/conflnk.test: Likewise.
868 * tests/conflnk2.test: Likewise.
869 * tests/confsub.test: Likewise.
870 * tests/confvar.test: Likewise, and make grepping of Makefile.in
872 * tests/confvar2.test: Likewise.
873 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
874 disabled test (which didn't work with autoconf <= 2.59, but now we
875 are requiring autoconf 2.62, so...)
876 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
877 accordingly to "TODO" comments.
878 * tests/conff2.test: Make grepping of Automake's stderr stricter.
879 Add some comments explaining why we don't use the `configure.in'
880 stub preset be ./defs.
881 * tests/confh.test: Use the `configure.in' stub created by ./defs,
882 rather than writing one from scratch, and do not call AC_OUTPUT.
883 Enable `errexit' shell flag, and related changes. Prefer diff over
884 cmp to compare text files. Prefer perl over sed to fetch the value
885 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
886 of $(DIST_COMMON) stricter.
887 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
888 rather than writing one from scratch. Make grepping of Makefile.in
890 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
892 * tests/configure.test: Avoid obsolescent constructs in generated
893 `configure.ac'. Do not write `configure.in' two times. Escape
894 literal dots in grep regular expressions.
895 * tests/confincl.test: Enable `errexit' shell flag, and related
896 changes. Prefer fgrep over grep. Other cosmetic changes.
897 * tests/config.test: Renamed to ...
898 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
899 and make grepping of `config.h' and `config.h.in' stricter.
900 * tests/conf2.test: Renamed ...
901 * tests/confh7.test: ... to this. Use the `configure.in' stub
902 created by ./defs, rather than writing one from scratch. Try to
903 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
905 * tests/Makefile.am (TESTS): Updated.
907 Minor improvements and fixes in tests `depcomp*.test'.
908 * tests/depcomp.test: Do not create useless dummy source files.
909 Add a trailing `:' command.
910 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
911 it's not in in the environment, rather than exporting it with an
912 empty value. Do not pass CC=gcc to configure, as that's already
913 done in ./defs since we have gcc in $required. Ensure verbose
914 printing of captured stderr, and normalize its checking. Add a
915 trailing `:' command.
916 * tests/depcomp3.test: Quote literal dots and dollar characters in
917 grep regexps. Always use `: >' rather than `touch' to create empty
918 files. Explicitly declare phony targets as such in the created
919 Makefile.am. Add a trailing `:' command.
920 * tests/depcomp4.test: Quote literal dots and dollar characters in
921 grep regexp. Explicitly declare phony targets as such in the
922 created Makefile.am. Ensure verbose printing of captured makes'
923 stoud/stderr. Add a trailing `:' command.
924 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
925 in the script (just after inclusion of ./defs). Quote literal dots
926 and dollar characters in grep regexps. Explicitly declare phony
927 targets as such in the created Makefile.am. Add a trailing `:'
929 * tests/depcomp6.test: Consistently use m4 quoting in the generated
930 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
931 statement required by OpenBSD's sh `set -e' more robust, and add
932 explanatory comments to it.
933 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
935 Separate failing part of test `all.test'.
936 * tests/all.test: Keep only (x)failing part of the test. Working
937 checks moved out to ...
938 * tests/all2.test: ... this new test.
939 * tests/Makefile.am (TESTS): Updated.
941 Modernize, improve and extend tests `subobj*.test'.
942 * tests/subobjname.test: Add trailing `:' command.
943 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
944 Escape literal dots in grep regexps.
945 * tests/subobj2.test: Add trailing `:' command. Do not use the
946 unportable fgrep option `-e'.
947 * tests/subobj3.test: Add trailing `:' command.
948 (configure.in): Use proper m4 quoting, and avoid obsolescent
950 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
951 flag, with related changes
952 * tests/subobj4.test: Likewise. Also, make grepping of
953 `Makefile.in' stricter.
954 * tests/subobj5.test: Add trailing `:' command. Move setting of
955 `errexit' shell flag earlier in the script (just after inclusion
957 (configure.in): Use the stub created by `./defs', rather than
958 writing it from scratch, and avoid obsolescent constructs.
959 * tests/subobj6.test: Add trailing `:' command. Move setting of
960 `errexit' shell flag earlier in the script (just after inclusion
961 of ./defs). Do not create useless dummy ac-init file `f'.
962 * tests/subobj7.test: Do not create useless dummy ac-init file
964 (configure.in): Use the stub created by `./defs', rather than
965 writing it from scratch, and avoid obsolescent constructs.
966 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
967 in the script (just after inclusion of ./defs). Fail the test if
968 `make distcheck' fails. Ensure verbose printing of captured make
969 stdout. Avoid useless fork by doing simple grep instead of using
970 test -n "`COMMAND | grep ...`".
971 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
972 (Makefile.am): Explicitly mark target "print" as phony.
973 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
974 trailing `:' command.
975 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
977 Remove a couple of obsoleted tests.
978 * tests/fpinstall.test: Removed.
979 * tests/fpinst2.test: Likewise.
980 * tests/Makefile.am (TESTS): Updated.
982 Bootstrap: updated HACKING entry.
983 * HACKING ("Working with git"): Explain how to override the
984 autoconf and autom4te programs used by the bootstrap process.
987 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
988 since we don't generate it. Correctly quote arguments of
989 `eval' builtin. Fixed a botched error message. Removed an
992 Bootstrap: don't search perl in $PATH.
993 * bootstrap: Do not explicitly search perl in $PATH anymore.
994 ($PATH_SEPARATOR): Removed, it's no more needed.
996 Bootstrap: let the user choose which autoconf to use.
997 * bootstrap ($AUTOCONF): New variable, from the environment.
998 ($AUTOM4TE): Likewise, for clarity.
999 Use "$AUTOCONF" instead of calling "autoconf" directly.
1001 Minor improvements to tests ar*.test.
1002 * tests/ar.test: Add trailing `:' command.
1003 * tests/ar2.test: Likewise, and make grepping of generated
1004 Makefile.in stricter.
1006 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1008 Fix maintainer-check failure.
1009 * tests/cond5.test: Quote sleep argument, this isn't about
1010 time stamp differences.
1012 Sync auxiliary files from upstream.
1013 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1016 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1018 Work around a nasty bug (segfault) of Solaris make.
1019 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1020 from $list, to avoid triggering a nasty bug (potential segfault)
1023 2010-08-06 Peter Rosin <peda@lysator.liu.se>
1025 Make cond5.test more robust on MSYS.
1026 * tests/cond5.test: Add delay before the first kill attempt to
1027 cater for problems with MSYS bash.
1029 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1031 Add example git work flow; discuss merge --log in HACKING.
1033 Suggestion by Stefano Lattarini.
1035 Add more hints for debugging make rules.
1036 * doc/automake.texi (Debugging Make Rules): Show command to find
1037 out expanded values of variables; point to makefile debugger.
1039 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1041 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1043 Fix typo in the manual.
1044 * doc/automake.texi (Scripts): Fix typo.
1046 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1048 Document current policy for development with git.
1049 * HACKING (Working with git): Overhaul.
1050 Prompted by suggestion from Stefano Lattarini.
1052 Fix AM_COND_IF for gone-invalid condition shell expression.
1053 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1054 variable, rather than re-evaluating the shell expression for
1056 * tests/cond40.test: Extend test.
1059 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1060 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1061 to avoid shell syntax error if the m4 expansion is empty.
1062 * tests/cond40.test: Enhance test.
1064 Coverage: bogus option to AM_INIT_AUTOMAKE.
1065 * tests/init2.test: New test.
1066 * tests/Makefile.am: Update.
1068 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1070 Modernize and improve test scripts `subdir*.test'.
1071 * tests/subdir.test: Enable `errexit' shell flag, and related
1072 changes. Use the `configure.in' stub created by `./defs',
1073 rather than writing one from scratch.
1074 * tests/subdir2.test: Likewise.
1075 * tests/subdir4.test: Likewise.
1076 * tests/subdir3.test: Enable `errexit' shell flag, and related
1077 changes. Do not create useless dummy source files.
1078 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1079 and in subdirs) stricter. Some minor changes to keep it more
1080 in sync with the related test `subdir8.test'.
1081 * tests/subdir8.test: Likewise (but with the related test being
1082 `subdir5.test' here).
1083 * tests/subdir6.test: Cosmetic change in spacing.
1084 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1085 trailing `:' command.
1086 * tests/subdir10.test: Cosmetic consistency-related change.
1087 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1088 (configure.in): Use stub created by `./defs', rather than writing
1089 it from scratch. Do not use obsoleted and/or deprecated forms of
1090 autoconf/automake macros.
1092 Modernize and improve test scripts `dist*.test'.
1093 * tests/distcleancheck.test: Do not add useless `-e' option to
1094 a $MAKE call. Extend test by grepping stderr of make.
1095 * tests/distcom2.test: Do not run the same test script on the
1096 Makefile.in twice, but save its output in an intermediate file
1097 instead. Make grepping of DIST_COMMON definition stricter.
1098 Display the content of more files, to ease debugging. Add a
1099 trailing `:' command. Improved heading comments w.r.t. sister
1101 * tests/distcom6.test: Likewise, and avoid to uselessly run
1103 * tests/distcom3.test: Ensure verbose printing of captured stdout
1104 and stderr. Make grepping of captured stderr stricter. Also,
1105 add trailing `:' command.
1106 * tests/distcom4.test: Declare the target `test' in the generated
1107 Makefile.am as `.PHONY'. Display content of more files, to ease
1108 debugging. Add trailing `:' command.
1109 * tests/distcom5.test: Likewise. Also, factor out common sed
1110 script in subroutine `extract_distcommon'.
1111 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1112 test Makefile.am files. Add a trailing `:' command.
1113 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1114 call to `set -e' earlier. Be stricter and more verbose in the
1115 checking of the generated tarball.
1116 (configure.in): Use the stub provided by ./defs, instead of
1117 writing it from scratch. Avoid obsoleted constructs. Remove
1118 useless call to `AM_PROG_CC_C_O'.
1119 * tests/distdir.test: Various minor improvements/normalizations.
1120 * tests/distlinks.test: Likewise.
1122 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1124 Improve and extend test cond5.test.
1125 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1126 the background automake process, but poll it every 10 seconds for
1127 at most 30 times (this makes the test both faster on good machines,
1128 and more resilient to spurious timeout-due failures when in low
1129 priority or on heavily-loaded systems).
1130 Check also that automake writes the expected error messages on the
1132 Enable `errexit' flag, and related changes.
1133 Rely on the `configure.in' stub created by `./defs', rather than
1134 writing one from scratch.
1136 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1138 Update program --help output to match current GCS.
1139 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1140 is not defined, for compatibility to Autoconf < 2.64.
1141 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1143 (sc_diff_automake_in_automake): Update number of diff lines for
1144 additional substitutions.
1145 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1146 home page and GNU general help page.
1147 * automake.in (usage): Likewise.
1148 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1150 (Introduction, Creating amhello, amhello Explained, Options):
1152 * lib/Automake/Makefile.am (do_subst): Substitute
1154 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1155 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1158 Clean up @var handling in the manual.
1159 * doc/automake.texi: Throughout the manual, lower-case @var
1160 names, replace a few one-character names.
1162 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1164 Fix typo-related bug in test script silent5.test.
1165 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1168 Tests: remove useless repetitions of `foreign' automake option.
1169 * tests/multlib.test (configure.in): Remove useless use of
1170 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1171 already in $AUTOMAKE by default, so no point in repeating it).
1172 * tests/subobj10.test: Likewise.
1173 * tests/subobj9.test: Likewise.
1174 * tests/lex3.test (Makefile.am): Similarly, remove useless use
1175 of `foreign' option in AUTOMAKE_OPTIONS.
1176 * tests/lex5.test: Likewise.
1177 * tests/pr279.test: Likewise.
1178 * tests/pr279-2.test: Likewise.
1179 * tests/specflg3.test: Likewise.
1180 * tests/target-cflags.test: Likewise.
1182 Drop useless requirement "gzip" in lex5.test.
1183 * tests/lex5.test ($required): Do not list "gzip", as it's
1186 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1188 Fix bugs in test script silent5.test.
1189 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1190 instead of egrep) that could have led to false negatives.
1192 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1194 Add a test checking that distributed broken symlinks cause
1195 `make dist' to fail.
1196 * tests/distlinksbrk.test: New test.
1197 * tests/Makefile.am (TESTS): Updated.
1199 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1201 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1202 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1203 and AM_LFLAGS, LFLAGS in the order in which they now appear in
1206 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1207 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1208 please maintainer-check. Ensure generated C files contain a
1209 declaration, to please compilers.
1211 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1213 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1214 $(FLAGS) precedence.
1215 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1216 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1217 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1218 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1221 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1222 $(AM_FLAGS) and $(FLAGS) precedence.
1223 * tests/lflags.test: New test, check that user $(LFLAGS) takes
1224 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
1226 * tests/lflags2.test: Likewise.
1227 * tests/yflags.test: New test, check that user $(YFLAGS) takes
1228 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
1230 * tests/yflags2.test: Likewise.
1231 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1233 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1235 Modernize, improve and extend tests `suffix*.test'.
1236 * tests/suffix3.test: Enable `errexit' shell flag, and related
1238 * tests/suffix4.test: Likewise.
1239 * tests/suffix6.test: Likewise, and do not create a useless dummy
1241 * tests/suffix7.test: Likewise.
1242 * tests/suffix5.test: Enable `errexit' shell flag, and related
1243 changes. Make grepping of Makefile.in slightly stricter.
1244 * tests/suffix.test: Enable `errexit' shell flag, and related
1245 changes. Also, do not redirect grep output to /dev/null, as this
1246 might unmotivatedly hide useful information.
1247 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1248 in the script (just after inclusion of ./defs). Use a more
1249 idiomatic way to count text occurrences in Makefile.in with
1250 grep. Do not create useless dummy source files.
1251 * tests/suffix10.test: Ensure verbose printing of captured make
1252 stdout. Minor cosmetic changes.
1253 * tests/suffix8.test: Likewise. Also, drop useless call to the
1254 env(1) utility, and make grepping of make output stricter by using
1255 $FGREP rather than plain grep.
1256 * tests/suffix11.test: Likewise.
1257 * tests/suffix12.test: Likewise.
1258 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1259 the `configure.in' stub. Cosmetic changes.
1260 * tests/suffix13.test: Cosmetic spacing change.
1262 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1264 Add useful comment in test script ext.test.
1265 * tests/ext.test: Add a comment explaining why an apparently
1266 useless `if' statement is indeed required.
1268 Add useful comment in test script obsolete.test.
1269 * tests/obsolete.test: Add a comment explaining why we need
1270 an indirection in adding $AUTOUPDATE to $required.
1272 Normalize whitespaces in 'tests/Makefile.am'.
1273 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1274 definition of this variable.
1276 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1278 Remove a couple of unneeded conditionals from tests.
1279 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1280 for the FOOTEST conditional.
1282 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1284 Modernize, improve and/or fix various test scripts.
1285 * tests/symlink3.test: Deleted, separated into two new, more
1287 * tests/forcemiss.test: ... this one ...
1288 * tests/forcemiss2.test: ... and this one.
1289 * tests/symlink2.test: Enable `errexit' shell flag, make test
1290 stricter, and skip it if symlink creation is not supported.
1291 * tests/postproc.test: Enable `errexit' shell flag, related
1292 changes, and a couple of unrelated cosmetic changes.
1293 * tests/recurs.test: Use the `configure.in' stub created by
1294 `./defs', rather than writing one from scratch. Make grepping
1295 of Automake stderr slightly stricter.
1296 * tests/substtarg.test: Likewise.
1297 * tests/strip.test: Likewise, and move the call to `set -e'
1298 earlier (just after the inclusion of `./defs'). Also, make sure
1299 that the script installed by `make install-script' is equal to
1301 * tests/substref.test: Use the `configure.in' stub created by
1302 `./defs', rather than writing one from scratch. Move the call
1303 to `set -e' earlier (just after the inclusion of `./defs').
1304 Avoid to explicitly export CC for configure (that's already done
1305 in ./defs). Avoid potential problems with unpredictable make
1306 output. Finally, make grepping of Makefile.in stricter.
1307 * tests/substre2.test: Ensure verbose printing of the captured
1308 make's output, and make its grepping slightly stricter.
1309 * tests/cygwin32.test: Enable `errexit' shell flag, and related
1310 changes. Also, do not create useless dummy source/data files.
1311 * tests/scripts.test: Likewise.
1312 * tests/recurs2.test: Likewise. Also, use the `configure.in'
1313 stub created by `./defs'.
1314 * tests/Makefile.am (TESTS): Updated.
1316 Modernize, improve and/or fix tests `pluseq*.test.
1317 * tests/pluseq5.test: Append to configure.in using cat with an
1318 here-doc, not using echo.
1319 * tests/pluseq10.test: Make sure that the captured output of
1320 `make' command is always displayed. Where possible, use $FGREP
1321 instead of grep (this change makes some checks slightly stricter).
1322 * tests/pluseq8.test: Enable `errexit' shell flag, with related
1324 * tests/pluseq.test: Likewise. Also, do not create useless dummy
1325 data files, and use better m4 quoting in generated configure.in.
1326 * tests/pluseq2.test: Likewise. Also, append to configure.in
1327 using cat with an here-doc, not using echo.
1328 * tests/pluseq3.test: Likewise.
1329 * tests/pluseq4.test: Likewise.
1330 * tests/pluseq6.test: Likewise.
1331 * tests/pluseq7.test: Do not create useless dummy source file.
1332 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1333 Automake stderr. Some unrelated cosmetic changes.
1335 Testsuite: ensure verbose printing of captured stderr.
1336 * tests/acloca18.test: Print captured stderr before either failing
1337 or grepping it. Be sure to send captured stderr to stderr, not to
1339 * tests/ansi3b.test: Likewise.
1340 * tests/cond39.test: Likewise.
1341 * tests/configure.test: Likewise.
1342 * tests/missing3.test: Likewise.
1343 * tests/missing6.test: Likewise.
1344 * tests/output-order.test: Likewise.
1345 * tests/pr300-ltlib.test: Likewise.
1346 * tests/python6.test: Likewise.
1347 * tests/python7.test: Likewise.
1348 * tests/python8.test: Likewise.
1349 * tests/python9.test: Likewise.
1350 * tests/subobj.test: Likewise.
1351 * tests/vars3.test: Likewise.
1352 * tests/missing4.test: Likewise, and fix a call to grep not to use
1354 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1355 created by `./defs', rather than writing one from scratch.
1357 Enable `errexit' shell flag in various tests.
1358 * tests/backsl.test: Enable the `errexit' shell flag, and
1360 * tests/backsl2.test: Likewise.
1361 * tests/block.test: Likewise.
1362 * tests/canon2.test: Likewise.
1363 * tests/canon4.test: Likewise.
1364 * tests/comment2.test: Likewise.
1365 * tests/condlib.test: Likewise.
1366 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1367 * tests/canon3.test: Likewise. Also, avoid to create an useless
1369 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1370 related changes. Do some cosmetic improvements in the generated
1371 `configure.in' file.
1372 * tests/cond4.test: Likewise.
1373 * tests/cond14.test: Likewise.
1374 * tests/condinc.test: Likewise.
1375 * tests/cond7.test: Likewise. Also, remove useless setting of
1376 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1377 * tests/ansi.test: Enable the `errexit' shell flag, and related
1378 changes. Extended, esp. by running autoconf, ./configure and
1379 make, and by looking into the distdir.
1381 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1382 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1384 Extend tests/README w.r.t. trailing `:' in test scripts.
1385 * tests/README (section "Writing test cases" subsection "Do"):
1386 Explain why apparently redundant trailing `:' and `Exit 0' in
1387 test scripts can indeed be useful.
1389 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1391 Improve determination of PATH separator in bootstrap script.
1392 * bootstrap: Determine what the PATH separator is the same way
1395 Minor improvements in bootstrap script.
1396 * bootstrap: Consistently use two-spaces indentation. Cosmetic
1397 improvement to comments.
1398 ($me): New variable, containing program basename.
1399 Prepend it to all error messages.
1401 Testsuite now works with BSD make in parallel mode.
1402 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1403 which are exported by BSD make when run in parallel mode, and
1404 which can confuse make processes spawned by our testsuite.
1405 This change fixes a lot of spurious failure when the testsuite
1406 is run with BSD make in parallel mode.
1408 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1410 Modernize, improve and/or fix various test scripts.
1411 * tests/sanity.test: Rely on the `configure.in' stub created by
1412 `./defs', rather than writing one from scratch.
1413 * tests/depend2.test: Likewise. Also, call `set -e' just after
1414 the inclusion of `./defs', instead that later in the script.
1415 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1416 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1417 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1418 Make auxiliary rules in the generated Makefile more silent.
1419 These changes make some checks slightly stricter.
1420 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1421 * tests/gettext2.test: Place final `:' at the end of the script,
1422 rather than in the middle.
1423 * tests/exeext.test: Call `set -e' just after the inclusion of
1424 `./defs', instead that later in the script.
1425 * tests/extra5.test: Likewise.
1426 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
1427 plain `mv', just to be sure.
1428 * tests/depcomp.test: Enable `errexit' shell flag, with related
1429 changes. Also, modernize the generated configure.in.
1430 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
1431 stub created by `./defs', rather than writing one from scratch.
1432 * tests/cond10.test: Likewise.
1433 * tests/depcomp2.test: Likewise.
1434 * tests/depend3.test: Likewise.
1435 * tests/distcom7.test: Likewise.
1436 * tests/fortdep.test: Likewise. Also, remove definition of
1437 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1438 since that flag is already provided by $AUTOMAKE.
1439 * tests/mdate.test: Made stricter, by checking that Automake
1440 actually failed, and by making a stricter grep on the error
1441 message. Also, set shell `errexit flag'.
1442 * tests/python2.test: Improved verbose messages.
1444 Make test `ammissing.test' stricter.
1445 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1446 Enable `errexit' shell flag.
1448 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1450 Enable `errexit' shell flag in some test scripts.
1451 * tests/subcond.test: Enabled `errexit' shell flag, and related
1453 * tests/subst.test: Likewise.
1454 * tests/vars.test: Likewise.
1455 * tests/version4.test: Likewise.
1456 * tests/vpath.test: Likewise.
1457 * tests/vtexi2.test: Likewise.
1458 * tests/werror.test: Likewise.
1459 * tests/whoami.test: Likewise.
1460 * tests/tags.test: Likewise, and avoid to crate an useless dummy
1462 * tests/acsilent.test: Likewise, and don't use an easily-avoided
1463 command substitution.
1464 * tests/unused.test: Likewise, and don't use an easily-avoided
1465 command substitution.
1466 * tests/version.test: Likewise, and avoid deprecated constructs
1467 in the generated `configure.in'.
1468 * tests/version2.test: Likewise, and avoid deprecated constructs
1469 in the generated `configure.in'.
1471 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1473 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1474 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
1475 the verbose log contains all output.
1476 * tests/mdate.test: Likewise.
1477 Prompted by Stefano Lattarini's change to discover.test.
1479 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1481 Improve tests link*.test (enable `errexit' shell flag).
1482 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1483 changes. Also, do not create useless source files.
1484 * tests/link_dist.test: Likewise.
1485 * tests/link_f90_only.test: Likewise.
1486 * tests/link_f_only.test: Likewise.
1487 * tests/link_fc.test: Likewise.
1488 * tests/link_fccxx.test: Likewise.
1489 * tests/link_fcxx.test: Likewise.
1491 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1493 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1494 * tests/ext.test: Inside shell compound command, use
1495 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1496 fix failure with OpenBSD sh introduced with last patch.
1497 Actually ensure that a rule for .EXT.o is created for each
1498 known extension EXT.
1500 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1502 Enable `errexit' shell flag in some test scripts.
1503 * tests/dash.test: Enable `errexit' shell flag, and related
1505 * tests/defun.test: Likewise.
1506 * tests/defun2.test: Likewise.
1507 * tests/dejagnu.test: Likewise.
1508 * tests/double.test: Likewise.
1509 * tests/distcom2.test: Likewise.
1510 * tests/empty2.test: Likewise.
1511 * tests/empty3.test: Likewise.
1512 * tests/empty4.test: Likewise.
1513 * tests/exdir.test: Likewise.
1514 * tests/ext.test: Likewise.
1515 * tests/extra.test: Likewise.
1516 * tests/extra2.test: Likewise.
1517 * tests/extra3.test: Likewise.
1518 * tests/extra4.test: Likewise.
1519 * tests/flibs.test: Likewise.
1520 * tests/fnoc.test: Likewise.
1521 * tests/fo.test: Likewise.
1522 * tests/instexec.test: Likewise.
1523 * tests/ltdeps.test: Likewise.
1524 * tests/nodep.test: Likewise.
1525 * tests/nodepcomp.test: Likewise.
1526 * tests/f90only.test: Likewise, and remove botched/obsoleted
1527 comments and unnecessary commands.
1528 * tests/fonly.test: Likewise, and remove botched/obsoleted
1529 comments and unnecessary commands.
1530 * tests/discover.test: Likewise, and made stricter.
1532 Enable `errexit' shell flag in all tests cxx*.test.
1533 * tests/cxx.test: Enabled `errexit' shell flag, and related
1535 * tests/cxxansi.test: Likewise.
1536 * tests/cxxcpp.test: Likewise.
1537 * tests/cxxlibobj.test: Likewise.
1538 * tests/cxxlink.test: Likewise.
1539 * tests/cxxo.test: Likewise.
1541 Enable `errexit' shell flag in various tests.
1542 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1544 * tests/acoutpt.test: Likewise.
1545 * tests/acoutqnl.test: Likewise.
1546 * tests/amassign.test: Likewise.
1547 * tests/ansi2.test: Likewise.
1548 * tests/ansi4.test: Likewise.
1549 * tests/badprog.test: Likewise.
1550 * tests/checkall.test: Likewise.
1551 * tests/clean.test: Likewise.
1552 * tests/colneq2.test: Likewise.
1553 * tests/colon.test: Likewise.
1554 * tests/colon5.test: Likewise.
1555 * tests/colon6.test: Likewise.
1556 * tests/comment.test: Likewise.
1557 * tests/compile_f90_c_cxx.test: Likewise.
1558 * tests/compile_f_c_cxx.test: Likewise.
1559 * tests/cond3.test: Likewise.
1560 * tests/cond6.test: Likewise.
1561 * tests/cond13.test: Likewise.
1562 * tests/conf2.test: Likewise.
1563 * tests/confvar.test: Likewise.
1564 * tests/confvar2.test: Likewise.
1565 * tests/cond8.test: Likewise, plus a cosmetic change.
1566 * tests/confh4.test: Likewise. Also, add in the heading comments
1567 an excerpt from the original bug report which motivated the
1568 creation of this test, to make its purpose clearer.
1570 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1572 Rewrite manual to be gender-neutral.
1573 * doc/automake.texi (GNU Build System)
1574 (Standard Directory Variables, General Operation, CVS)
1575 (Hard-Coded Install Paths, Dependencies As Side Effects):
1576 Rewrite text to not contain gender-specific pronouns when
1577 speaking about developers or users, either by avoiding pronouns
1578 or by addressing them as `you' instead.
1580 Report by Christina Gratorp.
1584 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1586 Make tests on user extensibility of silent-rules mode stricter.
1587 * tests/silent6.test: Made stricter w.r.t. the grepping of the
1588 output produced by `make'.
1589 * tests/silent7.test: Likewise.
1591 Tests on silent-mode for C/Libtool made stricter.
1592 * tests/silent.test: Made stricter w.r.t. the grepping of the
1593 output produced by `make'.
1594 * tests/silent2.test: Likewise.
1595 * tests/silent4.test: Likewise.
1596 * tests/silent9.test: Likewise.
1597 * tests/silent3.test: Likewise, and add a final `make distclean'
1598 command to keep it better in sync with tests/silent{4,9}.test.
1600 Improved test silent5.test.
1601 * tests/silent5.test: Remove by hand all generated C files after
1602 non-verbose builds, to ensure the following builds are clean.
1603 Try to clean and rebuild with the same verbosity and without
1604 removing generated sources in between, to check that this does
1605 not trigger a different set of rules. Make grepping of make's
1606 output stricter. Improved/added some comments.
1608 New tests for Automake silent-mode with Fortran.
1609 * tests/silentf77.test: New test.
1610 * tests/silentf90.test: Likewise.
1611 * tests/Makefile.am (TESTS): Updated accordingly.
1613 New test `silentcxx.test' (Automake silent-mode with C++).
1614 * tests/silentcxx.test: New test.
1615 * tests/Makefile.am (TESTS): Updated accordingly.
1617 New test `silentyacc.test' (Automake silent-mode with Yacc).
1618 * tests/silentyacc.test: New test.
1619 * tests/Makefile.am (TESTS): Updated accordingly.
1621 New test `silentlex.test' (Automake silent-mode with Lex).
1622 * tests/silentlex.test: New test.
1623 * tests/Makefile.am (TESTS): Updated accordingly.
1625 Relax tests on silent-rules to cater to overly verbose makes.
1626 * tests/silent.test: When testing silent builds, don't fail if
1627 make's output simply contains the `mv' substring, but only if
1628 it contains the `mv ' substring (note the trailing space).
1629 * tests/silent2.test: Likewise.
1630 * tests/silent3.test: Likewise.
1631 * tests/silent4.test: Likewise.
1632 * tests/silent5.test: Likewise.
1633 * tests/silent9.test: Likewise.
1635 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1637 Fix silent-rules output for disabled dependency tracking.
1638 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1639 expansion code to also work in the case where %AMDEP% expands
1640 to FALSE at config.status time, using new substitution string
1642 * automake.in (verbose_nodep_flag): New function, appending
1643 `@am__nodep@' to the verbose-variable name.
1644 (handle_languages): If dependencies are not disabled, use it to
1645 set %VERBOSE-NODEP%.
1646 * m4/depend.m4: Substitute am__nodep as '_no', so the second
1647 verbose-variable will always expand to an empty string, if
1648 dependencies are enabled.
1649 * tests/silent5.test: Also test --disable-dependency-tracking;
1650 also test per-target flags for non-C language files.
1651 * tests/silent9.test: New test, like silent4.test but disable
1652 dependency tracking.
1653 * tests/Makefile.am: Adjust.
1654 * NEWS, THANKS: Update.
1655 Report by Dmitry V. Levin <ldv@altlinux.org>.
1657 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1659 Extend test on `nostdinc' automake option.
1660 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
1661 unrelated minor changes. Make the grepping of the generated
1662 Makefile.in slightly stricter. Generate and run configure, so that
1663 the generated Makefile can be grepped too.
1665 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1667 Make gnupload portable to EBCDIC hosts.
1668 * lib/gnupload: Use literal newline as argument for 'tr' rather
1669 than \015, for EBCDIC hosts. Also, avoid unportable nested
1670 double-quotes and backquotes.
1672 Report from Eric Blake and Steve Goetze via gnulib.
1674 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1676 Fix Autoconf version required by Automake's configure.
1677 Automake configure script used to tell that automake required
1678 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1679 and if that was not found, it gave an error saying that Automake
1680 required configure 2.61a-341 or later. This change should
1681 eliminate such inconsistencies.
1682 * configure.ac ($required_autoconf_version): New variable.
1685 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1687 Fix unportable sed script in maintainer-check test.
1688 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1689 not contain semicolon after 'b' or brace commands, for NetBSD.
1691 Wildcards are not portable to NetBSD make.
1692 * doc/automake.texi (Wildcards): Document portability issue.
1693 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1696 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1698 Make test for configure.in vs. configure.ac stricter.
1699 * tests/configure.test: Use a configure.in file that provokes
1700 an automake error, to ensure configure.ac is preferred.
1702 Avoid possible false negatives in dejagnu7.test.
1703 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
1704 unportable use of fgrep option `-e'.
1706 Fix conflnk3.test to work with Solaris/Heirloom Sh.
1707 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1708 instead of respectively `test -e FILE' and `test ! -e FILE',
1709 since Solaris Sh doesn't grok the latter. Do not SKIP the test
1710 if the shell doesn't support `test -e'.
1712 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1715 * doc/automake.texi (Simple Tests using parallel-tests): Add
1716 missing closing parenthesis.
1718 Fix leftover call to removed function macros_dump.
1719 * automake.in (read_main_am_file): Call variables_dump, not
1720 macros_dump. Print actual error before list of variables.
1722 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1724 Minor improvements in comments of test `silent3.test'.
1725 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1728 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1730 testsuite: ensure verbose printing of captured output.
1731 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1732 tests/fort2.test, tests/help.test, tests/missing3.test,
1733 tests/missing6.test: Print captured stdout or stderr before
1736 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1738 Make test badopt.test stricter (by enabling `set -e').
1739 * tests/badopt.test: Add call to `set -e'. Due to this change,
1740 an unexpected failure in the call to `$ACLOCAL' (whose outcome
1741 was previously unchecked) would cause the whole test to fail.
1742 Also, bumped the copyright years.
1744 Make test for configure.in vs. configure.ac stricter.
1745 * tests/configure.test: Use a configure.in file that provokes
1746 an automake error, to ensure configure.ac is preferred.
1748 Use `set -e' in confsub.test (avoids possible false negatives).
1749 * tests/confsub.test: Enable shell `errexit' flag, and related
1750 changes (this helps avoiding some possible minor false negatives).
1751 Also, bumped copyright years.
1753 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1755 Fix -Werror handling for presence of configure.in and configure.ac.
1756 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1757 $configure_ac at the global level, before command-line arguments
1759 (require_variables): Initialize it here.
1760 * tests/configure.test: New test.
1761 * tests/Makefile.am: Update.
1762 Report by Stefano Lattarini.
1764 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1766 Avoid possible false negatives in confh5.test.
1767 * tests/confh5.test: Enable shell `errexit' flag, and bumped
1768 copyright years. Due to this change, any unexpected failure
1769 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1770 a failure in grepping expected text in output files should now
1771 cause the whole test to fail.
1773 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1775 Fixed typo in POD documentation of Automake::Channels.
1776 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1777 @<...> was used instead of C<...>.
1779 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1781 Refactor tests on Automake TESTS color output.
1782 * tests/color.test: Tests using the expect program moved out to...
1783 * tests/color2.test: ... this new file.
1784 * tests/Makefile.am (TESTS): Extended accordingly.
1786 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1788 Fix typos in comments in test confh5.test
1789 * tests/confh5.test: Fix a couple of typos in comments.
1791 Avoid possible false negatives in canon-name.test.
1792 * tests/canon-name.test: Enable shell `errexit' flag. Improve
1795 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1797 Fix per-Makefile.am setting of -Werror.
1798 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1799 Makefile.am would carry over to other Makefile.am files
1800 treated afterwards by the same thread, causing inconsistent
1801 and unstable exit status values.
1802 * lib/Automake/Channels.pm (dup_channel_setup)
1803 (drop_channel_setup): Save and restore the setting of
1804 $warnings_are_errors.
1805 * tests/werror3.test: New test.
1806 * tests/Makefile.am: Adjust.
1809 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1811 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1812 * tests/confh5.test: In the generated Makefile.am: do not use
1813 `test ! -e FILE' to check for the non-existence of a file, since
1814 that is not supported by Solaris/Heirloom Sh.
1816 Make test `aclocal3.test' stricter.
1817 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
1818 succeds unexpectedly.
1820 Add tests checking that symlinks are resolved by `make dist'.
1821 * tests/distlinks.test: New test.
1822 * tests/Makefile.am (TESTS): Updated accordingly.
1823 Suggested by observations from Ralf Wildenhues.
1825 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1827 Use -9 for maximum xz compression with dist-xz.
1828 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1829 * NEWS, THANKS: Update.
1830 Report by Pavel Sanda.
1832 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
1834 Avoid an unportable use of `$status' shell variable.
1835 * Makefile.am (path-check): Don't use the `$status' shell variable
1836 in the target's rules, as it's special in Zsh (equivalent to `$?',
1839 Avoid another use of `chmod -R'.
1840 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1841 $(distdir) before removing it (as Solaris `chmod -R' touches
1842 symlink targets). Instead, use the cleanup strategy used in
1845 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1847 Remove uses of @acronym and @sc.
1848 * doc/automake.texi (Public Macros, Limitations on File Names):
1849 Remove all usage of @acronym and @sc in the manual.
1850 Suggested by Karl Berry.
1852 2010-03-13 Karl Berry <karl@freefriends.org>
1854 GNU hello uses fdl.texi, not gpl.texi.
1855 * doc/automake.texi (Texinfo): Adjust example to upstream
1858 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1860 Formatting cleanups in macro comments.
1861 * automake.in, lib/Automake/Channels.pm,
1862 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1863 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1864 m4/options.m4, m4/substnot.m4: Fix macro comment format.
1866 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1867 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1869 Avoid generation of `tests/defs-p' file.
1870 * tests/defs.in: In the generated `configure.in' snippet: call
1871 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1872 variable `parallel_tests' is set to `yes'.
1873 * tests/Makefile.am (defs-p): Target removed.
1874 (check_SCRIPTS): Removed `defs-p'.
1875 (clean-local-check): Do not unlink `defs-p' anymore.
1876 ($(parallel_tests)): Transformation rules for the test scripts
1878 * tests/gen-parallel-tests: Selection rules for the test
1880 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1881 then include `./defs' (rather than simply including `./defs-p').
1882 * tests/parallel-tests2.test: Likewise.
1883 * tests/parallel-tests3.test: Likewise.
1884 * tests/parallel-tests4.test: Likewise.
1885 * tests/parallel-tests5.test: Likewise.
1886 * tests/parallel-tests6.test: Likewise.
1887 * tests/parallel-tests7.test: Likewise.
1888 * tests/parallel-tests8.test: Likewise.
1889 * tests/parallel-tests9.test: Likewise.
1890 * tests/parallel-tests10.test: Likewise.
1891 * tests/README (Section "Writing Test Cases" subsection "Do"):
1892 Adjusted the parts referring to tests checking `parallel-tests'
1893 behaviour. Some other minor related improvements.
1894 * tests/.gitignore (defs-p): Removed.
1896 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1898 Remove redundant unset of variable TESTS from some test scripts.
1899 * tests/color.test: Do not unset the `TESTS' variable, as it's
1900 already unset in the `defs' file.
1901 * tests/check5.test: Likewise.
1902 * tests/check8.test: Likewise.
1903 * tests/check9.test: Likewise.
1904 * tests/check10.test: Likewise.
1905 * tests/check11.test: Likewise.
1906 * tests/parallel-tests.test: Likewise.
1907 * tests/parallel-tests3.test: Likewise.
1908 * tests/parallel-tests4.test: Likewise.
1909 * tests/parallel-tests5.test: Likewise.
1910 * tests/parallel-tests6.test: Likewise.
1911 * tests/parallel-tests7.test: Likewise.
1913 2010-02-22 Karl Berry <karl@gnu.org>
1915 Improve help message of mdate-sh.
1916 * mdate-sh: mention actual output format in help message.
1918 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1920 Deprecate dist-lzma in favor of dist-xz.
1921 * doc/automake.texi (The Types of Distributions, Options):
1922 Adjust text to reflect renaming of lzma to xz.
1924 Missing deprecation noted by Antonio Diaz Diaz.
1926 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1928 Add tests about support of wildcards in EXTRA_DIST.
1929 * tests/extra10.test: New test, check basic support of wildcards
1931 * tests/extra11.test: New test, check more complex usage of
1932 wildcards in EXTRA_DIST.
1933 * tests/extra12.test: New test, check usage of wildcards in
1934 EXTRA_DIST when $builddir != $srcdir.
1935 * tests/Makefile.am (TESTS): Updated accordingly.
1936 Necessity of these new tests suggested by Braden McDaniel
1937 and Ralf Wildenhues.
1939 2010-02-08 Simon Josefsson <simon@josefsson.org>
1941 Fix copyright statement in gnupload script.
1942 * lib/gnupload: Fix copyright statement.
1944 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
1945 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1947 Fix exit status of signal handlers in shell scripts.
1948 The value of `$?' on entrance to signal handlers in shell scripts
1949 cannot be relied upon, so set the exit code explicitly to
1951 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1952 * lib/elisp-comp: Likewise.
1953 * lib/install-sh: Likewise.
1954 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
1955 * NEWS, THANKS: Update.
1956 Bug report, analysis, and initial patch by Dmitry V. Levin.
1958 2010-02-06 Karl Berry <karl@gnu.org>
1960 Improve gnupload usage text.
1961 * gnupload (usage): Shorten to make more likely to fit on a tty
1962 line. Mention CMD in the synopsis. With ..., plural is implied.
1964 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
1966 Fix some typos in the manual
1967 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1969 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1971 Slighty improve tests acoutbs.test and acoutbs2.test.
1972 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
1973 autoconf and configure work, that the file `zot' is created by
1974 configure, and that no file containing a backslash in its name is
1976 * tests/acoutbs.test: Likewise, plus updated copyright years.
1978 Fix test acoutbs2.test.
1979 * tests/acoutbs2: In the generated configure.in: add proper calls
1980 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1981 PACKAGE and VERSION. Add a call to aclocal before calling automake.
1982 Updated copyright years.
1983 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1985 Add forgotten test scripts to $(TESTS).
1986 * tests/Makefile.am (TESTS): Added test scripts present on the
1987 filesystem, which were erroneously left out from $(TESTS):
1988 acoutbs2.test, badopt.test, extra2.test.
1989 (XFAIL_TESTS): Added acoutbs2.test.
1991 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1993 Sync auxiliary files from upstream.
1994 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1997 Bump copyright years.
1998 * aclocal.in (write_aclocal, version): Bump copyright years.
1999 * automake.in (gen_copyright, version): Likewise.
2000 * doc/automake.texi: Likewise.
2003 * ChangeLog.09: New file, rotated from ...
2004 * ChangeLog: ... here.
2005 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2009 Copyright (C) 2010 Free Software Foundation, Inc.
2011 Copying and distribution of this file, with or without modification, are
2012 permitted provided the copyright notice and this notice are preserved.