1 2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com>
3 Extend, fix and improve tests on Lex and Yacc support.
4 * tests/lexcpp.test: New test script, on support for Lex + C++.
5 * tests/lexvpath.test: New test script, test build and rebuild
6 rules for lexers in VPATH setup.
7 * tests/yacc-basic.test: New test script, run simple "semantic"
8 checks on basic Yacc support (similarly to what lex3.test does
10 * tests/lex.test: Don't create useless dummy source file joe.l.
11 Remove extra blank lines.
12 * tests/lex4.test: Add trailing `:' command. Do not create dummy
13 useless lex source file.
14 * tests/lex2.test: Likewise. Call automake with the `-a' option,
15 so that it doesn't fail for the absence of `ylwrap' script. Make
16 grepping of automake stderr stricter.
17 * tests/yacc7.test: Add trailing `:' command. Enable `errexit'
18 shell flag earlier (just after having sourced ./defs).
19 * tests/yacc4.test: Likewise. Also ...
20 (configure.in): Use pre-populated skeleton set up by ./defs,
21 instead of writing one from scratch.
22 Other minor cosmetic changes.
23 * tests/yacc5.test: Likewise.
24 * tests/yaccvpath.test: Likewise. Also ...
25 ($distdir): New variable.
27 * tests/lex5.test: Likewise.
28 * tests/lex3.test: Likewise. Check the distdir, rather than
29 grepping the distribution tarball. Extend the test on the
30 created binary, and be sure to avoid hangs. Add some comments.
31 * tests/yacc.test: Use stricter grepping. Add trailing `:'.
32 * tests/yacc6.test: Likewise.
33 * tests/yacc3.test: Likewise. Do not create the unused file
34 `Makefile.sed'. Remove useless rules from Makefile.am. Other
35 minor cosmetic changes.
36 * tests/yacc2.test: Make grepping of generated `Makefile.in' and
37 of automake error messages stricter. Do not redirect output of
38 grep to /dev/null. Move call to aclocal earlier. Reduce the
39 number of empty blank lines. Fix a typo in comments.
40 * tests/yacc8.test: Fixed bugs that reduced the completeness of
41 the tests. Added trailing `:' command.
42 (configure.in): Use pre-populated skeleton set up by ./defs,
43 instead of writing one from scratch.
44 * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and
45 `.yxx', rather than only `.yy'.
46 * tests/Makefile.am (TESTS): Update.
48 2011-01-07 Stefano Lattarini <stefano.lattarini@gmail.com>
50 yacc: "make clean" removes .c and .h files from non-distributed .y
51 Previously, while automake did *not* distribute C source and header
52 files derived from non-distributed Yacc sources, it still caused
53 them to be removed only by "make maintainer-clean" only, and not by
54 simply "make clean" or "make distclean".
55 This caused "make distcheck" to fail, unless the developer put
56 those generated .c and .h files in CLEANFILES or in DISTCLEANFILES
58 This change fixes this issue, by making non-distributed `.c' and
59 `.h' files generated by non-distributed Yacc sources cleaned by
61 * tests/automake.in (lang_yacc_target_hook): Make C source and
62 header files derived from non-distributed Yacc files cleaned by
63 "make clean", not only by "make maintainer-clean".
64 * tests/yacc-clean.test: New test.
65 * tests/Makefile.am (TESTS): Update.
68 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
70 * NEWS: Fix typo (forgotten word).
72 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
73 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
75 docs: how to work around checks on invalid primary/directory couples
76 * doc/automake.texi (Uniform): Document the blessed idiom which can
77 be used to work around automake checks on invalid primary/directory
78 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
80 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
82 Sync auxiliary files from upstream.
83 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
86 Fix maintainer-check regression.
87 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
91 * aclocal.in (write_aclocal, version): Bump copyright years.
92 * automake.in (gen_copyright, version): Likewise.
93 * doc/automake.texi: Likewise.
95 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
96 Stefano Lattarini <stefano.lattarini@gmail.com>
98 Work around a bug in file-inclusion mechanism of Solaris make.
99 * automake.in (handle_single_transform): In the name of the
100 dependency file: collapse multiple slash characters into a single
102 * tests/subobj11a.test: New test.
103 * tests/subobj11b.test: Likewise.
104 * tests/subobj11c.test: Likewise.
105 * tests/depcomp8a.test: Likewise.
106 * tests/depcomp8b.test: Likewise.
107 * tests/Makefile.am (TESTS): Updated.
109 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
110 patch and tests by Stefano Lattarini.
112 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
114 Fix two spurious testsuite failures on IRIX 6.5.
115 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
116 weaker make implementations (e.g. IRIX 6.5).
117 * tests/parallel-tests8.test: Likewise, plus a required related
119 Reported by Ralf Wildenhues. The bugs have been there from the
120 first versions of the affected test scripts.
122 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
124 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
125 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
126 the AM_CYGWIN32 macro (and indeed hasn't required it since at
127 least commit Release-1-2-31-g3038064 "merged changes from
128 Cygnus" of 1997-08-25).
130 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
132 distlinksbrk.test: Work around botched "make -k".
133 * tests/distlinksbrk.test: Run "make" multiple times and grep
134 its output each time for a single error message, rather than
135 running "make -k" one single time and grepping its output for
136 all the expected error messages. This should work around make
137 implementations with limited (broken?) `-k' support; for more
138 information, see these subthreads on the automake-patches list:
139 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
140 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
141 - 2010-11-15, "Testsuite failures on IRIX 6.5",
142 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
144 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
146 Fix sed-related buglet in test "subdir5.test"
147 * tests/subdir5.test: Always terminate text passed to the
148 `i' sed command with a newline, to work around limitations
149 in e.g. older OpenBSD sed.
151 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
153 docs: fix blunder in example about python extension modules
154 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
155 not `quaternion_SOURCES', to declare the sources of python
156 extension module `quaternion.la'.
158 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
160 docs: list LTLIBRARIES among Automake primaries
161 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
162 the Automake primaries.
164 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
166 Improve tests on generated portions of configure help screen.
167 * tests/help-depend.test: Grepping of configure help screen
168 relaxed to cater for possible line wrapping, and tightened in
170 * tests/help-depend2.test: Likewise.
171 * tests/help-dmalloc.test: Likewise.
172 * tests/help-lispdir.test: Likewise.
173 * tests/help-maintainer.test: Likewise.
174 * tests/help-multilib.test: Likewise.
175 * tests/help-silent.test: Likewise.
176 * tests/help-upc.test: Likewise.
177 * tests/help-init.test: Grepping of configure help screen
180 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
182 Avoid running installed automake from 'libtool --help'.
183 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
184 Together with fixed Libtool, this fixes check-coverage to not
185 invoke installed automake.
187 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
189 Fix spurious failures in `silent*.test' for $CC != gcc
190 In some tests on automake-produced silent rules, we forced the
191 use of gcc depmode to improve testsuite coverage; but this has
192 unsurprisingly led to spurious failures when some non-GNU C
193 compilers were used. So we are now careful to require GCC in
194 tests that force gcc depmode.
195 From reports by Ralf Wildenhues.
196 * silent5.test: Test removed, its content split into ...
197 * silent-many-generic.test, silent-many-gcc.test: ... these new
198 sister tests, the latter of which forces gcc depmode and lists
200 * silentlex.test: Test removed, its content split into ...
201 * silent-lex-generic.test, silent-lex-gcc.test: ... these new
202 sister tests, the latter of which forces gcc depmode and lists
204 * silentyacc.test: Test removed, its content split into ...
205 * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
206 sister tests, the latter of which forces gcc depmode and lists
208 * tests/Makefile.am (TESTS): Updated.
210 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
212 Tests: consistently use "|| Exit 1" after ". ./defs".
213 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
214 `. ./defs', for consistency with other tests.
215 * tests/autohdr2.test: Likewise.
216 * tests/autohdr3.test: Likewise.
217 * tests/autohdr4.test: Likewise.
218 * tests/cond23.test: Likewise.
219 * tests/cond24.test: Likewise.
220 * tests/cond25.test: Likewise.
221 * tests/cond26.test: Likewise.
222 * tests/cond27.test: Likewise.
223 * tests/cond28.test: Likewise.
224 * tests/cond29.test: Likewise.
225 * tests/cond30.test: Likewise.
226 * tests/cond31.test: Likewise.
227 * tests/cond32.test: Likewise.
228 * tests/cond33.test: Likewise.
229 * tests/cond34.test: Likewise.
230 * tests/cond35.test: Likewise.
231 * tests/cond36.test: Likewise.
232 * tests/cond37.test: Likewise.
233 * tests/cond38.test: Likewise.
234 * tests/cond39.test: Likewise.
235 * tests/cond40.test: Likewise.
236 * tests/cond41.test: Likewise.
237 * tests/cond42.test: Likewise.
238 * tests/cond43.test: Likewise.
239 * tests/cond44.test: Likewise.
240 * tests/cond45.test: Likewise.
241 * tests/dollarvar.test: Likewise.
242 * tests/dollarvar2.test: Likewise.
243 * tests/hfs.test: Likewise.
244 * tests/libobj14.test: Likewise.
245 * tests/percent.test: Likewise.
246 * tests/percent2.test: Likewise.
247 * tests/phony.test: Likewise.
248 * tests/silent.test: Likewise.
249 * tests/silent2.test: Likewise.
250 * tests/silent3.test: Likewise.
251 * tests/silent4.test: Likewise.
252 * tests/silent5.test: Likewise.
253 * tests/silent6.test: Likewise.
254 * tests/silent7.test: Likewise.
255 * tests/silent9.test: Likewise.
256 * tests/silentcxx.test: Likewise.
257 * tests/silentf77.test: Likewise.
258 * tests/silentf90.test: Likewise.
259 * tests/silentlex.test: Likewise.
260 * tests/silentyacc.test: Likewise.
262 Avoid useless cleaning in some `silent*.test' tests.
263 * tests/silentf77.test: Removed useless calls to "make clean"
264 and "make maintainer-clean".
265 * tests/silentf90.test: Likewise.
266 * tests/silent3.test: Removed useless call to "make distclean".
267 * tests/silent4.test: Likewise.
268 * tests/silent9.test: Likewise.
270 2010-11-19 Ian Lance Taylor <iant@google.com>
272 Sync config-ml.in from GCC.
273 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
274 compiler/flag environment variables.
276 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
278 Automake::Config: remove extra trailing semicolon.
279 * lib/Automake/Config.in: Remove extra trailing semicolon.
281 help4.test: fix botched heading comment.
282 * tests/help4.test: Fixed the heading comment, since it
283 didn't correctly describe what checks the testcase was
286 help2.test: add checks on aclocal too.
287 * tests/help2.test: Check that also `aclocal --version' and
288 `aclocal --help' work with configure.in and acinclude.m4 both
291 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
293 Fix spurious failures of silent-rules tests with Sun Fortran.
294 * tests/silentf77.test: Strip from the make output some verbose
295 messages possibly printed by the SunStudio fortran compilers, to
296 avoid spurious failures. Add a trailing `:' command.
297 * tests/silentf90.test: Likewise.
299 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
301 Fix spurious failures of silent5.test with Sun Fortran.
302 * tests/silent5.test: Strip from the make output some verbose
303 messages possibly printed by the SunStudio fortran compilers,
304 to avoid spurious failures. This bug has been there from the
305 very first version of this test script.
307 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
309 Fix regression in colon{5,6}.test (failures on AIX 5.3).
310 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
311 post-processing the generated Makefile.in, to work around a bug
312 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
313 on the commend line. Calls to `$MAKE' adjusted accordingly.
314 * tests/colon6.test: Likewise.
315 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
316 improve and/or extend tests `colon*.test", and reported by Ralf
319 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
321 Fix regression in ansi.test (failure on AIX 5.3).
322 * tests/ansi.test: Remove redundant hackish check done using a
323 hand-postprocessed Makefile.in. This check worked by setting
324 the `$(SHELL)' macro on the command line of make, but this is
325 not supported by the AIX 5.3 make implementation.
326 This bug has been lurking for a long time, and was activated by
327 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
328 tests". Report by Ralf Wildenhues.
330 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
332 tests: avoid '##'-style comments inside recipe commands.
333 * tests/confh.test, tests/confh8.test: Remove
334 double-hash comments from makefile rule commands, they
335 are not part of the Automake API.
337 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
339 tests: work around dash quoting issue in case statements.
340 * tests/color.test, tests/color2.test: Quote variable in case
341 pattern, to avoid skipping tests with dash 0.5.5.1.
343 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
345 Rebuild menus in the manual.
346 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
347 Thanks to Ian Lance Taylor for the suggestion.
349 Fix install-strip when $(STRIP) contains several words.
350 * lib/am/install.am (install-strip): Update comment. Use
351 separate sub-make invocations for empty and nonempty $(STRIP),
352 to fix quoting issues.
353 * tests/strip2.test, tests/strip3.test: New tests.
354 * tests/Makefile.am (TESTS): Adjust.
356 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
358 Fix yaccdry.test failure: require bison.
359 * tests/yaccdry.test: Require bison.
360 Found by NixOS Hydra.
362 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
364 Fix a bug in variable concatenation with `+='.
365 * lib/Automake/VarDef.pm (append): Since the content of the
366 "appended-to" variable is going to be unconditionally normalized
367 later, simply separate the appended value with a single whitespace
368 character, instead of trying to be uselessly smarter by using
369 escaped newlines. This fixes a bug in which extra backslashes
370 where erroneously inserted in the variable's final value.
371 * tests/pluseq11.test: New test, exposing the bug.
372 * tests/Makefile.am (TESTS): Update.
373 Reported by Andy Wingo.
375 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
377 Fix bug in rules for creating vala vapi/header files.
378 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
379 if control structure in a generated make rules. Bug introduced
380 by previous commit `v1.11-221-gd7c1679', and revealed by failure
381 of test `vala2.test'.
383 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
385 Fix and document rules to not touch the tree with `make -n'.
386 * doc/automake.texi (Multiple Outputs): Document the problem of
387 modifications during dry-run execution, propose solution.
389 * automake.in (lang_vala_finish_target): Split recipe so the
390 stamp file is not removed with GNU `make -n'.
391 (lang_yacc_target_hook): Separate removal of parser output file
393 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
394 passed to make, take care not to remove any files in that case.
395 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
396 %STAMP% file from induced remaking of config header.
397 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
399 * tests/Makefile.am (TESTS): Update.
401 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
403 Add FAQ entry for bug reporting instructions.
404 * doc/automake.texi (Reporting Bugs): New section.
405 (Introduction): Refer to it.
407 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
409 Add support for newer python versions.
410 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
411 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
412 line and fix indentation.
414 From a report by Thomas Klausner.
416 Add test for `AM_WITH_DMALLOC' macro.
417 * tests/dmalloc.test: New test.
418 * tests/Makefile.am (TESTS): Update.
420 Fix nits and bugs in tests `help*.test'.
421 * tests/help4.test: Fix broken sed commands used to strip `-W...'
422 flags away from "$AUTOMAKE" and "$ACLOCAL".
423 * tests/help3.test: Likewise, and fix a botched comment.
424 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
425 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
426 please maintainer-check.
427 * tests/help2.test: Likewise.
429 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
430 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
432 Improve tests `help*.test' (also fixes maintcheck failures).
433 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
434 flags stripped away rather than hard-coded `automake-$APIVERSION',
435 to better honour user-overrides. Similarly for aclocal.
436 * tests/help2.test: Likewise.
437 * tests/help3.test: Likewise.
438 * tests/help4.test: Likewise.
440 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
442 Document and fix expansion of variables before rules.
443 * doc/automake.texi (General Operation): Document that variables
444 are expanded before rules.
445 * lib/am/check.am (am__check_post): Reword a bit so it does not
446 get matched as a rule.
447 Suggestion by Ben Pfaff.
449 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
451 Revert "parallel-tests: avoid command-line length limit issue."
452 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
453 because it re-opened the bug fixed by v1.11-10-g218e678.
455 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
457 parallel-tests: avoid command-line length limit issue.
458 * automake.in (handle_tests): New argument $makefile, new
459 substitution %MAKEFILE%.
460 (generate_makefile): Adjust.
461 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
462 sanitized TEST_LOGS value as makefile snippet on standard
463 input to $(MAKE), to avoid exceeding the command line limit on
466 Report by Bob Friesenhahn.
468 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
470 Extend tests on `--help' and `--version' options.
471 * tests/help.test: Create a new empty directory and chdir into
472 it, rather than removing already present files. Run the aclocal
473 and automake wrapper scripts directly, instead of relying on
474 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
475 in aclocal's and automake's stderr. Add a trailing `:' command.
476 * tests/help2.test: New test, checking that options `--help' and
477 `--version' works in directories with broken `configure.in'.
478 * tests/help3.test: New test, checking that options `--help' and
479 `--version' take precedence on the other options.
480 * tests/help4.test: New test, checking that the first among the
481 `--help' and `--version' options to be specified on the command
483 * tests/Makefile.am (TESTS): Updated.
485 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
487 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
488 * tests/compile2.test: Do no uselessly (implicitly) repeat the
489 computation of PATH_SEPARATOR again.
490 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
491 extending/redefining PATH.
492 * tests/instmany-python.test: Likewise.
493 * tests/instmany.test: Likewise.
494 * tests/man4.test: Likewise.
495 * tests/mkinst3.test: Likewise.
496 * tests/mmodely.test: Likewise.
497 * tests/multlib.test: Likewise.
498 * tests/txinfo30.test: Likewise.
499 * tests/README (Section "Writing test cases" subsection "Do"):
501 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
502 (syntax_check_rules): Updated.
504 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
505 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
506 ($ACLOCAL, $AUTOMAKE): Use it.
507 ($PATH_SEPARATOR): New AC_SUBST'd variables.
510 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
512 Manual: be more agnostic w.r.t. version control system used.
513 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
514 directories as a type of probably-unwanted files that are copied
515 regardless when adding directories to EXTRA_DIST.
516 (The dist Hook): Show a dist-hook example which removes Subversion
517 `.svn' private directories from distdir, rather than CVS private
519 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
520 the version control system used.
522 Manual: index refer to target "git-dist", not "cvs-dist".
523 * doc/automake.texi (General Operation): Index the non-standard
524 example about "git-dist" under the "git-dist" label, not under
527 Perl modules: remove references to "Automake CVS repository".
528 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
529 git repository" rather than to "Automake's CVS repository".
530 * lib/Automake/Configure_ac.pm: Likewise.
531 * lib/Automake/FileUtils.pm: Likewise.
532 * lib/Automake/Struct.pm: Likewise.
533 * lib/Automake/XFile.pm: Likewise.
534 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
535 branches" rather than "CVS branches".
537 Remove obsolete .cvsignore files.
538 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
539 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
540 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
541 savannah's CVS readonly mirror there's no way to commit back to
542 the real repository, so this files are not worth maintaining or
545 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
547 * m4/dmalloc.m4: Bump serial number and copyright years.
549 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
551 Fix broken link in `AM_WITH_DMALLOC' help screen.
552 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
553 `http://www.dmalloc.com', not to the dmalloc tarball there (which
554 seems to have been removed, substituted by multiple release
557 2010-09-17 Eric Blake <eblake@redhat.com>
559 Avoid triple-space after period.
560 * automake.in (handle_single_transform): Avoid 3 spaces at
562 * ChangeLog.03: Likewise.
563 * lib/Automake/ChannelDefs.pm: Likewise.
564 * lib/Automake/Channels.pm (_print_message): Likewise.
565 * lib/Automake/Rule.pm (rule): Likewise.
566 * lib/Automake/Variable.pm (var): Likewise.
567 * lib/am/distdir.am: Likewise.
568 * tests/insthook.test: Likewise.
570 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
572 Test automake-generated portions of configure help screen.
573 * tests/help-depend.test: New test.
574 * tests/help-depend2.test: Likewise.
575 * tests/help-dmalloc.test: Likewise.
576 * tests/help-init.test: Likewise.
577 * tests/help-lispdir.test: Likewise.
578 * tests/help-maintainer.test: Likewise.
579 * tests/help-multilib.test: Likewise.
580 * tests/help-regex.test: Likewise.
581 * tests/help-silent.test: Likewise.
582 * tests/help-upc.test: Likewise.
583 * tests/mmode.test: Remove tests on `configure --help' output,
584 they are superseded by tests in `help-maintainer.test'.
585 * tests/Makefile.am (TESTS): Update.
587 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
589 * tests/README: Don't put GCS mandated tools in $required.
591 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
593 * HACKING: Hint at old commits with `git describe' output.
595 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
597 Fix regression in test `colon4.test'.
598 * tests/colon4.test: Fix botched editing to `configure.in'
599 that made the test useless. Since we are at it, improve
600 comments and make grepping of generated Makefile.in slightly
602 Regression introduced by change "Modernize, improve and/or
603 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
605 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
607 Do not require "gzip" explicitly in tests.
608 The gzip utility is simply expected to be present on any decent
609 target system for Automake. So it's pointless to put it in
611 * tests/install2.test ($required): Do not require "gzip".
612 * tests/lex3.test: Likewise.
613 * tests/pr9.test: Likewise.
614 From a suggestion by Ralf Wildenhues.
616 Make some `confh*.test' tests more "semantic" (plus tweakings).
617 * tests/confh.test: Run "autoconf", "configure" and "make check",
618 instead of munging/grepping the generated `Makefile.in'.
619 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
620 white spaces. Do not create useless dummy source file `foo.c'
621 and useless dummy header file `acconfig.h'.
622 (configure.in): Remove superfluous call to `AC_OUTPUT'.
623 * tests/confh6.test: Add trailing `:' command.
624 * tests/confh7.test: In comments, add reference to ...
625 * tests/confh8.test: ... this new test, "semantic" sister
627 * tests/Makefile.am (TESTS): Updated.
628 Prompted by a report from Ralf Wildenhues.
630 Remove useless whitespace padding in XFAIL_TESTS definition.
631 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
633 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
635 parallel-tests: avoid command-line length limit issue.
636 * automake.in (handle_tests): New argument $makefile, new
637 substitution %MAKEFILE%.
638 (generate_makefile): Adjust.
639 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
640 sanitized TEST_LOGS value as makefile snippet on standard
641 input to $(MAKE), to avoid exceeding the command line limit on
644 Report by Bob Friesenhahn.
646 Posix 2008 requires make to set errexit.
647 * lib/am/check.am: Update comment.
649 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
651 Fix bug in test missing6.test.
652 * tests/missing6.test: Fix the hack used to edit `configure.in',
653 to avoid producing a configure script that breaks with shells
654 that do not support $LINENO. Also throw in a couple of cosmetic
657 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
659 Improve robustness of mdate-sh script.
660 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
661 $ls_command is word-split properly upon invocation.
662 (error): New function.
663 (main): Use it. Improve error checking to avoid endless loop
664 in case $ls_command gave bogus output. Fix eval quotation.
665 * tests/mdate6.test: New test, to expose eval quotation error.
666 * tests/Makefile.am: Update.
668 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
670 Fix potential regressions in depcomp{3,5}.test.
671 * tests/depcomp3.test: Do not uselessly escape the character `$'
672 in makefile rules, when it's used to expand a make macro.
673 * tests/depcomp5.test: Likewise.
675 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
676 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
678 Docs: clarify how to avoid automatic dependencies tracking.
679 * doc/automake.texi (Automatic dependency tracking): Mention that
680 automatic dependencies tracking is enabled by default, but that
681 the package developer can disable it altogether. Add a reference
682 to the proper section for a more in-depth explanation.
684 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
685 * doc/automake.texi (Automatic dependency tracking): Fix typo.
687 2010-08-16 Bruno Haible <bruno@clisp.org>
689 Don't hide the table of contents.
690 * doc/automake.texi: Move the table of contents to the beginning.
692 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
694 Tweak and/or extend some `acloca*.test' tests.
695 * tests/aclocal8.test: Ensure verbose printing of captured
697 * tests/aclocal.test: Likewise. Also, add trailing `:'
699 * tests/acloca19.test: Likewise.
700 * tests/aclocal5.test: Add trailing `:' command, and prefer
701 `$me' over hard-coded test name.
702 * tests/aclocal6.test: Likewise.
703 * tests/aclocal18.test: Add trailing `:' command, and make
704 some grepping slightly stricter.
705 * tests/acloca14.test: Likewise. Also, prefer `diff' over
706 `cmp', and add some "cosmetic" blank lines.
708 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
710 Tweak and extend tests `pr[!0-9]*.test'.
711 * tests/primary3.test: Add trailing `:' command.
712 * tests/primary.test: Make grepping of Automake's stderr stricter.
713 Also, add trailing `:' command, and cosmetic changes in spacing.
714 * tests/primary2.test: Likewise.
715 * tests/prefix.test: Enable `errexit' shell flags, and related
716 changes. Add a trailing `:' command.
717 * tests/proginst.test: Likewise.
719 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
720 * tests/pr2.test: Add trailing `:' command.
721 * tests/pr229.test: Likewise.
722 * tests/pr401.test: Likewise.
723 * tests/pr401b.test: Likewise.
724 * tests/pr401c.test: Likewise.
725 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
727 * tests/pr300-lib.test: Likewise.
728 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
729 of captured make stdout.
730 * tests/pr211.test: Add trailing `:' command. Also, use the
731 `configure.in' stub created by ./defs, rather than writing it
733 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
734 * tests/pr287.test: Likewise, and move setting of `errexit' shell
735 flag earlier in the script (just after inclusion of ./defs).
736 * tests/pr220.test: Make grepping of Automake's stderr stricter.
737 Also, add trailing `:' command, and cosmetic changes in spacing.
738 * tests/pr224.test: Move setting of `errexit' shell flag earlier
739 in the script (just after inclusion of ./defs). Do not export
740 `CC=gcc' to configure explicitly (it's already exported globally
741 in ./defs, since we have "gcc" in $required). Use the stub for
742 `configure.in' created by ./defs, rather than writing it from
743 scratch. Do not create dummy files required by "gnu" mode (e.g.
744 README, NEWS), since we run automake in foreign mode anyway.
745 * tests/pr72.test: Enable `errexit' shell flags, and related
746 changes. Extend existing checks a bit.
747 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
748 the generated `configure.in', and extend existing checks over the
749 generated tarball a bit.
750 * tests/pr87.test: Enable `errexit' shell flags, and related
751 changes. Add a trailing `:' command. Also, do not create dummy
752 files required by "gnu" mode (e.g. README, NEWS), since we run
753 automake in foreign mode anyway.
754 * tests/pr243.test: Avoid obsolescent constructs in the generated
755 `configure.in'. Enable the `errexit' shell flag, and related
756 changes. Cosmetic changes to spacing, add trailing `:' command,
757 and add a "FIXME" comment.
758 * tests/pr266.test: Likewise, and add explicit command line switch
759 `--enable-dependecy-tracking' to the ./configure call.
760 * tests/pr279.test: Avoid obsolescent constructs in the generated
761 `configure.in'; also, use the `configure.in' stub created by
762 ./defs, rather than writing it from scratch. Enable `errexit'
763 shell flag, and related changes. Add trailing `:' command.
764 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
766 * tests/pr307.test: Move setting of `errexit' shell flag earlier
767 in the script (just after inclusion of ./defs). Escape literal
768 dots in grep regular expressions. Also, add a trailing `:'
769 command, and cosmetic changes to spacing.
771 Tests for PR: add excerpts from original bug report, for clarity.
772 * tests/pr2.test: Ditto.
773 * tests/pr9.test: Likewise.
774 * tests/pr72.test: Likewise.
775 * tests/pr87.test: Likewise.
776 * tests/pr211.test: Likewise.
777 * tests/pr220.test: Likewise.
778 * tests/pr224.test: Likewise.
779 * tests/pr229.test: Likewise.
780 * tests/pr243.test: Likewise.
781 * tests/pr266.test: Likewise.
782 * tests/pr279.test: Likewise, and tell to keep it in sync
783 with its sister test.
784 * tests/pr279-2.test: Likewise.
786 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
788 Tweak, extend and improve tests `cond[a-z]*.test'.
789 * tests/condd.test: Add trailing `:' command. Typofix in
791 * tests/condhook.test: Make sure target `install-data-hook' is
792 not called by `make install', but that data files are installed.
793 Use proper m4 quoting in configure.in. Add trailing `:' command.
794 * tests/condhook2.test: New test, sister test of condhook, with
796 * tests/condinc2.test: Use proper m4 quoting in configure.in.
797 Prefer trailing `:' command over trailing `Exit 0'.
798 * tests/condman2.test: Enable errexit shell flag, and related
799 changes. Add trailing `:' command.
800 * tests/condman.test: Likewise. Also, do not create useless
801 dummy manpages, and use proper m4 quoting in configure.in.
802 * tests/condman3.test: New test, similar to condman.test, but
803 it also runs ./configure and "make install", and check the
805 * tests/Makefile.am (TESTS): Updated.
807 Modernize, improve and/or extend tests `colon*.test.
808 * tests/colon.test: Rely on the `configure.in' stub created by
809 `./defs', rather than writing one from scratch. Do not create
810 a useless dummy file. Add trailing `:' command.
811 * tests/colon4.test: Enable the `errexit' shell flag, and
812 related changes. Rely on the `configure.in' stub created by
813 `./defs', rather than writing one from scratch.
814 * tests/colon7.test: Enable `errexit' shell flag, and related
815 changes. Improve the generated `configure.in' file. Add
816 trailing `:' command.
817 * tests/colon2.test: Likewise. Also, add some new checks.
818 * tests/colon5.test: Improve the generated `configure.in' file.
819 Add new, much deeper checks. Add trailing `:' command.
820 * tests/colon6.test: Likewise.
821 * tests/colon3.test: Add trailing `:' command. Remove useless
822 comments and echos. Improve the generated `configure.in' file.
823 make some grepping tests stricter. Add a "FIXME" comments about
824 planned improvements.
826 Improve and extend tests `asm*.test'.
827 * tests/asm.test: Use configure.in stub generated by ./defs,
828 and avoid obsoleted autoconf constructs. Make grepping of
829 Automake stderr stricter. Do not create useless source file.
830 Improve verbose messages. Minor cosmetic changes. Tell to
831 keep it in sync with other sister tests asm*.test.
832 * tests/asm2.test: Likewise.
833 * tests/asm3.test: Likewise.
835 Modernize, improve and/or extend test scripts `conf*.test'.
836 * tests/confh5.test: Cosmetic changes.
837 * tests/conff.test: Likewise.
838 * tests/confdeps.test: Likewise.
839 * tests/conflnk.test: Likewise.
840 * tests/conflnk2.test: Likewise.
841 * tests/confsub.test: Likewise.
842 * tests/confvar.test: Likewise, and make grepping of Makefile.in
844 * tests/confvar2.test: Likewise.
845 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
846 disabled test (which didn't work with autoconf <= 2.59, but now we
847 are requiring autoconf 2.62, so...)
848 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
849 accordingly to "TODO" comments.
850 * tests/conff2.test: Make grepping of Automake's stderr stricter.
851 Add some comments explaining why we don't use the `configure.in'
852 stub preset be ./defs.
853 * tests/confh.test: Use the `configure.in' stub created by ./defs,
854 rather than writing one from scratch, and do not call AC_OUTPUT.
855 Enable `errexit' shell flag, and related changes. Prefer diff over
856 cmp to compare text files. Prefer perl over sed to fetch the value
857 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
858 of $(DIST_COMMON) stricter.
859 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
860 rather than writing one from scratch. Make grepping of Makefile.in
862 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
864 * tests/configure.test: Avoid obsolescent constructs in generated
865 `configure.ac'. Do not write `configure.in' two times. Escape
866 literal dots in grep regular expressions.
867 * tests/confincl.test: Enable `errexit' shell flag, and related
868 changes. Prefer fgrep over grep. Other cosmetic changes.
869 * tests/config.test: Renamed to ...
870 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
871 and make grepping of `config.h' and `config.h.in' stricter.
872 * tests/conf2.test: Renamed ...
873 * tests/confh7.test: ... to this. Use the `configure.in' stub
874 created by ./defs, rather than writing one from scratch. Try to
875 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
877 * tests/Makefile.am (TESTS): Updated.
879 Minor improvements and fixes in tests `depcomp*.test'.
880 * tests/depcomp.test: Do not create useless dummy source files.
881 Add a trailing `:' command.
882 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
883 it's not in in the environment, rather than exporting it with an
884 empty value. Do not pass CC=gcc to configure, as that's already
885 done in ./defs since we have gcc in $required. Ensure verbose
886 printing of captured stderr, and normalize its checking. Add a
887 trailing `:' command.
888 * tests/depcomp3.test: Quote literal dots and dollar characters in
889 grep regexps. Always use `: >' rather than `touch' to create empty
890 files. Explicitly declare phony targets as such in the created
891 Makefile.am. Add a trailing `:' command.
892 * tests/depcomp4.test: Quote literal dots and dollar characters in
893 grep regexp. Explicitly declare phony targets as such in the
894 created Makefile.am. Ensure verbose printing of captured makes'
895 stoud/stderr. Add a trailing `:' command.
896 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
897 in the script (just after inclusion of ./defs). Quote literal dots
898 and dollar characters in grep regexps. Explicitly declare phony
899 targets as such in the created Makefile.am. Add a trailing `:'
901 * tests/depcomp6.test: Consistently use m4 quoting in the generated
902 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
903 statement required by OpenBSD's sh `set -e' more robust, and add
904 explanatory comments to it.
905 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
907 Separate failing part of test `all.test'.
908 * tests/all.test: Keep only (x)failing part of the test. Working
909 checks moved out to ...
910 * tests/all2.test: ... this new test.
911 * tests/Makefile.am (TESTS): Updated.
913 Modernize, improve and extend tests `subobj*.test'.
914 * tests/subobjname.test: Add trailing `:' command.
915 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
916 Escape literal dots in grep regexps.
917 * tests/subobj2.test: Add trailing `:' command. Do not use the
918 unportable fgrep option `-e'.
919 * tests/subobj3.test: Add trailing `:' command.
920 (configure.in): Use proper m4 quoting, and avoid obsolescent
922 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
923 flag, with related changes
924 * tests/subobj4.test: Likewise. Also, make grepping of
925 `Makefile.in' stricter.
926 * tests/subobj5.test: Add trailing `:' command. Move setting of
927 `errexit' shell flag earlier in the script (just after inclusion
929 (configure.in): Use the stub created by `./defs', rather than
930 writing it from scratch, and avoid obsolescent constructs.
931 * tests/subobj6.test: Add trailing `:' command. Move setting of
932 `errexit' shell flag earlier in the script (just after inclusion
933 of ./defs). Do not create useless dummy ac-init file `f'.
934 * tests/subobj7.test: Do not create useless dummy ac-init file
936 (configure.in): Use the stub created by `./defs', rather than
937 writing it from scratch, and avoid obsolescent constructs.
938 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
939 in the script (just after inclusion of ./defs). Fail the test if
940 `make distcheck' fails. Ensure verbose printing of captured make
941 stdout. Avoid useless fork by doing simple grep instead of using
942 test -n "`COMMAND | grep ...`".
943 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
944 (Makefile.am): Explicitly mark target "print" as phony.
945 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
946 trailing `:' command.
947 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
949 Remove a couple of obsoleted tests.
950 * tests/fpinstall.test: Removed.
951 * tests/fpinst2.test: Likewise.
952 * tests/Makefile.am (TESTS): Updated.
954 Bootstrap: updated HACKING entry.
955 * HACKING ("Working with git"): Explain how to override the
956 autoconf and autom4te programs used by the bootstrap process.
959 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
960 since we don't generate it. Correctly quote arguments of
961 `eval' builtin. Fixed a botched error message. Removed an
964 Bootstrap: don't search perl in $PATH.
965 * bootstrap: Do not explicitly search perl in $PATH anymore.
966 ($PATH_SEPARATOR): Removed, it's no more needed.
968 Bootstrap: let the user choose which autoconf to use.
969 * bootstrap ($AUTOCONF): New variable, from the environment.
970 ($AUTOM4TE): Likewise, for clarity.
971 Use "$AUTOCONF" instead of calling "autoconf" directly.
973 Minor improvements to tests ar*.test.
974 * tests/ar.test: Add trailing `:' command.
975 * tests/ar2.test: Likewise, and make grepping of generated
976 Makefile.in stricter.
978 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
980 Fix maintainer-check failure.
981 * tests/cond5.test: Quote sleep argument, this isn't about
982 time stamp differences.
984 Sync auxiliary files from upstream.
985 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
988 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
990 Work around a nasty bug (segfault) of Solaris make.
991 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
992 from $list, to avoid triggering a nasty bug (potential segfault)
995 2010-08-06 Peter Rosin <peda@lysator.liu.se>
997 Make cond5.test more robust on MSYS.
998 * tests/cond5.test: Add delay before the first kill attempt to
999 cater for problems with MSYS bash.
1001 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1003 Add example git work flow; discuss merge --log in HACKING.
1005 Suggestion by Stefano Lattarini.
1007 Add more hints for debugging make rules.
1008 * doc/automake.texi (Debugging Make Rules): Show command to find
1009 out expanded values of variables; point to makefile debugger.
1011 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1013 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1015 Fix typo in the manual.
1016 * doc/automake.texi (Scripts): Fix typo.
1018 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1020 Document current policy for development with git.
1021 * HACKING (Working with git): Overhaul.
1022 Prompted by suggestion from Stefano Lattarini.
1024 Fix AM_COND_IF for gone-invalid condition shell expression.
1025 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1026 variable, rather than re-evaluating the shell expression for
1028 * tests/cond40.test: Extend test.
1031 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1032 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1033 to avoid shell syntax error if the m4 expansion is empty.
1034 * tests/cond40.test: Enhance test.
1036 Coverage: bogus option to AM_INIT_AUTOMAKE.
1037 * tests/init2.test: New test.
1038 * tests/Makefile.am: Update.
1040 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1042 Modernize and improve test scripts `subdir*.test'.
1043 * tests/subdir.test: Enable `errexit' shell flag, and related
1044 changes. Use the `configure.in' stub created by `./defs',
1045 rather than writing one from scratch.
1046 * tests/subdir2.test: Likewise.
1047 * tests/subdir4.test: Likewise.
1048 * tests/subdir3.test: Enable `errexit' shell flag, and related
1049 changes. Do not create useless dummy source files.
1050 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1051 and in subdirs) stricter. Some minor changes to keep it more
1052 in sync with the related test `subdir8.test'.
1053 * tests/subdir8.test: Likewise (but with the related test being
1054 `subdir5.test' here).
1055 * tests/subdir6.test: Cosmetic change in spacing.
1056 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1057 trailing `:' command.
1058 * tests/subdir10.test: Cosmetic consistency-related change.
1059 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1060 (configure.in): Use stub created by `./defs', rather than writing
1061 it from scratch. Do not use obsoleted and/or deprecated forms of
1062 autoconf/automake macros.
1064 Modernize and improve test scripts `dist*.test'.
1065 * tests/distcleancheck.test: Do not add useless `-e' option to
1066 a $MAKE call. Extend test by grepping stderr of make.
1067 * tests/distcom2.test: Do not run the same test script on the
1068 Makefile.in twice, but save its output in an intermediate file
1069 instead. Make grepping of DIST_COMMON definition stricter.
1070 Display the content of more files, to ease debugging. Add a
1071 trailing `:' command. Improved heading comments w.r.t. sister
1073 * tests/distcom6.test: Likewise, and avoid to uselessly run
1075 * tests/distcom3.test: Ensure verbose printing of captured stdout
1076 and stderr. Make grepping of captured stderr stricter. Also,
1077 add trailing `:' command.
1078 * tests/distcom4.test: Declare the target `test' in the generated
1079 Makefile.am as `.PHONY'. Display content of more files, to ease
1080 debugging. Add trailing `:' command.
1081 * tests/distcom5.test: Likewise. Also, factor out common sed
1082 script in subroutine `extract_distcommon'.
1083 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1084 test Makefile.am files. Add a trailing `:' command.
1085 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1086 call to `set -e' earlier. Be stricter and more verbose in the
1087 checking of the generated tarball.
1088 (configure.in): Use the stub provided by ./defs, instead of
1089 writing it from scratch. Avoid obsoleted constructs. Remove
1090 useless call to `AM_PROG_CC_C_O'.
1091 * tests/distdir.test: Various minor improvements/normalizations.
1092 * tests/distlinks.test: Likewise.
1094 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1096 Improve and extend test cond5.test.
1097 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1098 the background automake process, but poll it every 10 seconds for
1099 at most 30 times (this makes the test both faster on good machines,
1100 and more resilient to spurious timeout-due failures when in low
1101 priority or on heavily-loaded systems).
1102 Check also that automake writes the expected error messages on the
1104 Enable `errexit' flag, and related changes.
1105 Rely on the `configure.in' stub created by `./defs', rather than
1106 writing one from scratch.
1108 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1110 Update program --help output to match current GCS.
1111 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1112 is not defined, for compatibility to Autoconf < 2.64.
1113 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1115 (sc_diff_automake_in_automake): Update number of diff lines for
1116 additional substitutions.
1117 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1118 home page and GNU general help page.
1119 * automake.in (usage): Likewise.
1120 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1122 (Introduction, Creating amhello, amhello Explained, Options):
1124 * lib/Automake/Makefile.am (do_subst): Substitute
1126 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1127 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1130 Clean up @var handling in the manual.
1131 * doc/automake.texi: Throughout the manual, lower-case @var
1132 names, replace a few one-character names.
1134 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1136 Fix typo-related bug in test script silent5.test.
1137 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1140 Tests: remove useless repetitions of `foreign' automake option.
1141 * tests/multlib.test (configure.in): Remove useless use of
1142 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1143 already in $AUTOMAKE by default, so no point in repeating it).
1144 * tests/subobj10.test: Likewise.
1145 * tests/subobj9.test: Likewise.
1146 * tests/lex3.test (Makefile.am): Similarly, remove useless use
1147 of `foreign' option in AUTOMAKE_OPTIONS.
1148 * tests/lex5.test: Likewise.
1149 * tests/pr279.test: Likewise.
1150 * tests/pr279-2.test: Likewise.
1151 * tests/specflg3.test: Likewise.
1152 * tests/target-cflags.test: Likewise.
1154 Drop useless requirement "gzip" in lex5.test.
1155 * tests/lex5.test ($required): Do not list "gzip", as it's
1158 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1160 Fix bugs in test script silent5.test.
1161 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1162 instead of egrep) that could have led to false negatives.
1164 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1166 Add a test checking that distributed broken symlinks cause
1167 `make dist' to fail.
1168 * tests/distlinksbrk.test: New test.
1169 * tests/Makefile.am (TESTS): Updated.
1171 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1173 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1174 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1175 and AM_LFLAGS, LFLAGS in the order in which they now appear in
1178 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1179 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1180 please maintainer-check. Ensure generated C files contain a
1181 declaration, to please compilers.
1183 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1185 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1186 $(FLAGS) precedence.
1187 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1188 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1189 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1190 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1193 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1194 $(AM_FLAGS) and $(FLAGS) precedence.
1195 * tests/lflags.test: New test, check that user $(LFLAGS) takes
1196 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
1198 * tests/lflags2.test: Likewise.
1199 * tests/yflags.test: New test, check that user $(YFLAGS) takes
1200 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
1202 * tests/yflags2.test: Likewise.
1203 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1205 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1207 Modernize, improve and extend tests `suffix*.test'.
1208 * tests/suffix3.test: Enable `errexit' shell flag, and related
1210 * tests/suffix4.test: Likewise.
1211 * tests/suffix6.test: Likewise, and do not create a useless dummy
1213 * tests/suffix7.test: Likewise.
1214 * tests/suffix5.test: Enable `errexit' shell flag, and related
1215 changes. Make grepping of Makefile.in slightly stricter.
1216 * tests/suffix.test: Enable `errexit' shell flag, and related
1217 changes. Also, do not redirect grep output to /dev/null, as this
1218 might unmotivatedly hide useful information.
1219 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1220 in the script (just after inclusion of ./defs). Use a more
1221 idiomatic way to count text occurrences in Makefile.in with
1222 grep. Do not create useless dummy source files.
1223 * tests/suffix10.test: Ensure verbose printing of captured make
1224 stdout. Minor cosmetic changes.
1225 * tests/suffix8.test: Likewise. Also, drop useless call to the
1226 env(1) utility, and make grepping of make output stricter by using
1227 $FGREP rather than plain grep.
1228 * tests/suffix11.test: Likewise.
1229 * tests/suffix12.test: Likewise.
1230 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1231 the `configure.in' stub. Cosmetic changes.
1232 * tests/suffix13.test: Cosmetic spacing change.
1234 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1236 Add useful comment in test script ext.test.
1237 * tests/ext.test: Add a comment explaining why an apparently
1238 useless `if' statement is indeed required.
1240 Add useful comment in test script obsolete.test.
1241 * tests/obsolete.test: Add a comment explaining why we need
1242 an indirection in adding $AUTOUPDATE to $required.
1244 Normalize whitespaces in 'tests/Makefile.am'.
1245 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1246 definition of this variable.
1248 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1250 Remove a couple of unneeded conditionals from tests.
1251 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1252 for the FOOTEST conditional.
1254 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1256 Modernize, improve and/or fix various test scripts.
1257 * tests/symlink3.test: Deleted, separated into two new, more
1259 * tests/forcemiss.test: ... this one ...
1260 * tests/forcemiss2.test: ... and this one.
1261 * tests/symlink2.test: Enable `errexit' shell flag, make test
1262 stricter, and skip it if symlink creation is not supported.
1263 * tests/postproc.test: Enable `errexit' shell flag, related
1264 changes, and a couple of unrelated cosmetic changes.
1265 * tests/recurs.test: Use the `configure.in' stub created by
1266 `./defs', rather than writing one from scratch. Make grepping
1267 of Automake stderr slightly stricter.
1268 * tests/substtarg.test: Likewise.
1269 * tests/strip.test: Likewise, and move the call to `set -e'
1270 earlier (just after the inclusion of `./defs'). Also, make sure
1271 that the script installed by `make install-script' is equal to
1273 * tests/substref.test: Use the `configure.in' stub created by
1274 `./defs', rather than writing one from scratch. Move the call
1275 to `set -e' earlier (just after the inclusion of `./defs').
1276 Avoid to explicitly export CC for configure (that's already done
1277 in ./defs). Avoid potential problems with unpredictable make
1278 output. Finally, make grepping of Makefile.in stricter.
1279 * tests/substre2.test: Ensure verbose printing of the captured
1280 make's output, and make its grepping slightly stricter.
1281 * tests/cygwin32.test: Enable `errexit' shell flag, and related
1282 changes. Also, do not create useless dummy source/data files.
1283 * tests/scripts.test: Likewise.
1284 * tests/recurs2.test: Likewise. Also, use the `configure.in'
1285 stub created by `./defs'.
1286 * tests/Makefile.am (TESTS): Updated.
1288 Modernize, improve and/or fix tests `pluseq*.test.
1289 * tests/pluseq5.test: Append to configure.in using cat with an
1290 here-doc, not using echo.
1291 * tests/pluseq10.test: Make sure that the captured output of
1292 `make' command is always displayed. Where possible, use $FGREP
1293 instead of grep (this change makes some checks slightly stricter).
1294 * tests/pluseq8.test: Enable `errexit' shell flag, with related
1296 * tests/pluseq.test: Likewise. Also, do not create useless dummy
1297 data files, and use better m4 quoting in generated configure.in.
1298 * tests/pluseq2.test: Likewise. Also, append to configure.in
1299 using cat with an here-doc, not using echo.
1300 * tests/pluseq3.test: Likewise.
1301 * tests/pluseq4.test: Likewise.
1302 * tests/pluseq6.test: Likewise.
1303 * tests/pluseq7.test: Do not create useless dummy source file.
1304 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1305 Automake stderr. Some unrelated cosmetic changes.
1307 Testsuite: ensure verbose printing of captured stderr.
1308 * tests/acloca18.test: Print captured stderr before either failing
1309 or grepping it. Be sure to send captured stderr to stderr, not to
1311 * tests/ansi3b.test: Likewise.
1312 * tests/cond39.test: Likewise.
1313 * tests/configure.test: Likewise.
1314 * tests/missing3.test: Likewise.
1315 * tests/missing6.test: Likewise.
1316 * tests/output-order.test: Likewise.
1317 * tests/pr300-ltlib.test: Likewise.
1318 * tests/python6.test: Likewise.
1319 * tests/python7.test: Likewise.
1320 * tests/python8.test: Likewise.
1321 * tests/python9.test: Likewise.
1322 * tests/subobj.test: Likewise.
1323 * tests/vars3.test: Likewise.
1324 * tests/missing4.test: Likewise, and fix a call to grep not to use
1326 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1327 created by `./defs', rather than writing one from scratch.
1329 Enable `errexit' shell flag in various tests.
1330 * tests/backsl.test: Enable the `errexit' shell flag, and
1332 * tests/backsl2.test: Likewise.
1333 * tests/block.test: Likewise.
1334 * tests/canon2.test: Likewise.
1335 * tests/canon4.test: Likewise.
1336 * tests/comment2.test: Likewise.
1337 * tests/condlib.test: Likewise.
1338 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1339 * tests/canon3.test: Likewise. Also, avoid to create an useless
1341 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1342 related changes. Do some cosmetic improvements in the generated
1343 `configure.in' file.
1344 * tests/cond4.test: Likewise.
1345 * tests/cond14.test: Likewise.
1346 * tests/condinc.test: Likewise.
1347 * tests/cond7.test: Likewise. Also, remove useless setting of
1348 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1349 * tests/ansi.test: Enable the `errexit' shell flag, and related
1350 changes. Extended, esp. by running autoconf, ./configure and
1351 make, and by looking into the distdir.
1353 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1354 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1356 Extend tests/README w.r.t. trailing `:' in test scripts.
1357 * tests/README (section "Writing test cases" subsection "Do"):
1358 Explain why apparently redundant trailing `:' and `Exit 0' in
1359 test scripts can indeed be useful.
1361 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1363 Improve determination of PATH separator in bootstrap script.
1364 * bootstrap: Determine what the PATH separator is the same way
1367 Minor improvements in bootstrap script.
1368 * bootstrap: Consistently use two-spaces indentation. Cosmetic
1369 improvement to comments.
1370 ($me): New variable, containing program basename.
1371 Prepend it to all error messages.
1373 Testsuite now works with BSD make in parallel mode.
1374 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1375 which are exported by BSD make when run in parallel mode, and
1376 which can confuse make processes spawned by our testsuite.
1377 This change fixes a lot of spurious failure when the testsuite
1378 is run with BSD make in parallel mode.
1380 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1382 Modernize, improve and/or fix various test scripts.
1383 * tests/sanity.test: Rely on the `configure.in' stub created by
1384 `./defs', rather than writing one from scratch.
1385 * tests/depend2.test: Likewise. Also, call `set -e' just after
1386 the inclusion of `./defs', instead that later in the script.
1387 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1388 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1389 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1390 Make auxiliary rules in the generated Makefile more silent.
1391 These changes make some checks slightly stricter.
1392 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1393 * tests/gettext2.test: Place final `:' at the end of the script,
1394 rather than in the middle.
1395 * tests/exeext.test: Call `set -e' just after the inclusion of
1396 `./defs', instead that later in the script.
1397 * tests/extra5.test: Likewise.
1398 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
1399 plain `mv', just to be sure.
1400 * tests/depcomp.test: Enable `errexit' shell flag, with related
1401 changes. Also, modernize the generated configure.in.
1402 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
1403 stub created by `./defs', rather than writing one from scratch.
1404 * tests/cond10.test: Likewise.
1405 * tests/depcomp2.test: Likewise.
1406 * tests/depend3.test: Likewise.
1407 * tests/distcom7.test: Likewise.
1408 * tests/fortdep.test: Likewise. Also, remove definition of
1409 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1410 since that flag is already provided by $AUTOMAKE.
1411 * tests/mdate.test: Made stricter, by checking that Automake
1412 actually failed, and by making a stricter grep on the error
1413 message. Also, set shell `errexit flag'.
1414 * tests/python2.test: Improved verbose messages.
1416 Make test `ammissing.test' stricter.
1417 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1418 Enable `errexit' shell flag.
1420 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1422 Enable `errexit' shell flag in some test scripts.
1423 * tests/subcond.test: Enabled `errexit' shell flag, and related
1425 * tests/subst.test: Likewise.
1426 * tests/vars.test: Likewise.
1427 * tests/version4.test: Likewise.
1428 * tests/vpath.test: Likewise.
1429 * tests/vtexi2.test: Likewise.
1430 * tests/werror.test: Likewise.
1431 * tests/whoami.test: Likewise.
1432 * tests/tags.test: Likewise, and avoid to crate an useless dummy
1434 * tests/acsilent.test: Likewise, and don't use an easily-avoided
1435 command substitution.
1436 * tests/unused.test: Likewise, and don't use an easily-avoided
1437 command substitution.
1438 * tests/version.test: Likewise, and avoid deprecated constructs
1439 in the generated `configure.in'.
1440 * tests/version2.test: Likewise, and avoid deprecated constructs
1441 in the generated `configure.in'.
1443 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1445 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1446 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
1447 the verbose log contains all output.
1448 * tests/mdate.test: Likewise.
1449 Prompted by Stefano Lattarini's change to discover.test.
1451 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1453 Improve tests link*.test (enable `errexit' shell flag).
1454 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1455 changes. Also, do not create useless source files.
1456 * tests/link_dist.test: Likewise.
1457 * tests/link_f90_only.test: Likewise.
1458 * tests/link_f_only.test: Likewise.
1459 * tests/link_fc.test: Likewise.
1460 * tests/link_fccxx.test: Likewise.
1461 * tests/link_fcxx.test: Likewise.
1463 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1465 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1466 * tests/ext.test: Inside shell compound command, use
1467 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1468 fix failure with OpenBSD sh introduced with last patch.
1469 Actually ensure that a rule for .EXT.o is created for each
1470 known extension EXT.
1472 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1474 Enable `errexit' shell flag in some test scripts.
1475 * tests/dash.test: Enable `errexit' shell flag, and related
1477 * tests/defun.test: Likewise.
1478 * tests/defun2.test: Likewise.
1479 * tests/dejagnu.test: Likewise.
1480 * tests/double.test: Likewise.
1481 * tests/distcom2.test: Likewise.
1482 * tests/empty2.test: Likewise.
1483 * tests/empty3.test: Likewise.
1484 * tests/empty4.test: Likewise.
1485 * tests/exdir.test: Likewise.
1486 * tests/ext.test: Likewise.
1487 * tests/extra.test: Likewise.
1488 * tests/extra2.test: Likewise.
1489 * tests/extra3.test: Likewise.
1490 * tests/extra4.test: Likewise.
1491 * tests/flibs.test: Likewise.
1492 * tests/fnoc.test: Likewise.
1493 * tests/fo.test: Likewise.
1494 * tests/instexec.test: Likewise.
1495 * tests/ltdeps.test: Likewise.
1496 * tests/nodep.test: Likewise.
1497 * tests/nodepcomp.test: Likewise.
1498 * tests/f90only.test: Likewise, and remove botched/obsoleted
1499 comments and unnecessary commands.
1500 * tests/fonly.test: Likewise, and remove botched/obsoleted
1501 comments and unnecessary commands.
1502 * tests/discover.test: Likewise, and made stricter.
1504 Enable `errexit' shell flag in all tests cxx*.test.
1505 * tests/cxx.test: Enabled `errexit' shell flag, and related
1507 * tests/cxxansi.test: Likewise.
1508 * tests/cxxcpp.test: Likewise.
1509 * tests/cxxlibobj.test: Likewise.
1510 * tests/cxxlink.test: Likewise.
1511 * tests/cxxo.test: Likewise.
1513 Enable `errexit' shell flag in various tests.
1514 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1516 * tests/acoutpt.test: Likewise.
1517 * tests/acoutqnl.test: Likewise.
1518 * tests/amassign.test: Likewise.
1519 * tests/ansi2.test: Likewise.
1520 * tests/ansi4.test: Likewise.
1521 * tests/badprog.test: Likewise.
1522 * tests/checkall.test: Likewise.
1523 * tests/clean.test: Likewise.
1524 * tests/colneq2.test: Likewise.
1525 * tests/colon.test: Likewise.
1526 * tests/colon5.test: Likewise.
1527 * tests/colon6.test: Likewise.
1528 * tests/comment.test: Likewise.
1529 * tests/compile_f90_c_cxx.test: Likewise.
1530 * tests/compile_f_c_cxx.test: Likewise.
1531 * tests/cond3.test: Likewise.
1532 * tests/cond6.test: Likewise.
1533 * tests/cond13.test: Likewise.
1534 * tests/conf2.test: Likewise.
1535 * tests/confvar.test: Likewise.
1536 * tests/confvar2.test: Likewise.
1537 * tests/cond8.test: Likewise, plus a cosmetic change.
1538 * tests/confh4.test: Likewise. Also, add in the heading comments
1539 an excerpt from the original bug report which motivated the
1540 creation of this test, to make its purpose clearer.
1542 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1544 Rewrite manual to be gender-neutral.
1545 * doc/automake.texi (GNU Build System)
1546 (Standard Directory Variables, General Operation, CVS)
1547 (Hard-Coded Install Paths, Dependencies As Side Effects):
1548 Rewrite text to not contain gender-specific pronouns when
1549 speaking about developers or users, either by avoiding pronouns
1550 or by addressing them as `you' instead.
1552 Report by Christina Gratorp.
1556 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1558 Make tests on user extensibility of silent-rules mode stricter.
1559 * tests/silent6.test: Made stricter w.r.t. the grepping of the
1560 output produced by `make'.
1561 * tests/silent7.test: Likewise.
1563 Tests on silent-mode for C/Libtool made stricter.
1564 * tests/silent.test: Made stricter w.r.t. the grepping of the
1565 output produced by `make'.
1566 * tests/silent2.test: Likewise.
1567 * tests/silent4.test: Likewise.
1568 * tests/silent9.test: Likewise.
1569 * tests/silent3.test: Likewise, and add a final `make distclean'
1570 command to keep it better in sync with tests/silent{4,9}.test.
1572 Improved test silent5.test.
1573 * tests/silent5.test: Remove by hand all generated C files after
1574 non-verbose builds, to ensure the following builds are clean.
1575 Try to clean and rebuild with the same verbosity and without
1576 removing generated sources in between, to check that this does
1577 not trigger a different set of rules. Make grepping of make's
1578 output stricter. Improved/added some comments.
1580 New tests for Automake silent-mode with Fortran.
1581 * tests/silentf77.test: New test.
1582 * tests/silentf90.test: Likewise.
1583 * tests/Makefile.am (TESTS): Updated accordingly.
1585 New test `silentcxx.test' (Automake silent-mode with C++).
1586 * tests/silentcxx.test: New test.
1587 * tests/Makefile.am (TESTS): Updated accordingly.
1589 New test `silentyacc.test' (Automake silent-mode with Yacc).
1590 * tests/silentyacc.test: New test.
1591 * tests/Makefile.am (TESTS): Updated accordingly.
1593 New test `silentlex.test' (Automake silent-mode with Lex).
1594 * tests/silentlex.test: New test.
1595 * tests/Makefile.am (TESTS): Updated accordingly.
1597 Relax tests on silent-rules to cater to overly verbose makes.
1598 * tests/silent.test: When testing silent builds, don't fail if
1599 make's output simply contains the `mv' substring, but only if
1600 it contains the `mv ' substring (note the trailing space).
1601 * tests/silent2.test: Likewise.
1602 * tests/silent3.test: Likewise.
1603 * tests/silent4.test: Likewise.
1604 * tests/silent5.test: Likewise.
1605 * tests/silent9.test: Likewise.
1607 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1609 Fix silent-rules output for disabled dependency tracking.
1610 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1611 expansion code to also work in the case where %AMDEP% expands
1612 to FALSE at config.status time, using new substitution string
1614 * automake.in (verbose_nodep_flag): New function, appending
1615 `@am__nodep@' to the verbose-variable name.
1616 (handle_languages): If dependencies are not disabled, use it to
1617 set %VERBOSE-NODEP%.
1618 * m4/depend.m4: Substitute am__nodep as '_no', so the second
1619 verbose-variable will always expand to an empty string, if
1620 dependencies are enabled.
1621 * tests/silent5.test: Also test --disable-dependency-tracking;
1622 also test per-target flags for non-C language files.
1623 * tests/silent9.test: New test, like silent4.test but disable
1624 dependency tracking.
1625 * tests/Makefile.am: Adjust.
1626 * NEWS, THANKS: Update.
1627 Report by Dmitry V. Levin <ldv@altlinux.org>.
1629 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1631 Extend test on `nostdinc' automake option.
1632 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
1633 unrelated minor changes. Make the grepping of the generated
1634 Makefile.in slightly stricter. Generate and run configure, so that
1635 the generated Makefile can be grepped too.
1637 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1639 Make gnupload portable to EBCDIC hosts.
1640 * lib/gnupload: Use literal newline as argument for 'tr' rather
1641 than \015, for EBCDIC hosts. Also, avoid unportable nested
1642 double-quotes and backquotes.
1644 Report from Eric Blake and Steve Goetze via gnulib.
1646 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1648 Fix Autoconf version required by Automake's configure.
1649 Automake configure script used to tell that automake required
1650 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1651 and if that was not found, it gave an error saying that Automake
1652 required configure 2.61a-341 or later. This change should
1653 eliminate such inconsistencies.
1654 * configure.ac ($required_autoconf_version): New variable.
1657 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1659 Fix unportable sed script in maintainer-check test.
1660 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1661 not contain semicolon after 'b' or brace commands, for NetBSD.
1663 Wildcards are not portable to NetBSD make.
1664 * doc/automake.texi (Wildcards): Document portability issue.
1665 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1668 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1670 Make test for configure.in vs. configure.ac stricter.
1671 * tests/configure.test: Use a configure.in file that provokes
1672 an automake error, to ensure configure.ac is preferred.
1674 Avoid possible false negatives in dejagnu7.test.
1675 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
1676 unportable use of fgrep option `-e'.
1678 Fix conflnk3.test to work with Solaris/Heirloom Sh.
1679 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1680 instead of respectively `test -e FILE' and `test ! -e FILE',
1681 since Solaris Sh doesn't grok the latter. Do not SKIP the test
1682 if the shell doesn't support `test -e'.
1684 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1687 * doc/automake.texi (Simple Tests using parallel-tests): Add
1688 missing closing parenthesis.
1690 Fix leftover call to removed function macros_dump.
1691 * automake.in (read_main_am_file): Call variables_dump, not
1692 macros_dump. Print actual error before list of variables.
1694 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1696 Minor improvements in comments of test `silent3.test'.
1697 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1700 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1702 testsuite: ensure verbose printing of captured output.
1703 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1704 tests/fort2.test, tests/help.test, tests/missing3.test,
1705 tests/missing6.test: Print captured stdout or stderr before
1708 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1710 Make test badopt.test stricter (by enabling `set -e').
1711 * tests/badopt.test: Add call to `set -e'. Due to this change,
1712 an unexpected failure in the call to `$ACLOCAL' (whose outcome
1713 was previously unchecked) would cause the whole test to fail.
1714 Also, bumped the copyright years.
1716 Make test for configure.in vs. configure.ac stricter.
1717 * tests/configure.test: Use a configure.in file that provokes
1718 an automake error, to ensure configure.ac is preferred.
1720 Use `set -e' in confsub.test (avoids possible false negatives).
1721 * tests/confsub.test: Enable shell `errexit' flag, and related
1722 changes (this helps avoiding some possible minor false negatives).
1723 Also, bumped copyright years.
1725 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1727 Fix -Werror handling for presence of configure.in and configure.ac.
1728 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1729 $configure_ac at the global level, before command-line arguments
1731 (require_variables): Initialize it here.
1732 * tests/configure.test: New test.
1733 * tests/Makefile.am: Update.
1734 Report by Stefano Lattarini.
1736 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1738 Avoid possible false negatives in confh5.test.
1739 * tests/confh5.test: Enable shell `errexit' flag, and bumped
1740 copyright years. Due to this change, any unexpected failure
1741 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1742 a failure in grepping expected text in output files should now
1743 cause the whole test to fail.
1745 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1747 Fixed typo in POD documentation of Automake::Channels.
1748 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1749 @<...> was used instead of C<...>.
1751 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1753 Refactor tests on Automake TESTS color output.
1754 * tests/color.test: Tests using the expect program moved out to...
1755 * tests/color2.test: ... this new file.
1756 * tests/Makefile.am (TESTS): Extended accordingly.
1758 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1760 Fix typos in comments in test confh5.test
1761 * tests/confh5.test: Fix a couple of typos in comments.
1763 Avoid possible false negatives in canon-name.test.
1764 * tests/canon-name.test: Enable shell `errexit' flag. Improve
1767 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1769 Fix per-Makefile.am setting of -Werror.
1770 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1771 Makefile.am would carry over to other Makefile.am files
1772 treated afterwards by the same thread, causing inconsistent
1773 and unstable exit status values.
1774 * lib/Automake/Channels.pm (dup_channel_setup)
1775 (drop_channel_setup): Save and restore the setting of
1776 $warnings_are_errors.
1777 * tests/werror3.test: New test.
1778 * tests/Makefile.am: Adjust.
1781 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1783 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1784 * tests/confh5.test: In the generated Makefile.am: do not use
1785 `test ! -e FILE' to check for the non-existence of a file, since
1786 that is not supported by Solaris/Heirloom Sh.
1788 Make test `aclocal3.test' stricter.
1789 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
1790 succeds unexpectedly.
1792 Add tests checking that symlinks are resolved by `make dist'.
1793 * tests/distlinks.test: New test.
1794 * tests/Makefile.am (TESTS): Updated accordingly.
1795 Suggested by observations from Ralf Wildenhues.
1797 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1799 Use -9 for maximum xz compression with dist-xz.
1800 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1801 * NEWS, THANKS: Update.
1802 Report by Pavel Sanda.
1804 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
1806 Avoid an unportable use of `$status' shell variable.
1807 * Makefile.am (path-check): Don't use the `$status' shell variable
1808 in the target's rules, as it's special in Zsh (equivalent to `$?',
1811 Avoid another use of `chmod -R'.
1812 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1813 $(distdir) before removing it (as Solaris `chmod -R' touches
1814 symlink targets). Instead, use the cleanup strategy used in
1817 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1819 Remove uses of @acronym and @sc.
1820 * doc/automake.texi (Public Macros, Limitations on File Names):
1821 Remove all usage of @acronym and @sc in the manual.
1822 Suggested by Karl Berry.
1824 2010-03-13 Karl Berry <karl@freefriends.org>
1826 GNU hello uses fdl.texi, not gpl.texi.
1827 * doc/automake.texi (Texinfo): Adjust example to upstream
1830 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1832 Formatting cleanups in macro comments.
1833 * automake.in, lib/Automake/Channels.pm,
1834 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1835 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1836 m4/options.m4, m4/substnot.m4: Fix macro comment format.
1838 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1839 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1841 Avoid generation of `tests/defs-p' file.
1842 * tests/defs.in: In the generated `configure.in' snippet: call
1843 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1844 variable `parallel_tests' is set to `yes'.
1845 * tests/Makefile.am (defs-p): Target removed.
1846 (check_SCRIPTS): Removed `defs-p'.
1847 (clean-local-check): Do not unlink `defs-p' anymore.
1848 ($(parallel_tests)): Transformation rules for the test scripts
1850 * tests/gen-parallel-tests: Selection rules for the test
1852 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1853 then include `./defs' (rather than simply including `./defs-p').
1854 * tests/parallel-tests2.test: Likewise.
1855 * tests/parallel-tests3.test: Likewise.
1856 * tests/parallel-tests4.test: Likewise.
1857 * tests/parallel-tests5.test: Likewise.
1858 * tests/parallel-tests6.test: Likewise.
1859 * tests/parallel-tests7.test: Likewise.
1860 * tests/parallel-tests8.test: Likewise.
1861 * tests/parallel-tests9.test: Likewise.
1862 * tests/parallel-tests10.test: Likewise.
1863 * tests/README (Section "Writing Test Cases" subsection "Do"):
1864 Adjusted the parts referring to tests checking `parallel-tests'
1865 behaviour. Some other minor related improvements.
1866 * tests/.gitignore (defs-p): Removed.
1868 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1870 Remove redundant unset of variable TESTS from some test scripts.
1871 * tests/color.test: Do not unset the `TESTS' variable, as it's
1872 already unset in the `defs' file.
1873 * tests/check5.test: Likewise.
1874 * tests/check8.test: Likewise.
1875 * tests/check9.test: Likewise.
1876 * tests/check10.test: Likewise.
1877 * tests/check11.test: Likewise.
1878 * tests/parallel-tests.test: Likewise.
1879 * tests/parallel-tests3.test: Likewise.
1880 * tests/parallel-tests4.test: Likewise.
1881 * tests/parallel-tests5.test: Likewise.
1882 * tests/parallel-tests6.test: Likewise.
1883 * tests/parallel-tests7.test: Likewise.
1885 2010-02-22 Karl Berry <karl@gnu.org>
1887 Improve help message of mdate-sh.
1888 * mdate-sh: mention actual output format in help message.
1890 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1892 Deprecate dist-lzma in favor of dist-xz.
1893 * doc/automake.texi (The Types of Distributions, Options):
1894 Adjust text to reflect renaming of lzma to xz.
1896 Missing deprecation noted by Antonio Diaz Diaz.
1898 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1900 Add tests about support of wildcards in EXTRA_DIST.
1901 * tests/extra10.test: New test, check basic support of wildcards
1903 * tests/extra11.test: New test, check more complex usage of
1904 wildcards in EXTRA_DIST.
1905 * tests/extra12.test: New test, check usage of wildcards in
1906 EXTRA_DIST when $builddir != $srcdir.
1907 * tests/Makefile.am (TESTS): Updated accordingly.
1908 Necessity of these new tests suggested by Braden McDaniel
1909 and Ralf Wildenhues.
1911 2010-02-08 Simon Josefsson <simon@josefsson.org>
1913 Fix copyright statement in gnupload script.
1914 * lib/gnupload: Fix copyright statement.
1916 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
1917 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1919 Fix exit status of signal handlers in shell scripts.
1920 The value of `$?' on entrance to signal handlers in shell scripts
1921 cannot be relied upon, so set the exit code explicitly to
1923 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1924 * lib/elisp-comp: Likewise.
1925 * lib/install-sh: Likewise.
1926 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
1927 * NEWS, THANKS: Update.
1928 Bug report, analysis, and initial patch by Dmitry V. Levin.
1930 2010-02-06 Karl Berry <karl@gnu.org>
1932 Improve gnupload usage text.
1933 * gnupload (usage): Shorten to make more likely to fit on a tty
1934 line. Mention CMD in the synopsis. With ..., plural is implied.
1936 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
1938 Fix some typos in the manual
1939 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1941 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1943 Slighty improve tests acoutbs.test and acoutbs2.test.
1944 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
1945 autoconf and configure work, that the file `zot' is created by
1946 configure, and that no file containing a backslash in its name is
1948 * tests/acoutbs.test: Likewise, plus updated copyright years.
1950 Fix test acoutbs2.test.
1951 * tests/acoutbs2: In the generated configure.in: add proper calls
1952 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1953 PACKAGE and VERSION. Add a call to aclocal before calling automake.
1954 Updated copyright years.
1955 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1957 Add forgotten test scripts to $(TESTS).
1958 * tests/Makefile.am (TESTS): Added test scripts present on the
1959 filesystem, which were erroneously left out from $(TESTS):
1960 acoutbs2.test, badopt.test, extra2.test.
1961 (XFAIL_TESTS): Added acoutbs2.test.
1963 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1965 Sync auxiliary files from upstream.
1966 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1969 Bump copyright years.
1970 * aclocal.in (write_aclocal, version): Bump copyright years.
1971 * automake.in (gen_copyright, version): Likewise.
1972 * doc/automake.texi: Likewise.
1975 * ChangeLog.09: New file, rotated from ...
1976 * ChangeLog: ... here.
1977 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1981 Copyright (C) 2010 Free Software Foundation, Inc.
1983 Copying and distribution of this file, with or without modification, are
1984 permitted provided the copyright notice and this notice are preserved.