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