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