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