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