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