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