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