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