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