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