1 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3 tests: tempdirs with restrictive permissions are cleaned correctly
4 Before this change, the removal of a temporary test directory
5 containing subdirectories with restrictive permissions (such as
6 'r--r--r--') could fail.
7 * tests/defs: Ensure that all the subdirectories of a temporary
8 test directory have the 'read', 'write' and 'execute' bits set,
9 before trying to remove it with `rm -rf'.
10 * tests/Makefile.am (clean-local-check): Likewise.
12 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 test defs: add subroutine for input unindenting
16 * tests/defs.in (unindent): New subroutine.
18 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
20 python: report the 'PYTHON' influential environment variable
21 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
22 * doc/automake.texi (Python): Update and extend.
23 * tests/help-python.test: New test.
24 * tests/Makefile.am (TESTS): Update.
25 * THANKS (Jack Kelly): Update e-mail address.
26 Suggestion by Jack Kelly.
28 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
30 tests defs: clear TESTS_ENVIRONMENT variable
31 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
32 from environment won't interfere with the testcases.
33 Suggestion by Ralf Wildenhues.
35 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
37 tests: tweak few tests on simple and parallel test drivers
38 * tests/check-exported-srcdir.test: Improve heading comments.
39 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
40 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
41 environment won't risk to interfere with the test.
42 Suggestions by Ralf Wildenhues.
44 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
46 coverage: more tests on simple and parallel test drivers
47 * tests/parallel-tests-subdir.test: New test.
48 * tests/check-exported-srcdir.test: Likewise.
49 * tests/check-tests-in-builddir.test: Likewise.
50 * tests/check-tests_environment.test: Likewise.
51 * tests/Makefile.am (TESTS): Update.
53 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
55 tests: fix spurious failures in lflags*.test
56 * tests/lflags.test: Remove 'LEX' from the environment, so
57 that it won't be erroneously picked up by `make -e'.
58 * tests/lflags2.test: Likewise.
60 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
62 docs: color-tests issues with parallel make
63 * doc/automake.texi (Simple Tests): Document that automatic
64 recognition of a capable terminal attached to stdout can fail
65 with some make implementation when running in parallel mode,
66 thus causing colored test output not to be automatically
67 activated when it should.
69 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
71 tests: avoid instspc.test failures due to make's whitespace trimming
72 * tests/instspc.test: Prepend './' when passing the test
73 characters, to avoid leading whitespace characters to be trimmed
74 from macros set from environment variables. Fixes testsuite
75 failures with HP-UX, IRIX, and Tru64/OSF make.
77 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
79 coverage: test semantics of "dummy" per-target flags
80 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
81 per-target flags triggers the use of renamed objects.
82 * tests/Makefile.am (TESTS): Update.
83 Suggestion by Ralf Wildenhues.
85 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
87 tests defs: sanitize IFS
88 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
89 ($sp): New variable, holding a single whitespace character.
90 ($tab): New variable, holding a tabulation character.
91 ($nl): New variable, holding a newline character.
93 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
95 tests: fix VPATH auto-expansion workarounds.
96 * tests/parallel-tests8.test, tests/suffix13.test:
97 Ensure $< is not surrounded by white space, to prevent Solaris
98 make from applying automatic VPATH text expansion.
100 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
102 tests: fix spurious failures in yflags*.test
103 * tests/yflags.test: Remove 'YACC' from the environment, so
104 that it won't be erroneously picked up by `make -e'.
105 * tests/yflags2.test: Likewise.
107 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
109 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
110 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
111 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
112 up its internal memory when copying this tree.
114 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
115 Stefano Lattarini <stefano.lattarini@gmail.com>
117 Add comment to check-TESTS rule working around make 3.80 bug.
118 * lib/am/check.am (check-TESTS): Update comment.
120 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
122 tests: less strict double-colon spy.test again.
123 * tests/spy.test: We know BSD make doesn't invoke more than one
124 double-colon rule, so no need to expose that failure.
126 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
128 install-sh: avoid Tru64 sh `test' operator precedence issues.
129 * lib/install-sh: Protect file names and directory components
130 that consist of `=', `(', `)', or `!'. Move protection as early
131 as possible, to avoid errors such as with Tru64 sh `test -z ='.
132 * tests/instsh2.test: Extend test to cover more possibilities.
133 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
135 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
136 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
138 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
139 * doc/automake.texi (Simple Tests): Do not claim Automake uses
140 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
141 parallel-tests driver.
143 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
145 Allow _AM_DEPENDENCIES to be used later in configure.
146 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
147 conftest.dir before recreating it.
149 Report by Eric Blake, from report by Scott McCreary against M4.
151 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
153 tests: avoid failure on w32 file systems.
154 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
155 be turned unreadable.
157 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
159 tests: allow double-colon spy.test to work with HP-UX make.
160 * tests/spy.test: Fix comment typos. Ensure prerequisites we
161 do not want to depend on are strictly older than the target.
162 Also test with a target out of date wrt. more than one rule.
164 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
166 tests: remove useless requirements from cond36.test
167 * tests/cond36.test ($required): Remove.
168 Since we are at it, add a trailing `:' command.
170 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
171 Stefano Lattarini <stefano.lattarini@gmail.com>
173 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
174 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
175 Test file readability before redirecting input from it, to avoid
176 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
177 * tests/parallel-tests-unreadable-log.test: New test.
178 * tests/Makefile.am (TESTS): Update.
181 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
183 * NEWS, README: Update copyright years.
185 Fix parallel-tests.test failure with HP-UX make.
186 * tests/parallel-tests.test: Sleep inside inner tests, so logs
187 are newer than logs of tests they depend on, for HP-UX make.
189 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
191 docs: ensure example are separated with empty lines in the input
192 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
193 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
194 lines before `@example' and after `@end example' lines, so info
195 output is rendered correctly, and a following @noindent honored.
196 Report by Stefano Lattarini.
198 2011-01-15 Jim Meyering <meyering@redhat.com>
200 tests: fix comment typo
201 * tests/substref.test: Fix grammar in a comment.
203 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
205 tests: fix spurious failures in two texinfo tests
206 * tests/txinfo.test ($required): Add 'makeinfo'.
207 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
208 that make won't try to run makeinfo (which could be unavailable)
210 Found by NixOS Hydra, reported by Ralf Wildenhues.
212 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
214 Avoid testsuite failures due to Autoconf Fortran change.
215 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
216 require computing the canonical host name. Ensure config.guess
217 and config.sub files are present for respective checks.
218 * tests/compile_f_c_cxx.test: Add stub files.
219 * tests/flibs.test: Likewise.
220 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
222 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
224 docs: clustered '-d' not recognized in YFLAGS
225 This change fixes automake bug#7828.
226 * doc/automake.texi (Yacc and Lex): Document that automake
227 recognizes '-d' in AM_YFLAGS only if it's not clustered with
229 From a report by Юрий Пухальский.
231 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
233 tests: add checks on automatically-distributed files
234 Related to automake bug#7819.
235 * tests/autodist.test: New test.
236 * tests/autodist-subdir.test: Likewise.
237 * tests/autodist-acconfig.test: Likewise.
238 * tests/autodist-acconfig-no-subdir.test: Likewise.
239 * tests/autodist-aclocal-m4.test: Likewise.
240 * tests/autodist-config-headers.test: Likewise.
241 * tests/autodist-configure-no-subdir.test: Likewise.
242 * tests/autodist-stamp-vti.test: Likewise.
243 * tests/Makefile.am (TESTS): Update.
245 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
247 tests: work around a texi+cygnus bug causing a spurious XFAIL
248 * tests/txinfo5b.test: New test, like txinfo5.test but calling
249 automake with the `-Wno-override' option to work around a bug
250 in the texinfo + cygnus interaction.
251 * tests/txinfo5.test: Update heading comments.
252 * tests/Makefile.am (TEST): Updated.
254 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
256 Fix another typo in Rule.pm comment.
257 * lib/Automake/Rule.pm: Fix typo.
259 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
261 Improve, extend and tweak tests on Texinfo support.
262 * tests/instdir-texi.test: Add a call to `ls -l' after that to
263 `make', for debugging. When looking for required tools, do not
264 redirect the output of "$tool --help" to /dev/null, and do not
265 uselessly run it in a subshell.
266 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
267 make. All checks moved into Makefile.am.
268 * tests/txinfo8.test: Likewise, and modernize the generated
270 * tests/txinfo2.test: Moved checks into Makefile.am, and other
272 * tests/txinfo5.test: Enable `errexit' shell flag, and related
273 changes. Add trailing `:' command.
274 * tests/txinfo6.test: Likewise, and make grepping of generated
275 Makefile.in stricter.
276 * tests/txinfo7.test: Enable `errexit' shell flag, and related
277 changes. Add trailing `:' command. Do not add unnecessary stuff
279 * tests/txinfo9.test: Verify that more targets which are expected
280 to be generated only once really are. Make grepping less strict,
281 to avoid exposing too much internal details. More minor changes.
282 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
283 for appending to configure.in. Updated/fixed heading comments.
284 * tests/txinfo23.test: Likewise, and extended a little by making
285 it check that no info file is created in the $(srcdir).
286 * tests/txinfo24.test: Likewise.
287 * tests/txinfo25.test: Likewise.
288 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
289 for appending to configure.in. Also, check that index files are
290 cleaned also by "make clean", not only by "make distclean".
291 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
292 and added trailing `:' command. This testcase also used to check
293 that automake ignores in-line comments when using variables, but
294 preserves them in the output; these checks (added in commit
295 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
296 so they have been moved ...
297 * tests/comments-in-var-defn.test: ... into this new test.
298 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
299 trailing `:' command.
300 * tests/txinfo29.test: Likewise. Relax grepping of generated
301 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
302 append to configure.in.
303 * tests/txinfo3.test: Likewise.
304 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
305 make it stricter, sometimes laxer). Move `set -e' setting just
306 after the inclusion of ./defs. De-uglify a sed command. Other
307 minor cosmetic improvements.
308 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
309 trailing `:' command.
310 * tests/vtexi3.test: New test on version.texi support.
311 * tests/vtexi4.test: Likewise.
312 * tests/Makefile.am (TESTS): Updated.
314 2011-01-09 Peter Rosin <peda@lysator.liu.se>
316 Fix another typo in Rule.pm comment.
317 * lib/Automake/Rule.pm: Fix typo.
319 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
321 cosmetics: remove trailing whitespaces
322 * doc/automake.texi: Remove trailing whitespaces.
323 * tests/cond13.test: Likewise.
324 * tests/cond14.test: Likewise.
325 * tests/fort4.test: Likewise.
326 * tests/fort5.test: Likewise.
327 * tests/suffix7.test: Likewise.
328 * tests/vtexi2.test: Likewise.
330 automake: minor fixes in comments
331 * automake.in: Some minor fixes and enhancements in comments.
333 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
335 Add test coverage for deleted header files.
336 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
337 also check for the deleted header bug. If no dependency
338 tracking mechanism could be found, SKIP rather than exit
339 successfully. Use GNU style spacing and ANSI C prototypes.
341 Fix typos in Rule.pm comments.
342 * lib/Automake/Rule.pm: Fix typos in comments.
344 docs: split 'amhello Explained' node.
345 * doc/automake.texi (amhello Explained): Split node ...
346 (amhello's configure.ac Setup Explained)
347 (amhello's Makefile.am Setup Explained) : ... into these two.
348 (Top, Hello World): Adjust, and add @anchor for stable URL links.
349 Suggestion by Karl Berry in automake bug#7766.
351 2011-01-08 Karl Berry <karl@freefriends.org>
352 Eric Blake <eblake@redhat.com>
354 docs: reference defining directories in amhello node.
355 * doc/automake.texi (amhello Explained): Point to Autoconf
356 manual for how to convert directory values into macros.
357 (Optional): Fix grammar nit.
359 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
361 * NEWS: Fix typo (forgotten word).
363 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
364 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
366 docs: how to work around checks on invalid primary/directory couples
367 * doc/automake.texi (Uniform): Document the blessed idiom which can
368 be used to work around automake checks on invalid primary/directory
369 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
371 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 Sync auxiliary files from upstream.
374 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
377 Fix maintainer-check regression.
378 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
381 Bump copyright years.
382 * aclocal.in (write_aclocal, version): Bump copyright years.
383 * automake.in (gen_copyright, version): Likewise.
384 * doc/automake.texi: Likewise.
386 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
387 Stefano Lattarini <stefano.lattarini@gmail.com>
389 Work around a bug in file-inclusion mechanism of Solaris make.
390 * automake.in (handle_single_transform): In the name of the
391 dependency file: collapse multiple slash characters into a single
393 * tests/subobj11a.test: New test.
394 * tests/subobj11b.test: Likewise.
395 * tests/subobj11c.test: Likewise.
396 * tests/depcomp8a.test: Likewise.
397 * tests/depcomp8b.test: Likewise.
398 * tests/Makefile.am (TESTS): Updated.
400 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
401 patch and tests by Stefano Lattarini.
403 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
405 Fix two spurious testsuite failures on IRIX 6.5.
406 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
407 weaker make implementations (e.g. IRIX 6.5).
408 * tests/parallel-tests8.test: Likewise, plus a required related
410 Reported by Ralf Wildenhues. The bugs have been there from the
411 first versions of the affected test scripts.
413 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
415 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
416 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
417 the AM_CYGWIN32 macro (and indeed hasn't required it since at
418 least commit Release-1-2-31-g3038064 "merged changes from
419 Cygnus" of 1997-08-25).
421 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
423 distlinksbrk.test: Work around botched "make -k".
424 * tests/distlinksbrk.test: Run "make" multiple times and grep
425 its output each time for a single error message, rather than
426 running "make -k" one single time and grepping its output for
427 all the expected error messages. This should work around make
428 implementations with limited (broken?) `-k' support; for more
429 information, see these subthreads on the automake-patches list:
430 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
431 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
432 - 2010-11-15, "Testsuite failures on IRIX 6.5",
433 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
435 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
437 Fix sed-related buglet in test "subdir5.test"
438 * tests/subdir5.test: Always terminate text passed to the
439 `i' sed command with a newline, to work around limitations
440 in e.g. older OpenBSD sed.
442 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
444 docs: fix blunder in example about python extension modules
445 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
446 not `quaternion_SOURCES', to declare the sources of python
447 extension module `quaternion.la'.
449 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
451 docs: list LTLIBRARIES among Automake primaries
452 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
453 the Automake primaries.
455 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
457 Improve tests on generated portions of configure help screen.
458 * tests/help-depend.test: Grepping of configure help screen
459 relaxed to cater for possible line wrapping, and tightened in
461 * tests/help-depend2.test: Likewise.
462 * tests/help-dmalloc.test: Likewise.
463 * tests/help-lispdir.test: Likewise.
464 * tests/help-maintainer.test: Likewise.
465 * tests/help-multilib.test: Likewise.
466 * tests/help-silent.test: Likewise.
467 * tests/help-upc.test: Likewise.
468 * tests/help-init.test: Grepping of configure help screen
471 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
473 Avoid running installed automake from 'libtool --help'.
474 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
475 Together with fixed Libtool, this fixes check-coverage to not
476 invoke installed automake.
478 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
480 Fix spurious failures in `silent*.test' for $CC != gcc
481 In some tests on automake-produced silent rules, we forced the
482 use of gcc depmode to improve testsuite coverage; but this has
483 unsurprisingly led to spurious failures when some non-GNU C
484 compilers were used. So we are now careful to require GCC in
485 tests that force gcc depmode.
486 From reports by Ralf Wildenhues.
487 * silent5.test: Test removed, its content split into ...
488 * silent-many-generic.test, silent-many-gcc.test: ... these new
489 sister tests, the latter of which forces gcc depmode and lists
491 * silentlex.test: Test removed, its content split into ...
492 * silent-lex-generic.test, silent-lex-gcc.test: ... these new
493 sister tests, the latter of which forces gcc depmode and lists
495 * silentyacc.test: Test removed, its content split into ...
496 * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
497 sister tests, the latter of which forces gcc depmode and lists
499 * tests/Makefile.am (TESTS): Updated.
501 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
503 Tests: consistently use "|| Exit 1" after ". ./defs".
504 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
505 `. ./defs', for consistency with other tests.
506 * tests/autohdr2.test: Likewise.
507 * tests/autohdr3.test: Likewise.
508 * tests/autohdr4.test: Likewise.
509 * tests/cond23.test: Likewise.
510 * tests/cond24.test: Likewise.
511 * tests/cond25.test: Likewise.
512 * tests/cond26.test: Likewise.
513 * tests/cond27.test: Likewise.
514 * tests/cond28.test: Likewise.
515 * tests/cond29.test: Likewise.
516 * tests/cond30.test: Likewise.
517 * tests/cond31.test: Likewise.
518 * tests/cond32.test: Likewise.
519 * tests/cond33.test: Likewise.
520 * tests/cond34.test: Likewise.
521 * tests/cond35.test: Likewise.
522 * tests/cond36.test: Likewise.
523 * tests/cond37.test: Likewise.
524 * tests/cond38.test: Likewise.
525 * tests/cond39.test: Likewise.
526 * tests/cond40.test: Likewise.
527 * tests/cond41.test: Likewise.
528 * tests/cond42.test: Likewise.
529 * tests/cond43.test: Likewise.
530 * tests/cond44.test: Likewise.
531 * tests/cond45.test: Likewise.
532 * tests/dollarvar.test: Likewise.
533 * tests/dollarvar2.test: Likewise.
534 * tests/hfs.test: Likewise.
535 * tests/libobj14.test: Likewise.
536 * tests/percent.test: Likewise.
537 * tests/percent2.test: Likewise.
538 * tests/phony.test: Likewise.
539 * tests/silent.test: Likewise.
540 * tests/silent2.test: Likewise.
541 * tests/silent3.test: Likewise.
542 * tests/silent4.test: Likewise.
543 * tests/silent5.test: Likewise.
544 * tests/silent6.test: Likewise.
545 * tests/silent7.test: Likewise.
546 * tests/silent9.test: Likewise.
547 * tests/silentcxx.test: Likewise.
548 * tests/silentf77.test: Likewise.
549 * tests/silentf90.test: Likewise.
550 * tests/silentlex.test: Likewise.
551 * tests/silentyacc.test: Likewise.
553 Avoid useless cleaning in some `silent*.test' tests.
554 * tests/silentf77.test: Removed useless calls to "make clean"
555 and "make maintainer-clean".
556 * tests/silentf90.test: Likewise.
557 * tests/silent3.test: Removed useless call to "make distclean".
558 * tests/silent4.test: Likewise.
559 * tests/silent9.test: Likewise.
561 2010-11-19 Ian Lance Taylor <iant@google.com>
563 Sync config-ml.in from GCC.
564 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
565 compiler/flag environment variables.
567 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
569 Automake::Config: remove extra trailing semicolon.
570 * lib/Automake/Config.in: Remove extra trailing semicolon.
572 help4.test: fix botched heading comment.
573 * tests/help4.test: Fixed the heading comment, since it
574 didn't correctly describe what checks the testcase was
577 help2.test: add checks on aclocal too.
578 * tests/help2.test: Check that also `aclocal --version' and
579 `aclocal --help' work with configure.in and acinclude.m4 both
582 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
584 Fix spurious failures of silent-rules tests with Sun Fortran.
585 * tests/silentf77.test: Strip from the make output some verbose
586 messages possibly printed by the SunStudio fortran compilers, to
587 avoid spurious failures. Add a trailing `:' command.
588 * tests/silentf90.test: Likewise.
590 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
592 Fix spurious failures of silent5.test with Sun Fortran.
593 * tests/silent5.test: Strip from the make output some verbose
594 messages possibly printed by the SunStudio fortran compilers,
595 to avoid spurious failures. This bug has been there from the
596 very first version of this test script.
598 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
600 Fix regression in colon{5,6}.test (failures on AIX 5.3).
601 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
602 post-processing the generated Makefile.in, to work around a bug
603 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
604 on the commend line. Calls to `$MAKE' adjusted accordingly.
605 * tests/colon6.test: Likewise.
606 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
607 improve and/or extend tests `colon*.test", and reported by Ralf
610 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
612 Fix regression in ansi.test (failure on AIX 5.3).
613 * tests/ansi.test: Remove redundant hackish check done using a
614 hand-postprocessed Makefile.in. This check worked by setting
615 the `$(SHELL)' macro on the command line of make, but this is
616 not supported by the AIX 5.3 make implementation.
617 This bug has been lurking for a long time, and was activated by
618 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
619 tests". Report by Ralf Wildenhues.
621 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
623 tests: avoid '##'-style comments inside recipe commands.
624 * tests/confh.test, tests/confh8.test: Remove
625 double-hash comments from makefile rule commands, they
626 are not part of the Automake API.
628 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
630 tests: work around dash quoting issue in case statements.
631 * tests/color.test, tests/color2.test: Quote variable in case
632 pattern, to avoid skipping tests with dash 0.5.5.1.
634 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
636 Rebuild menus in the manual.
637 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
638 Thanks to Ian Lance Taylor for the suggestion.
640 Fix install-strip when $(STRIP) contains several words.
641 * lib/am/install.am (install-strip): Update comment. Use
642 separate sub-make invocations for empty and nonempty $(STRIP),
643 to fix quoting issues.
644 * tests/strip2.test, tests/strip3.test: New tests.
645 * tests/Makefile.am (TESTS): Adjust.
647 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
649 Fix yaccdry.test failure: require bison.
650 * tests/yaccdry.test: Require bison.
651 Found by NixOS Hydra.
653 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
655 Fix a bug in variable concatenation with `+='.
656 * lib/Automake/VarDef.pm (append): Since the content of the
657 "appended-to" variable is going to be unconditionally normalized
658 later, simply separate the appended value with a single whitespace
659 character, instead of trying to be uselessly smarter by using
660 escaped newlines. This fixes a bug in which extra backslashes
661 where erroneously inserted in the variable's final value.
662 * tests/pluseq11.test: New test, exposing the bug.
663 * tests/Makefile.am (TESTS): Update.
664 Reported by Andy Wingo.
666 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
668 Fix bug in rules for creating vala vapi/header files.
669 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
670 if control structure in a generated make rules. Bug introduced
671 by previous commit `v1.11-221-gd7c1679', and revealed by failure
672 of test `vala2.test'.
674 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
676 Fix and document rules to not touch the tree with `make -n'.
677 * doc/automake.texi (Multiple Outputs): Document the problem of
678 modifications during dry-run execution, propose solution.
680 * automake.in (lang_vala_finish_target): Split recipe so the
681 stamp file is not removed with GNU `make -n'.
682 (lang_yacc_target_hook): Separate removal of parser output file
684 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
685 passed to make, take care not to remove any files in that case.
686 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
687 %STAMP% file from induced remaking of config header.
688 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
690 * tests/Makefile.am (TESTS): Update.
692 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
694 Add FAQ entry for bug reporting instructions.
695 * doc/automake.texi (Reporting Bugs): New section.
696 (Introduction): Refer to it.
698 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
700 Add support for newer python versions.
701 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
702 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
703 line and fix indentation.
705 From a report by Thomas Klausner.
707 Add test for `AM_WITH_DMALLOC' macro.
708 * tests/dmalloc.test: New test.
709 * tests/Makefile.am (TESTS): Update.
711 Fix nits and bugs in tests `help*.test'.
712 * tests/help4.test: Fix broken sed commands used to strip `-W...'
713 flags away from "$AUTOMAKE" and "$ACLOCAL".
714 * tests/help3.test: Likewise, and fix a botched comment.
715 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
716 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
717 please maintainer-check.
718 * tests/help2.test: Likewise.
720 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
721 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
723 Improve tests `help*.test' (also fixes maintcheck failures).
724 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
725 flags stripped away rather than hard-coded `automake-$APIVERSION',
726 to better honour user-overrides. Similarly for aclocal.
727 * tests/help2.test: Likewise.
728 * tests/help3.test: Likewise.
729 * tests/help4.test: Likewise.
731 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
733 Document and fix expansion of variables before rules.
734 * doc/automake.texi (General Operation): Document that variables
735 are expanded before rules.
736 * lib/am/check.am (am__check_post): Reword a bit so it does not
737 get matched as a rule.
738 Suggestion by Ben Pfaff.
740 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
742 Revert "parallel-tests: avoid command-line length limit issue."
743 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
744 because it re-opened the bug fixed by v1.11-10-g218e678.
746 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
748 parallel-tests: avoid command-line length limit issue.
749 * automake.in (handle_tests): New argument $makefile, new
750 substitution %MAKEFILE%.
751 (generate_makefile): Adjust.
752 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
753 sanitized TEST_LOGS value as makefile snippet on standard
754 input to $(MAKE), to avoid exceeding the command line limit on
757 Report by Bob Friesenhahn.
759 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
761 Extend tests on `--help' and `--version' options.
762 * tests/help.test: Create a new empty directory and chdir into
763 it, rather than removing already present files. Run the aclocal
764 and automake wrapper scripts directly, instead of relying on
765 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
766 in aclocal's and automake's stderr. Add a trailing `:' command.
767 * tests/help2.test: New test, checking that options `--help' and
768 `--version' works in directories with broken `configure.in'.
769 * tests/help3.test: New test, checking that options `--help' and
770 `--version' take precedence on the other options.
771 * tests/help4.test: New test, checking that the first among the
772 `--help' and `--version' options to be specified on the command
774 * tests/Makefile.am (TESTS): Updated.
776 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
778 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
779 * tests/compile2.test: Do no uselessly (implicitly) repeat the
780 computation of PATH_SEPARATOR again.
781 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
782 extending/redefining PATH.
783 * tests/instmany-python.test: Likewise.
784 * tests/instmany.test: Likewise.
785 * tests/man4.test: Likewise.
786 * tests/mkinst3.test: Likewise.
787 * tests/mmodely.test: Likewise.
788 * tests/multlib.test: Likewise.
789 * tests/txinfo30.test: Likewise.
790 * tests/README (Section "Writing test cases" subsection "Do"):
792 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
793 (syntax_check_rules): Updated.
795 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
796 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
797 ($ACLOCAL, $AUTOMAKE): Use it.
798 ($PATH_SEPARATOR): New AC_SUBST'd variables.
801 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
803 Manual: be more agnostic w.r.t. version control system used.
804 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
805 directories as a type of probably-unwanted files that are copied
806 regardless when adding directories to EXTRA_DIST.
807 (The dist Hook): Show a dist-hook example which removes Subversion
808 `.svn' private directories from distdir, rather than CVS private
810 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
811 the version control system used.
813 Manual: index refer to target "git-dist", not "cvs-dist".
814 * doc/automake.texi (General Operation): Index the non-standard
815 example about "git-dist" under the "git-dist" label, not under
818 Perl modules: remove references to "Automake CVS repository".
819 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
820 git repository" rather than to "Automake's CVS repository".
821 * lib/Automake/Configure_ac.pm: Likewise.
822 * lib/Automake/FileUtils.pm: Likewise.
823 * lib/Automake/Struct.pm: Likewise.
824 * lib/Automake/XFile.pm: Likewise.
825 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
826 branches" rather than "CVS branches".
828 Remove obsolete .cvsignore files.
829 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
830 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
831 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
832 savannah's CVS readonly mirror there's no way to commit back to
833 the real repository, so this files are not worth maintaining or
836 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
838 * m4/dmalloc.m4: Bump serial number and copyright years.
840 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
842 Fix broken link in `AM_WITH_DMALLOC' help screen.
843 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
844 `http://www.dmalloc.com', not to the dmalloc tarball there (which
845 seems to have been removed, substituted by multiple release
848 2010-09-17 Eric Blake <eblake@redhat.com>
850 Avoid triple-space after period.
851 * automake.in (handle_single_transform): Avoid 3 spaces at
853 * ChangeLog.03: Likewise.
854 * lib/Automake/ChannelDefs.pm: Likewise.
855 * lib/Automake/Channels.pm (_print_message): Likewise.
856 * lib/Automake/Rule.pm (rule): Likewise.
857 * lib/Automake/Variable.pm (var): Likewise.
858 * lib/am/distdir.am: Likewise.
859 * tests/insthook.test: Likewise.
861 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
863 Test automake-generated portions of configure help screen.
864 * tests/help-depend.test: New test.
865 * tests/help-depend2.test: Likewise.
866 * tests/help-dmalloc.test: Likewise.
867 * tests/help-init.test: Likewise.
868 * tests/help-lispdir.test: Likewise.
869 * tests/help-maintainer.test: Likewise.
870 * tests/help-multilib.test: Likewise.
871 * tests/help-regex.test: Likewise.
872 * tests/help-silent.test: Likewise.
873 * tests/help-upc.test: Likewise.
874 * tests/mmode.test: Remove tests on `configure --help' output,
875 they are superseded by tests in `help-maintainer.test'.
876 * tests/Makefile.am (TESTS): Update.
878 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
880 * tests/README: Don't put GCS mandated tools in $required.
882 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
884 * HACKING: Hint at old commits with `git describe' output.
886 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
888 Fix regression in test `colon4.test'.
889 * tests/colon4.test: Fix botched editing to `configure.in'
890 that made the test useless. Since we are at it, improve
891 comments and make grepping of generated Makefile.in slightly
893 Regression introduced by change "Modernize, improve and/or
894 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
896 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
898 Do not require "gzip" explicitly in tests.
899 The gzip utility is simply expected to be present on any decent
900 target system for Automake. So it's pointless to put it in
902 * tests/install2.test ($required): Do not require "gzip".
903 * tests/lex3.test: Likewise.
904 * tests/pr9.test: Likewise.
905 From a suggestion by Ralf Wildenhues.
907 Make some `confh*.test' tests more "semantic" (plus tweakings).
908 * tests/confh.test: Run "autoconf", "configure" and "make check",
909 instead of munging/grepping the generated `Makefile.in'.
910 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
911 white spaces. Do not create useless dummy source file `foo.c'
912 and useless dummy header file `acconfig.h'.
913 (configure.in): Remove superfluous call to `AC_OUTPUT'.
914 * tests/confh6.test: Add trailing `:' command.
915 * tests/confh7.test: In comments, add reference to ...
916 * tests/confh8.test: ... this new test, "semantic" sister
918 * tests/Makefile.am (TESTS): Updated.
919 Prompted by a report from Ralf Wildenhues.
921 Remove useless whitespace padding in XFAIL_TESTS definition.
922 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
924 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
926 parallel-tests: avoid command-line length limit issue.
927 * automake.in (handle_tests): New argument $makefile, new
928 substitution %MAKEFILE%.
929 (generate_makefile): Adjust.
930 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
931 sanitized TEST_LOGS value as makefile snippet on standard
932 input to $(MAKE), to avoid exceeding the command line limit on
935 Report by Bob Friesenhahn.
937 Posix 2008 requires make to set errexit.
938 * lib/am/check.am: Update comment.
940 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
942 Fix bug in test missing6.test.
943 * tests/missing6.test: Fix the hack used to edit `configure.in',
944 to avoid producing a configure script that breaks with shells
945 that do not support $LINENO. Also throw in a couple of cosmetic
948 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
950 Improve robustness of mdate-sh script.
951 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
952 $ls_command is word-split properly upon invocation.
953 (error): New function.
954 (main): Use it. Improve error checking to avoid endless loop
955 in case $ls_command gave bogus output. Fix eval quotation.
956 * tests/mdate6.test: New test, to expose eval quotation error.
957 * tests/Makefile.am: Update.
959 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
961 Fix potential regressions in depcomp{3,5}.test.
962 * tests/depcomp3.test: Do not uselessly escape the character `$'
963 in makefile rules, when it's used to expand a make macro.
964 * tests/depcomp5.test: Likewise.
966 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
967 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
969 Docs: clarify how to avoid automatic dependencies tracking.
970 * doc/automake.texi (Automatic dependency tracking): Mention that
971 automatic dependencies tracking is enabled by default, but that
972 the package developer can disable it altogether. Add a reference
973 to the proper section for a more in-depth explanation.
975 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
976 * doc/automake.texi (Automatic dependency tracking): Fix typo.
978 2010-08-16 Bruno Haible <bruno@clisp.org>
980 Don't hide the table of contents.
981 * doc/automake.texi: Move the table of contents to the beginning.
983 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
985 Tweak and/or extend some `acloca*.test' tests.
986 * tests/aclocal8.test: Ensure verbose printing of captured
988 * tests/aclocal.test: Likewise. Also, add trailing `:'
990 * tests/acloca19.test: Likewise.
991 * tests/aclocal5.test: Add trailing `:' command, and prefer
992 `$me' over hard-coded test name.
993 * tests/aclocal6.test: Likewise.
994 * tests/aclocal18.test: Add trailing `:' command, and make
995 some grepping slightly stricter.
996 * tests/acloca14.test: Likewise. Also, prefer `diff' over
997 `cmp', and add some "cosmetic" blank lines.
999 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1001 Tweak and extend tests `pr[!0-9]*.test'.
1002 * tests/primary3.test: Add trailing `:' command.
1003 * tests/primary.test: Make grepping of Automake's stderr stricter.
1004 Also, add trailing `:' command, and cosmetic changes in spacing.
1005 * tests/primary2.test: Likewise.
1006 * tests/prefix.test: Enable `errexit' shell flags, and related
1007 changes. Add a trailing `:' command.
1008 * tests/proginst.test: Likewise.
1010 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1011 * tests/pr2.test: Add trailing `:' command.
1012 * tests/pr229.test: Likewise.
1013 * tests/pr401.test: Likewise.
1014 * tests/pr401b.test: Likewise.
1015 * tests/pr401c.test: Likewise.
1016 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1018 * tests/pr300-lib.test: Likewise.
1019 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1020 of captured make stdout.
1021 * tests/pr211.test: Add trailing `:' command. Also, use the
1022 `configure.in' stub created by ./defs, rather than writing it
1024 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1025 * tests/pr287.test: Likewise, and move setting of `errexit' shell
1026 flag earlier in the script (just after inclusion of ./defs).
1027 * tests/pr220.test: Make grepping of Automake's stderr stricter.
1028 Also, add trailing `:' command, and cosmetic changes in spacing.
1029 * tests/pr224.test: Move setting of `errexit' shell flag earlier
1030 in the script (just after inclusion of ./defs). Do not export
1031 `CC=gcc' to configure explicitly (it's already exported globally
1032 in ./defs, since we have "gcc" in $required). Use the stub for
1033 `configure.in' created by ./defs, rather than writing it from
1034 scratch. Do not create dummy files required by "gnu" mode (e.g.
1035 README, NEWS), since we run automake in foreign mode anyway.
1036 * tests/pr72.test: Enable `errexit' shell flags, and related
1037 changes. Extend existing checks a bit.
1038 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
1039 the generated `configure.in', and extend existing checks over the
1040 generated tarball a bit.
1041 * tests/pr87.test: Enable `errexit' shell flags, and related
1042 changes. Add a trailing `:' command. Also, do not create dummy
1043 files required by "gnu" mode (e.g. README, NEWS), since we run
1044 automake in foreign mode anyway.
1045 * tests/pr243.test: Avoid obsolescent constructs in the generated
1046 `configure.in'. Enable the `errexit' shell flag, and related
1047 changes. Cosmetic changes to spacing, add trailing `:' command,
1048 and add a "FIXME" comment.
1049 * tests/pr266.test: Likewise, and add explicit command line switch
1050 `--enable-dependecy-tracking' to the ./configure call.
1051 * tests/pr279.test: Avoid obsolescent constructs in the generated
1052 `configure.in'; also, use the `configure.in' stub created by
1053 ./defs, rather than writing it from scratch. Enable `errexit'
1054 shell flag, and related changes. Add trailing `:' command.
1055 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1057 * tests/pr307.test: Move setting of `errexit' shell flag earlier
1058 in the script (just after inclusion of ./defs). Escape literal
1059 dots in grep regular expressions. Also, add a trailing `:'
1060 command, and cosmetic changes to spacing.
1062 Tests for PR: add excerpts from original bug report, for clarity.
1063 * tests/pr2.test: Ditto.
1064 * tests/pr9.test: Likewise.
1065 * tests/pr72.test: Likewise.
1066 * tests/pr87.test: Likewise.
1067 * tests/pr211.test: Likewise.
1068 * tests/pr220.test: Likewise.
1069 * tests/pr224.test: Likewise.
1070 * tests/pr229.test: Likewise.
1071 * tests/pr243.test: Likewise.
1072 * tests/pr266.test: Likewise.
1073 * tests/pr279.test: Likewise, and tell to keep it in sync
1074 with its sister test.
1075 * tests/pr279-2.test: Likewise.
1077 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1079 Tweak, extend and improve tests `cond[a-z]*.test'.
1080 * tests/condd.test: Add trailing `:' command. Typofix in
1082 * tests/condhook.test: Make sure target `install-data-hook' is
1083 not called by `make install', but that data files are installed.
1084 Use proper m4 quoting in configure.in. Add trailing `:' command.
1085 * tests/condhook2.test: New test, sister test of condhook, with
1087 * tests/condinc2.test: Use proper m4 quoting in configure.in.
1088 Prefer trailing `:' command over trailing `Exit 0'.
1089 * tests/condman2.test: Enable errexit shell flag, and related
1090 changes. Add trailing `:' command.
1091 * tests/condman.test: Likewise. Also, do not create useless
1092 dummy manpages, and use proper m4 quoting in configure.in.
1093 * tests/condman3.test: New test, similar to condman.test, but
1094 it also runs ./configure and "make install", and check the
1096 * tests/Makefile.am (TESTS): Updated.
1098 Modernize, improve and/or extend tests `colon*.test.
1099 * tests/colon.test: Rely on the `configure.in' stub created by
1100 `./defs', rather than writing one from scratch. Do not create
1101 a useless dummy file. Add trailing `:' command.
1102 * tests/colon4.test: Enable the `errexit' shell flag, and
1103 related changes. Rely on the `configure.in' stub created by
1104 `./defs', rather than writing one from scratch.
1105 * tests/colon7.test: Enable `errexit' shell flag, and related
1106 changes. Improve the generated `configure.in' file. Add
1107 trailing `:' command.
1108 * tests/colon2.test: Likewise. Also, add some new checks.
1109 * tests/colon5.test: Improve the generated `configure.in' file.
1110 Add new, much deeper checks. Add trailing `:' command.
1111 * tests/colon6.test: Likewise.
1112 * tests/colon3.test: Add trailing `:' command. Remove useless
1113 comments and echos. Improve the generated `configure.in' file.
1114 make some grepping tests stricter. Add a "FIXME" comments about
1115 planned improvements.
1117 Improve and extend tests `asm*.test'.
1118 * tests/asm.test: Use configure.in stub generated by ./defs,
1119 and avoid obsoleted autoconf constructs. Make grepping of
1120 Automake stderr stricter. Do not create useless source file.
1121 Improve verbose messages. Minor cosmetic changes. Tell to
1122 keep it in sync with other sister tests asm*.test.
1123 * tests/asm2.test: Likewise.
1124 * tests/asm3.test: Likewise.
1126 Modernize, improve and/or extend test scripts `conf*.test'.
1127 * tests/confh5.test: Cosmetic changes.
1128 * tests/conff.test: Likewise.
1129 * tests/confdeps.test: Likewise.
1130 * tests/conflnk.test: Likewise.
1131 * tests/conflnk2.test: Likewise.
1132 * tests/confsub.test: Likewise.
1133 * tests/confvar.test: Likewise, and make grepping of Makefile.in
1135 * tests/confvar2.test: Likewise.
1136 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
1137 disabled test (which didn't work with autoconf <= 2.59, but now we
1138 are requiring autoconf 2.62, so...)
1139 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1140 accordingly to "TODO" comments.
1141 * tests/conff2.test: Make grepping of Automake's stderr stricter.
1142 Add some comments explaining why we don't use the `configure.in'
1143 stub preset be ./defs.
1144 * tests/confh.test: Use the `configure.in' stub created by ./defs,
1145 rather than writing one from scratch, and do not call AC_OUTPUT.
1146 Enable `errexit' shell flag, and related changes. Prefer diff over
1147 cmp to compare text files. Prefer perl over sed to fetch the value
1148 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
1149 of $(DIST_COMMON) stricter.
1150 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1151 rather than writing one from scratch. Make grepping of Makefile.in
1153 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
1155 * tests/configure.test: Avoid obsolescent constructs in generated
1156 `configure.ac'. Do not write `configure.in' two times. Escape
1157 literal dots in grep regular expressions.
1158 * tests/confincl.test: Enable `errexit' shell flag, and related
1159 changes. Prefer fgrep over grep. Other cosmetic changes.
1160 * tests/config.test: Renamed to ...
1161 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
1162 and make grepping of `config.h' and `config.h.in' stricter.
1163 * tests/conf2.test: Renamed ...
1164 * tests/confh7.test: ... to this. Use the `configure.in' stub
1165 created by ./defs, rather than writing one from scratch. Try to
1166 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1168 * tests/Makefile.am (TESTS): Updated.
1170 Minor improvements and fixes in tests `depcomp*.test'.
1171 * tests/depcomp.test: Do not create useless dummy source files.
1172 Add a trailing `:' command.
1173 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1174 it's not in in the environment, rather than exporting it with an
1175 empty value. Do not pass CC=gcc to configure, as that's already
1176 done in ./defs since we have gcc in $required. Ensure verbose
1177 printing of captured stderr, and normalize its checking. Add a
1178 trailing `:' command.
1179 * tests/depcomp3.test: Quote literal dots and dollar characters in
1180 grep regexps. Always use `: >' rather than `touch' to create empty
1181 files. Explicitly declare phony targets as such in the created
1182 Makefile.am. Add a trailing `:' command.
1183 * tests/depcomp4.test: Quote literal dots and dollar characters in
1184 grep regexp. Explicitly declare phony targets as such in the
1185 created Makefile.am. Ensure verbose printing of captured makes'
1186 stoud/stderr. Add a trailing `:' command.
1187 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1188 in the script (just after inclusion of ./defs). Quote literal dots
1189 and dollar characters in grep regexps. Explicitly declare phony
1190 targets as such in the created Makefile.am. Add a trailing `:'
1192 * tests/depcomp6.test: Consistently use m4 quoting in the generated
1193 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
1194 statement required by OpenBSD's sh `set -e' more robust, and add
1195 explanatory comments to it.
1196 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
1198 Separate failing part of test `all.test'.
1199 * tests/all.test: Keep only (x)failing part of the test. Working
1200 checks moved out to ...
1201 * tests/all2.test: ... this new test.
1202 * tests/Makefile.am (TESTS): Updated.
1204 Modernize, improve and extend tests `subobj*.test'.
1205 * tests/subobjname.test: Add trailing `:' command.
1206 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1207 Escape literal dots in grep regexps.
1208 * tests/subobj2.test: Add trailing `:' command. Do not use the
1209 unportable fgrep option `-e'.
1210 * tests/subobj3.test: Add trailing `:' command.
1211 (configure.in): Use proper m4 quoting, and avoid obsolescent
1213 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
1214 flag, with related changes
1215 * tests/subobj4.test: Likewise. Also, make grepping of
1216 `Makefile.in' stricter.
1217 * tests/subobj5.test: Add trailing `:' command. Move setting of
1218 `errexit' shell flag earlier in the script (just after inclusion
1220 (configure.in): Use the stub created by `./defs', rather than
1221 writing it from scratch, and avoid obsolescent constructs.
1222 * tests/subobj6.test: Add trailing `:' command. Move setting of
1223 `errexit' shell flag earlier in the script (just after inclusion
1224 of ./defs). Do not create useless dummy ac-init file `f'.
1225 * tests/subobj7.test: Do not create useless dummy ac-init file
1227 (configure.in): Use the stub created by `./defs', rather than
1228 writing it from scratch, and avoid obsolescent constructs.
1229 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1230 in the script (just after inclusion of ./defs). Fail the test if
1231 `make distcheck' fails. Ensure verbose printing of captured make
1232 stdout. Avoid useless fork by doing simple grep instead of using
1233 test -n "`COMMAND | grep ...`".
1234 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1235 (Makefile.am): Explicitly mark target "print" as phony.
1236 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
1237 trailing `:' command.
1238 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1240 Remove a couple of obsoleted tests.
1241 * tests/fpinstall.test: Removed.
1242 * tests/fpinst2.test: Likewise.
1243 * tests/Makefile.am (TESTS): Updated.
1245 Bootstrap: updated HACKING entry.
1246 * HACKING ("Working with git"): Explain how to override the
1247 autoconf and autom4te programs used by the bootstrap process.
1250 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1251 since we don't generate it. Correctly quote arguments of
1252 `eval' builtin. Fixed a botched error message. Removed an
1255 Bootstrap: don't search perl in $PATH.
1256 * bootstrap: Do not explicitly search perl in $PATH anymore.
1257 ($PATH_SEPARATOR): Removed, it's no more needed.
1259 Bootstrap: let the user choose which autoconf to use.
1260 * bootstrap ($AUTOCONF): New variable, from the environment.
1261 ($AUTOM4TE): Likewise, for clarity.
1262 Use "$AUTOCONF" instead of calling "autoconf" directly.
1264 Minor improvements to tests ar*.test.
1265 * tests/ar.test: Add trailing `:' command.
1266 * tests/ar2.test: Likewise, and make grepping of generated
1267 Makefile.in stricter.
1269 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1271 Fix maintainer-check failure.
1272 * tests/cond5.test: Quote sleep argument, this isn't about
1273 time stamp differences.
1275 Sync auxiliary files from upstream.
1276 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1279 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1281 Work around a nasty bug (segfault) of Solaris make.
1282 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1283 from $list, to avoid triggering a nasty bug (potential segfault)
1286 2010-08-06 Peter Rosin <peda@lysator.liu.se>
1288 Make cond5.test more robust on MSYS.
1289 * tests/cond5.test: Add delay before the first kill attempt to
1290 cater for problems with MSYS bash.
1292 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1294 Add example git work flow; discuss merge --log in HACKING.
1296 Suggestion by Stefano Lattarini.
1298 Add more hints for debugging make rules.
1299 * doc/automake.texi (Debugging Make Rules): Show command to find
1300 out expanded values of variables; point to makefile debugger.
1302 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1304 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1306 Fix typo in the manual.
1307 * doc/automake.texi (Scripts): Fix typo.
1309 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1311 Document current policy for development with git.
1312 * HACKING (Working with git): Overhaul.
1313 Prompted by suggestion from Stefano Lattarini.
1315 Fix AM_COND_IF for gone-invalid condition shell expression.
1316 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1317 variable, rather than re-evaluating the shell expression for
1319 * tests/cond40.test: Extend test.
1322 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1323 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1324 to avoid shell syntax error if the m4 expansion is empty.
1325 * tests/cond40.test: Enhance test.
1327 Coverage: bogus option to AM_INIT_AUTOMAKE.
1328 * tests/init2.test: New test.
1329 * tests/Makefile.am: Update.
1331 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1333 Modernize and improve test scripts `subdir*.test'.
1334 * tests/subdir.test: Enable `errexit' shell flag, and related
1335 changes. Use the `configure.in' stub created by `./defs',
1336 rather than writing one from scratch.
1337 * tests/subdir2.test: Likewise.
1338 * tests/subdir4.test: Likewise.
1339 * tests/subdir3.test: Enable `errexit' shell flag, and related
1340 changes. Do not create useless dummy source files.
1341 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1342 and in subdirs) stricter. Some minor changes to keep it more
1343 in sync with the related test `subdir8.test'.
1344 * tests/subdir8.test: Likewise (but with the related test being
1345 `subdir5.test' here).
1346 * tests/subdir6.test: Cosmetic change in spacing.
1347 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1348 trailing `:' command.
1349 * tests/subdir10.test: Cosmetic consistency-related change.
1350 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1351 (configure.in): Use stub created by `./defs', rather than writing
1352 it from scratch. Do not use obsoleted and/or deprecated forms of
1353 autoconf/automake macros.
1355 Modernize and improve test scripts `dist*.test'.
1356 * tests/distcleancheck.test: Do not add useless `-e' option to
1357 a $MAKE call. Extend test by grepping stderr of make.
1358 * tests/distcom2.test: Do not run the same test script on the
1359 Makefile.in twice, but save its output in an intermediate file
1360 instead. Make grepping of DIST_COMMON definition stricter.
1361 Display the content of more files, to ease debugging. Add a
1362 trailing `:' command. Improved heading comments w.r.t. sister
1364 * tests/distcom6.test: Likewise, and avoid to uselessly run
1366 * tests/distcom3.test: Ensure verbose printing of captured stdout
1367 and stderr. Make grepping of captured stderr stricter. Also,
1368 add trailing `:' command.
1369 * tests/distcom4.test: Declare the target `test' in the generated
1370 Makefile.am as `.PHONY'. Display content of more files, to ease
1371 debugging. Add trailing `:' command.
1372 * tests/distcom5.test: Likewise. Also, factor out common sed
1373 script in subroutine `extract_distcommon'.
1374 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1375 test Makefile.am files. Add a trailing `:' command.
1376 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1377 call to `set -e' earlier. Be stricter and more verbose in the
1378 checking of the generated tarball.
1379 (configure.in): Use the stub provided by ./defs, instead of
1380 writing it from scratch. Avoid obsoleted constructs. Remove
1381 useless call to `AM_PROG_CC_C_O'.
1382 * tests/distdir.test: Various minor improvements/normalizations.
1383 * tests/distlinks.test: Likewise.
1385 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1387 Improve and extend test cond5.test.
1388 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1389 the background automake process, but poll it every 10 seconds for
1390 at most 30 times (this makes the test both faster on good machines,
1391 and more resilient to spurious timeout-due failures when in low
1392 priority or on heavily-loaded systems).
1393 Check also that automake writes the expected error messages on the
1395 Enable `errexit' flag, and related changes.
1396 Rely on the `configure.in' stub created by `./defs', rather than
1397 writing one from scratch.
1399 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1401 Update program --help output to match current GCS.
1402 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1403 is not defined, for compatibility to Autoconf < 2.64.
1404 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1406 (sc_diff_automake_in_automake): Update number of diff lines for
1407 additional substitutions.
1408 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1409 home page and GNU general help page.
1410 * automake.in (usage): Likewise.
1411 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1413 (Introduction, Creating amhello, amhello Explained, Options):
1415 * lib/Automake/Makefile.am (do_subst): Substitute
1417 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1418 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1421 Clean up @var handling in the manual.
1422 * doc/automake.texi: Throughout the manual, lower-case @var
1423 names, replace a few one-character names.
1425 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1427 Fix typo-related bug in test script silent5.test.
1428 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1431 Tests: remove useless repetitions of `foreign' automake option.
1432 * tests/multlib.test (configure.in): Remove useless use of
1433 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1434 already in $AUTOMAKE by default, so no point in repeating it).
1435 * tests/subobj10.test: Likewise.
1436 * tests/subobj9.test: Likewise.
1437 * tests/lex3.test (Makefile.am): Similarly, remove useless use
1438 of `foreign' option in AUTOMAKE_OPTIONS.
1439 * tests/lex5.test: Likewise.
1440 * tests/pr279.test: Likewise.
1441 * tests/pr279-2.test: Likewise.
1442 * tests/specflg3.test: Likewise.
1443 * tests/target-cflags.test: Likewise.
1445 Drop useless requirement "gzip" in lex5.test.
1446 * tests/lex5.test ($required): Do not list "gzip", as it's
1449 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1451 Fix bugs in test script silent5.test.
1452 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1453 instead of egrep) that could have led to false negatives.
1455 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1457 Add a test checking that distributed broken symlinks cause
1458 `make dist' to fail.
1459 * tests/distlinksbrk.test: New test.
1460 * tests/Makefile.am (TESTS): Updated.
1462 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1464 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1465 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1466 and AM_LFLAGS, LFLAGS in the order in which they now appear in
1469 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1470 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1471 please maintainer-check. Ensure generated C files contain a
1472 declaration, to please compilers.
1474 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1476 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1477 $(FLAGS) precedence.
1478 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1479 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1480 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1481 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1484 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1485 $(AM_FLAGS) and $(FLAGS) precedence.
1486 * tests/lflags.test: New test, check that user $(LFLAGS) takes
1487 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
1489 * tests/lflags2.test: Likewise.
1490 * tests/yflags.test: New test, check that user $(YFLAGS) takes
1491 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
1493 * tests/yflags2.test: Likewise.
1494 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1496 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1498 Modernize, improve and extend tests `suffix*.test'.
1499 * tests/suffix3.test: Enable `errexit' shell flag, and related
1501 * tests/suffix4.test: Likewise.
1502 * tests/suffix6.test: Likewise, and do not create a useless dummy
1504 * tests/suffix7.test: Likewise.
1505 * tests/suffix5.test: Enable `errexit' shell flag, and related
1506 changes. Make grepping of Makefile.in slightly stricter.
1507 * tests/suffix.test: Enable `errexit' shell flag, and related
1508 changes. Also, do not redirect grep output to /dev/null, as this
1509 might unmotivatedly hide useful information.
1510 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1511 in the script (just after inclusion of ./defs). Use a more
1512 idiomatic way to count text occurrences in Makefile.in with
1513 grep. Do not create useless dummy source files.
1514 * tests/suffix10.test: Ensure verbose printing of captured make
1515 stdout. Minor cosmetic changes.
1516 * tests/suffix8.test: Likewise. Also, drop useless call to the
1517 env(1) utility, and make grepping of make output stricter by using
1518 $FGREP rather than plain grep.
1519 * tests/suffix11.test: Likewise.
1520 * tests/suffix12.test: Likewise.
1521 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1522 the `configure.in' stub. Cosmetic changes.
1523 * tests/suffix13.test: Cosmetic spacing change.
1525 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1527 Add useful comment in test script ext.test.
1528 * tests/ext.test: Add a comment explaining why an apparently
1529 useless `if' statement is indeed required.
1531 Add useful comment in test script obsolete.test.
1532 * tests/obsolete.test: Add a comment explaining why we need
1533 an indirection in adding $AUTOUPDATE to $required.
1535 Normalize whitespaces in 'tests/Makefile.am'.
1536 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1537 definition of this variable.
1539 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1541 Remove a couple of unneeded conditionals from tests.
1542 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1543 for the FOOTEST conditional.
1545 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1547 Modernize, improve and/or fix various test scripts.
1548 * tests/symlink3.test: Deleted, separated into two new, more
1550 * tests/forcemiss.test: ... this one ...
1551 * tests/forcemiss2.test: ... and this one.
1552 * tests/symlink2.test: Enable `errexit' shell flag, make test
1553 stricter, and skip it if symlink creation is not supported.
1554 * tests/postproc.test: Enable `errexit' shell flag, related
1555 changes, and a couple of unrelated cosmetic changes.
1556 * tests/recurs.test: Use the `configure.in' stub created by
1557 `./defs', rather than writing one from scratch. Make grepping
1558 of Automake stderr slightly stricter.
1559 * tests/substtarg.test: Likewise.
1560 * tests/strip.test: Likewise, and move the call to `set -e'
1561 earlier (just after the inclusion of `./defs'). Also, make sure
1562 that the script installed by `make install-script' is equal to
1564 * tests/substref.test: Use the `configure.in' stub created by
1565 `./defs', rather than writing one from scratch. Move the call
1566 to `set -e' earlier (just after the inclusion of `./defs').
1567 Avoid to explicitly export CC for configure (that's already done
1568 in ./defs). Avoid potential problems with unpredictable make
1569 output. Finally, make grepping of Makefile.in stricter.
1570 * tests/substre2.test: Ensure verbose printing of the captured
1571 make's output, and make its grepping slightly stricter.
1572 * tests/cygwin32.test: Enable `errexit' shell flag, and related
1573 changes. Also, do not create useless dummy source/data files.
1574 * tests/scripts.test: Likewise.
1575 * tests/recurs2.test: Likewise. Also, use the `configure.in'
1576 stub created by `./defs'.
1577 * tests/Makefile.am (TESTS): Updated.
1579 Modernize, improve and/or fix tests `pluseq*.test.
1580 * tests/pluseq5.test: Append to configure.in using cat with an
1581 here-doc, not using echo.
1582 * tests/pluseq10.test: Make sure that the captured output of
1583 `make' command is always displayed. Where possible, use $FGREP
1584 instead of grep (this change makes some checks slightly stricter).
1585 * tests/pluseq8.test: Enable `errexit' shell flag, with related
1587 * tests/pluseq.test: Likewise. Also, do not create useless dummy
1588 data files, and use better m4 quoting in generated configure.in.
1589 * tests/pluseq2.test: Likewise. Also, append to configure.in
1590 using cat with an here-doc, not using echo.
1591 * tests/pluseq3.test: Likewise.
1592 * tests/pluseq4.test: Likewise.
1593 * tests/pluseq6.test: Likewise.
1594 * tests/pluseq7.test: Do not create useless dummy source file.
1595 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1596 Automake stderr. Some unrelated cosmetic changes.
1598 Testsuite: ensure verbose printing of captured stderr.
1599 * tests/acloca18.test: Print captured stderr before either failing
1600 or grepping it. Be sure to send captured stderr to stderr, not to
1602 * tests/ansi3b.test: Likewise.
1603 * tests/cond39.test: Likewise.
1604 * tests/configure.test: Likewise.
1605 * tests/missing3.test: Likewise.
1606 * tests/missing6.test: Likewise.
1607 * tests/output-order.test: Likewise.
1608 * tests/pr300-ltlib.test: Likewise.
1609 * tests/python6.test: Likewise.
1610 * tests/python7.test: Likewise.
1611 * tests/python8.test: Likewise.
1612 * tests/python9.test: Likewise.
1613 * tests/subobj.test: Likewise.
1614 * tests/vars3.test: Likewise.
1615 * tests/missing4.test: Likewise, and fix a call to grep not to use
1617 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1618 created by `./defs', rather than writing one from scratch.
1620 Enable `errexit' shell flag in various tests.
1621 * tests/backsl.test: Enable the `errexit' shell flag, and
1623 * tests/backsl2.test: Likewise.
1624 * tests/block.test: Likewise.
1625 * tests/canon2.test: Likewise.
1626 * tests/canon4.test: Likewise.
1627 * tests/comment2.test: Likewise.
1628 * tests/condlib.test: Likewise.
1629 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1630 * tests/canon3.test: Likewise. Also, avoid to create an useless
1632 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1633 related changes. Do some cosmetic improvements in the generated
1634 `configure.in' file.
1635 * tests/cond4.test: Likewise.
1636 * tests/cond14.test: Likewise.
1637 * tests/condinc.test: Likewise.
1638 * tests/cond7.test: Likewise. Also, remove useless setting of
1639 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1640 * tests/ansi.test: Enable the `errexit' shell flag, and related
1641 changes. Extended, esp. by running autoconf, ./configure and
1642 make, and by looking into the distdir.
1644 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1645 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1647 Extend tests/README w.r.t. trailing `:' in test scripts.
1648 * tests/README (section "Writing test cases" subsection "Do"):
1649 Explain why apparently redundant trailing `:' and `Exit 0' in
1650 test scripts can indeed be useful.
1652 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1654 Improve determination of PATH separator in bootstrap script.
1655 * bootstrap: Determine what the PATH separator is the same way
1658 Minor improvements in bootstrap script.
1659 * bootstrap: Consistently use two-spaces indentation. Cosmetic
1660 improvement to comments.
1661 ($me): New variable, containing program basename.
1662 Prepend it to all error messages.
1664 Testsuite now works with BSD make in parallel mode.
1665 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1666 which are exported by BSD make when run in parallel mode, and
1667 which can confuse make processes spawned by our testsuite.
1668 This change fixes a lot of spurious failure when the testsuite
1669 is run with BSD make in parallel mode.
1671 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1673 Modernize, improve and/or fix various test scripts.
1674 * tests/sanity.test: Rely on the `configure.in' stub created by
1675 `./defs', rather than writing one from scratch.
1676 * tests/depend2.test: Likewise. Also, call `set -e' just after
1677 the inclusion of `./defs', instead that later in the script.
1678 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1679 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1680 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1681 Make auxiliary rules in the generated Makefile more silent.
1682 These changes make some checks slightly stricter.
1683 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1684 * tests/gettext2.test: Place final `:' at the end of the script,
1685 rather than in the middle.
1686 * tests/exeext.test: Call `set -e' just after the inclusion of
1687 `./defs', instead that later in the script.
1688 * tests/extra5.test: Likewise.
1689 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
1690 plain `mv', just to be sure.
1691 * tests/depcomp.test: Enable `errexit' shell flag, with related
1692 changes. Also, modernize the generated configure.in.
1693 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
1694 stub created by `./defs', rather than writing one from scratch.
1695 * tests/cond10.test: Likewise.
1696 * tests/depcomp2.test: Likewise.
1697 * tests/depend3.test: Likewise.
1698 * tests/distcom7.test: Likewise.
1699 * tests/fortdep.test: Likewise. Also, remove definition of
1700 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1701 since that flag is already provided by $AUTOMAKE.
1702 * tests/mdate.test: Made stricter, by checking that Automake
1703 actually failed, and by making a stricter grep on the error
1704 message. Also, set shell `errexit flag'.
1705 * tests/python2.test: Improved verbose messages.
1707 Make test `ammissing.test' stricter.
1708 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1709 Enable `errexit' shell flag.
1711 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1713 Enable `errexit' shell flag in some test scripts.
1714 * tests/subcond.test: Enabled `errexit' shell flag, and related
1716 * tests/subst.test: Likewise.
1717 * tests/vars.test: Likewise.
1718 * tests/version4.test: Likewise.
1719 * tests/vpath.test: Likewise.
1720 * tests/vtexi2.test: Likewise.
1721 * tests/werror.test: Likewise.
1722 * tests/whoami.test: Likewise.
1723 * tests/tags.test: Likewise, and avoid to crate an useless dummy
1725 * tests/acsilent.test: Likewise, and don't use an easily-avoided
1726 command substitution.
1727 * tests/unused.test: Likewise, and don't use an easily-avoided
1728 command substitution.
1729 * tests/version.test: Likewise, and avoid deprecated constructs
1730 in the generated `configure.in'.
1731 * tests/version2.test: Likewise, and avoid deprecated constructs
1732 in the generated `configure.in'.
1734 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1736 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1737 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
1738 the verbose log contains all output.
1739 * tests/mdate.test: Likewise.
1740 Prompted by Stefano Lattarini's change to discover.test.
1742 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1744 Improve tests link*.test (enable `errexit' shell flag).
1745 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1746 changes. Also, do not create useless source files.
1747 * tests/link_dist.test: Likewise.
1748 * tests/link_f90_only.test: Likewise.
1749 * tests/link_f_only.test: Likewise.
1750 * tests/link_fc.test: Likewise.
1751 * tests/link_fccxx.test: Likewise.
1752 * tests/link_fcxx.test: Likewise.
1754 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1756 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1757 * tests/ext.test: Inside shell compound command, use
1758 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1759 fix failure with OpenBSD sh introduced with last patch.
1760 Actually ensure that a rule for .EXT.o is created for each
1761 known extension EXT.
1763 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1765 Enable `errexit' shell flag in some test scripts.
1766 * tests/dash.test: Enable `errexit' shell flag, and related
1768 * tests/defun.test: Likewise.
1769 * tests/defun2.test: Likewise.
1770 * tests/dejagnu.test: Likewise.
1771 * tests/double.test: Likewise.
1772 * tests/distcom2.test: Likewise.
1773 * tests/empty2.test: Likewise.
1774 * tests/empty3.test: Likewise.
1775 * tests/empty4.test: Likewise.
1776 * tests/exdir.test: Likewise.
1777 * tests/ext.test: Likewise.
1778 * tests/extra.test: Likewise.
1779 * tests/extra2.test: Likewise.
1780 * tests/extra3.test: Likewise.
1781 * tests/extra4.test: Likewise.
1782 * tests/flibs.test: Likewise.
1783 * tests/fnoc.test: Likewise.
1784 * tests/fo.test: Likewise.
1785 * tests/instexec.test: Likewise.
1786 * tests/ltdeps.test: Likewise.
1787 * tests/nodep.test: Likewise.
1788 * tests/nodepcomp.test: Likewise.
1789 * tests/f90only.test: Likewise, and remove botched/obsoleted
1790 comments and unnecessary commands.
1791 * tests/fonly.test: Likewise, and remove botched/obsoleted
1792 comments and unnecessary commands.
1793 * tests/discover.test: Likewise, and made stricter.
1795 Enable `errexit' shell flag in all tests cxx*.test.
1796 * tests/cxx.test: Enabled `errexit' shell flag, and related
1798 * tests/cxxansi.test: Likewise.
1799 * tests/cxxcpp.test: Likewise.
1800 * tests/cxxlibobj.test: Likewise.
1801 * tests/cxxlink.test: Likewise.
1802 * tests/cxxo.test: Likewise.
1804 Enable `errexit' shell flag in various tests.
1805 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1807 * tests/acoutpt.test: Likewise.
1808 * tests/acoutqnl.test: Likewise.
1809 * tests/amassign.test: Likewise.
1810 * tests/ansi2.test: Likewise.
1811 * tests/ansi4.test: Likewise.
1812 * tests/badprog.test: Likewise.
1813 * tests/checkall.test: Likewise.
1814 * tests/clean.test: Likewise.
1815 * tests/colneq2.test: Likewise.
1816 * tests/colon.test: Likewise.
1817 * tests/colon5.test: Likewise.
1818 * tests/colon6.test: Likewise.
1819 * tests/comment.test: Likewise.
1820 * tests/compile_f90_c_cxx.test: Likewise.
1821 * tests/compile_f_c_cxx.test: Likewise.
1822 * tests/cond3.test: Likewise.
1823 * tests/cond6.test: Likewise.
1824 * tests/cond13.test: Likewise.
1825 * tests/conf2.test: Likewise.
1826 * tests/confvar.test: Likewise.
1827 * tests/confvar2.test: Likewise.
1828 * tests/cond8.test: Likewise, plus a cosmetic change.
1829 * tests/confh4.test: Likewise. Also, add in the heading comments
1830 an excerpt from the original bug report which motivated the
1831 creation of this test, to make its purpose clearer.
1833 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1835 Rewrite manual to be gender-neutral.
1836 * doc/automake.texi (GNU Build System)
1837 (Standard Directory Variables, General Operation, CVS)
1838 (Hard-Coded Install Paths, Dependencies As Side Effects):
1839 Rewrite text to not contain gender-specific pronouns when
1840 speaking about developers or users, either by avoiding pronouns
1841 or by addressing them as `you' instead.
1843 Report by Christina Gratorp.
1847 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1849 Make tests on user extensibility of silent-rules mode stricter.
1850 * tests/silent6.test: Made stricter w.r.t. the grepping of the
1851 output produced by `make'.
1852 * tests/silent7.test: Likewise.
1854 Tests on silent-mode for C/Libtool made stricter.
1855 * tests/silent.test: Made stricter w.r.t. the grepping of the
1856 output produced by `make'.
1857 * tests/silent2.test: Likewise.
1858 * tests/silent4.test: Likewise.
1859 * tests/silent9.test: Likewise.
1860 * tests/silent3.test: Likewise, and add a final `make distclean'
1861 command to keep it better in sync with tests/silent{4,9}.test.
1863 Improved test silent5.test.
1864 * tests/silent5.test: Remove by hand all generated C files after
1865 non-verbose builds, to ensure the following builds are clean.
1866 Try to clean and rebuild with the same verbosity and without
1867 removing generated sources in between, to check that this does
1868 not trigger a different set of rules. Make grepping of make's
1869 output stricter. Improved/added some comments.
1871 New tests for Automake silent-mode with Fortran.
1872 * tests/silentf77.test: New test.
1873 * tests/silentf90.test: Likewise.
1874 * tests/Makefile.am (TESTS): Updated accordingly.
1876 New test `silentcxx.test' (Automake silent-mode with C++).
1877 * tests/silentcxx.test: New test.
1878 * tests/Makefile.am (TESTS): Updated accordingly.
1880 New test `silentyacc.test' (Automake silent-mode with Yacc).
1881 * tests/silentyacc.test: New test.
1882 * tests/Makefile.am (TESTS): Updated accordingly.
1884 New test `silentlex.test' (Automake silent-mode with Lex).
1885 * tests/silentlex.test: New test.
1886 * tests/Makefile.am (TESTS): Updated accordingly.
1888 Relax tests on silent-rules to cater to overly verbose makes.
1889 * tests/silent.test: When testing silent builds, don't fail if
1890 make's output simply contains the `mv' substring, but only if
1891 it contains the `mv ' substring (note the trailing space).
1892 * tests/silent2.test: Likewise.
1893 * tests/silent3.test: Likewise.
1894 * tests/silent4.test: Likewise.
1895 * tests/silent5.test: Likewise.
1896 * tests/silent9.test: Likewise.
1898 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1900 Fix silent-rules output for disabled dependency tracking.
1901 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1902 expansion code to also work in the case where %AMDEP% expands
1903 to FALSE at config.status time, using new substitution string
1905 * automake.in (verbose_nodep_flag): New function, appending
1906 `@am__nodep@' to the verbose-variable name.
1907 (handle_languages): If dependencies are not disabled, use it to
1908 set %VERBOSE-NODEP%.
1909 * m4/depend.m4: Substitute am__nodep as '_no', so the second
1910 verbose-variable will always expand to an empty string, if
1911 dependencies are enabled.
1912 * tests/silent5.test: Also test --disable-dependency-tracking;
1913 also test per-target flags for non-C language files.
1914 * tests/silent9.test: New test, like silent4.test but disable
1915 dependency tracking.
1916 * tests/Makefile.am: Adjust.
1917 * NEWS, THANKS: Update.
1918 Report by Dmitry V. Levin <ldv@altlinux.org>.
1920 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1922 Extend test on `nostdinc' automake option.
1923 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
1924 unrelated minor changes. Make the grepping of the generated
1925 Makefile.in slightly stricter. Generate and run configure, so that
1926 the generated Makefile can be grepped too.
1928 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1930 Make gnupload portable to EBCDIC hosts.
1931 * lib/gnupload: Use literal newline as argument for 'tr' rather
1932 than \015, for EBCDIC hosts. Also, avoid unportable nested
1933 double-quotes and backquotes.
1935 Report from Eric Blake and Steve Goetze via gnulib.
1937 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1939 Fix Autoconf version required by Automake's configure.
1940 Automake configure script used to tell that automake required
1941 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1942 and if that was not found, it gave an error saying that Automake
1943 required configure 2.61a-341 or later. This change should
1944 eliminate such inconsistencies.
1945 * configure.ac ($required_autoconf_version): New variable.
1948 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1950 Fix unportable sed script in maintainer-check test.
1951 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1952 not contain semicolon after 'b' or brace commands, for NetBSD.
1954 Wildcards are not portable to NetBSD make.
1955 * doc/automake.texi (Wildcards): Document portability issue.
1956 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1959 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1961 Make test for configure.in vs. configure.ac stricter.
1962 * tests/configure.test: Use a configure.in file that provokes
1963 an automake error, to ensure configure.ac is preferred.
1965 Avoid possible false negatives in dejagnu7.test.
1966 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
1967 unportable use of fgrep option `-e'.
1969 Fix conflnk3.test to work with Solaris/Heirloom Sh.
1970 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1971 instead of respectively `test -e FILE' and `test ! -e FILE',
1972 since Solaris Sh doesn't grok the latter. Do not SKIP the test
1973 if the shell doesn't support `test -e'.
1975 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1978 * doc/automake.texi (Simple Tests using parallel-tests): Add
1979 missing closing parenthesis.
1981 Fix leftover call to removed function macros_dump.
1982 * automake.in (read_main_am_file): Call variables_dump, not
1983 macros_dump. Print actual error before list of variables.
1985 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1987 Minor improvements in comments of test `silent3.test'.
1988 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1991 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1993 testsuite: ensure verbose printing of captured output.
1994 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1995 tests/fort2.test, tests/help.test, tests/missing3.test,
1996 tests/missing6.test: Print captured stdout or stderr before
1999 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2001 Make test badopt.test stricter (by enabling `set -e').
2002 * tests/badopt.test: Add call to `set -e'. Due to this change,
2003 an unexpected failure in the call to `$ACLOCAL' (whose outcome
2004 was previously unchecked) would cause the whole test to fail.
2005 Also, bumped the copyright years.
2007 Make test for configure.in vs. configure.ac stricter.
2008 * tests/configure.test: Use a configure.in file that provokes
2009 an automake error, to ensure configure.ac is preferred.
2011 Use `set -e' in confsub.test (avoids possible false negatives).
2012 * tests/confsub.test: Enable shell `errexit' flag, and related
2013 changes (this helps avoiding some possible minor false negatives).
2014 Also, bumped copyright years.
2016 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2018 Fix -Werror handling for presence of configure.in and configure.ac.
2019 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2020 $configure_ac at the global level, before command-line arguments
2022 (require_variables): Initialize it here.
2023 * tests/configure.test: New test.
2024 * tests/Makefile.am: Update.
2025 Report by Stefano Lattarini.
2027 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2029 Avoid possible false negatives in confh5.test.
2030 * tests/confh5.test: Enable shell `errexit' flag, and bumped
2031 copyright years. Due to this change, any unexpected failure
2032 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2033 a failure in grepping expected text in output files should now
2034 cause the whole test to fail.
2036 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2038 Fixed typo in POD documentation of Automake::Channels.
2039 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2040 @<...> was used instead of C<...>.
2042 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2044 Refactor tests on Automake TESTS color output.
2045 * tests/color.test: Tests using the expect program moved out to...
2046 * tests/color2.test: ... this new file.
2047 * tests/Makefile.am (TESTS): Extended accordingly.
2049 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2051 Fix typos in comments in test confh5.test
2052 * tests/confh5.test: Fix a couple of typos in comments.
2054 Avoid possible false negatives in canon-name.test.
2055 * tests/canon-name.test: Enable shell `errexit' flag. Improve
2058 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2060 Fix per-Makefile.am setting of -Werror.
2061 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2062 Makefile.am would carry over to other Makefile.am files
2063 treated afterwards by the same thread, causing inconsistent
2064 and unstable exit status values.
2065 * lib/Automake/Channels.pm (dup_channel_setup)
2066 (drop_channel_setup): Save and restore the setting of
2067 $warnings_are_errors.
2068 * tests/werror3.test: New test.
2069 * tests/Makefile.am: Adjust.
2072 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2074 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2075 * tests/confh5.test: In the generated Makefile.am: do not use
2076 `test ! -e FILE' to check for the non-existence of a file, since
2077 that is not supported by Solaris/Heirloom Sh.
2079 Make test `aclocal3.test' stricter.
2080 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
2081 succeds unexpectedly.
2083 Add tests checking that symlinks are resolved by `make dist'.
2084 * tests/distlinks.test: New test.
2085 * tests/Makefile.am (TESTS): Updated accordingly.
2086 Suggested by observations from Ralf Wildenhues.
2088 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2090 Use -9 for maximum xz compression with dist-xz.
2091 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2092 * NEWS, THANKS: Update.
2093 Report by Pavel Sanda.
2095 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
2097 Avoid an unportable use of `$status' shell variable.
2098 * Makefile.am (path-check): Don't use the `$status' shell variable
2099 in the target's rules, as it's special in Zsh (equivalent to `$?',
2102 Avoid another use of `chmod -R'.
2103 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2104 $(distdir) before removing it (as Solaris `chmod -R' touches
2105 symlink targets). Instead, use the cleanup strategy used in
2108 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2110 Remove uses of @acronym and @sc.
2111 * doc/automake.texi (Public Macros, Limitations on File Names):
2112 Remove all usage of @acronym and @sc in the manual.
2113 Suggested by Karl Berry.
2115 2010-03-13 Karl Berry <karl@freefriends.org>
2117 GNU hello uses fdl.texi, not gpl.texi.
2118 * doc/automake.texi (Texinfo): Adjust example to upstream
2121 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2123 Formatting cleanups in macro comments.
2124 * automake.in, lib/Automake/Channels.pm,
2125 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2126 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2127 m4/options.m4, m4/substnot.m4: Fix macro comment format.
2129 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2130 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2132 Avoid generation of `tests/defs-p' file.
2133 * tests/defs.in: In the generated `configure.in' snippet: call
2134 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2135 variable `parallel_tests' is set to `yes'.
2136 * tests/Makefile.am (defs-p): Target removed.
2137 (check_SCRIPTS): Removed `defs-p'.
2138 (clean-local-check): Do not unlink `defs-p' anymore.
2139 ($(parallel_tests)): Transformation rules for the test scripts
2141 * tests/gen-parallel-tests: Selection rules for the test
2143 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2144 then include `./defs' (rather than simply including `./defs-p').
2145 * tests/parallel-tests2.test: Likewise.
2146 * tests/parallel-tests3.test: Likewise.
2147 * tests/parallel-tests4.test: Likewise.
2148 * tests/parallel-tests5.test: Likewise.
2149 * tests/parallel-tests6.test: Likewise.
2150 * tests/parallel-tests7.test: Likewise.
2151 * tests/parallel-tests8.test: Likewise.
2152 * tests/parallel-tests9.test: Likewise.
2153 * tests/parallel-tests10.test: Likewise.
2154 * tests/README (Section "Writing Test Cases" subsection "Do"):
2155 Adjusted the parts referring to tests checking `parallel-tests'
2156 behaviour. Some other minor related improvements.
2157 * tests/.gitignore (defs-p): Removed.
2159 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2161 Remove redundant unset of variable TESTS from some test scripts.
2162 * tests/color.test: Do not unset the `TESTS' variable, as it's
2163 already unset in the `defs' file.
2164 * tests/check5.test: Likewise.
2165 * tests/check8.test: Likewise.
2166 * tests/check9.test: Likewise.
2167 * tests/check10.test: Likewise.
2168 * tests/check11.test: Likewise.
2169 * tests/parallel-tests.test: Likewise.
2170 * tests/parallel-tests3.test: Likewise.
2171 * tests/parallel-tests4.test: Likewise.
2172 * tests/parallel-tests5.test: Likewise.
2173 * tests/parallel-tests6.test: Likewise.
2174 * tests/parallel-tests7.test: Likewise.
2176 2010-02-22 Karl Berry <karl@gnu.org>
2178 Improve help message of mdate-sh.
2179 * mdate-sh: mention actual output format in help message.
2181 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2183 Deprecate dist-lzma in favor of dist-xz.
2184 * doc/automake.texi (The Types of Distributions, Options):
2185 Adjust text to reflect renaming of lzma to xz.
2187 Missing deprecation noted by Antonio Diaz Diaz.
2189 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2191 Add tests about support of wildcards in EXTRA_DIST.
2192 * tests/extra10.test: New test, check basic support of wildcards
2194 * tests/extra11.test: New test, check more complex usage of
2195 wildcards in EXTRA_DIST.
2196 * tests/extra12.test: New test, check usage of wildcards in
2197 EXTRA_DIST when $builddir != $srcdir.
2198 * tests/Makefile.am (TESTS): Updated accordingly.
2199 Necessity of these new tests suggested by Braden McDaniel
2200 and Ralf Wildenhues.
2202 2010-02-08 Simon Josefsson <simon@josefsson.org>
2204 Fix copyright statement in gnupload script.
2205 * lib/gnupload: Fix copyright statement.
2207 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
2208 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2210 Fix exit status of signal handlers in shell scripts.
2211 The value of `$?' on entrance to signal handlers in shell scripts
2212 cannot be relied upon, so set the exit code explicitly to
2214 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2215 * lib/elisp-comp: Likewise.
2216 * lib/install-sh: Likewise.
2217 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
2218 * NEWS, THANKS: Update.
2219 Bug report, analysis, and initial patch by Dmitry V. Levin.
2221 2010-02-06 Karl Berry <karl@gnu.org>
2223 Improve gnupload usage text.
2224 * gnupload (usage): Shorten to make more likely to fit on a tty
2225 line. Mention CMD in the synopsis. With ..., plural is implied.
2227 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
2229 Fix some typos in the manual
2230 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2232 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2234 Slighty improve tests acoutbs.test and acoutbs2.test.
2235 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
2236 autoconf and configure work, that the file `zot' is created by
2237 configure, and that no file containing a backslash in its name is
2239 * tests/acoutbs.test: Likewise, plus updated copyright years.
2241 Fix test acoutbs2.test.
2242 * tests/acoutbs2: In the generated configure.in: add proper calls
2243 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2244 PACKAGE and VERSION. Add a call to aclocal before calling automake.
2245 Updated copyright years.
2246 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2248 Add forgotten test scripts to $(TESTS).
2249 * tests/Makefile.am (TESTS): Added test scripts present on the
2250 filesystem, which were erroneously left out from $(TESTS):
2251 acoutbs2.test, badopt.test, extra2.test.
2252 (XFAIL_TESTS): Added acoutbs2.test.
2254 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2256 Sync auxiliary files from upstream.
2257 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2260 Bump copyright years.
2261 * aclocal.in (write_aclocal, version): Bump copyright years.
2262 * automake.in (gen_copyright, version): Likewise.
2263 * doc/automake.texi: Likewise.
2266 * ChangeLog.09: New file, rotated from ...
2267 * ChangeLog: ... here.
2268 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2272 Copyright (C) 2010 Free Software Foundation, Inc.
2274 Copying and distribution of this file, with or without modification, are
2275 permitted provided the copyright notice and this notice are preserved.