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