1 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
3 tests: don't allow `$me' to be overridden from the environment
4 * tests/defs.in: Sanity check: abort if $me is in the environment.
5 * tests/self-check-me-in-env.test: New test.
6 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
8 Suggestion by Ralf Wildenhues.
10 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
12 test defs: allow overriding of `$me'
13 * tests/defs.in ($me): Allow overriding by the including test
14 script. Add some explicative comments.
16 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
18 depcomp tests: don't reject slower dependency extractors
19 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
20 option to `configure' invocations, so that slower dependency
21 extractors are not rejected.
22 * tests/depcomp8b.test: Likewise. Also ...
23 (foo.c): ... since we are at it, fix spacing to be consistent
24 with GNU coding standards.
26 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
28 m4: add missing serial numbers to a few files
29 Related to automake bug#8483.
30 * m4/amversion.in: Add serial number.
31 * m4/auxdir.m4: Likewise.
32 * m4/gcj.m4: Likewise.
33 * m4/install-sh.m4: Likewise.
34 * m4/mkdirp.m4: Likewise.
35 * m4/python.m4: Likewise.
36 * m4/runlog.m4: Likewise.
37 * m4/strip.m4: Likewise.
38 * m4/upc.m4: Likewise.
40 2011-04-16 Jim Meyering <meyering@redhat.com>
42 depcomp: correct invalid sed invocation
43 * lib/depcomp: Insert missing -e before '/:$/d'.
44 Otherwise, that use of sed would treat '/:$/d' as a file name.
46 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
48 maintainer check: quote literal `$' in Makefile rule
49 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
50 character in double-quoted string. Fix a bug in which the rule
51 emitted an erroneously empty substring in its error message.
53 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
55 coverage: test for automake bug#8485 (known regression)
56 * tests/yacc-dist-nobuild-subdir.test: New test.
57 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
59 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
61 test defs: define default $distdir (help reducing duplication)
62 * tests/defs.in ($distdir): New variable, might be used in
63 testcases checking distribution-related features.
64 * tests/pr9.test: Use it.
65 * tests/subdir9.test: Likewise.
66 * tests/vtexi3.test: Add comment explaining why we redefine
67 $distdir in this test.
69 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
71 depcomp: fix bugs in tests and in the depcomp script
72 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
73 * tests/depcomp10.test: Make it executable. Fix a blunder that
74 has left part of an intended comment not prefixed by `#', thus
75 causing shell syntax errors. In this same comment, break a
76 too-long reported error message on multiple lines, for clarity.
77 Add reference to the relevant bug report. Add a comment which
78 explains why the test result 'skipped' if the first "make" call
79 fails. Add other useful comments.
80 * tests/depcomp9.test: Slightly improve comments.
82 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
84 Fix hp depmode for VPATH builds with GNU make.
85 * lib/depcomp: Be sure to remove VPATH-prefixed object from
86 dependency output when creating stub rule.
87 * tests/depcomp10.test: New test.
88 * tests/Makefile.am (TESTS): Update.
90 Report by Bruno Haible.
92 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
94 test defs: fix 'javac' requirement for older JDK versions
95 The Java compiler from JDK 1.5 (and presumably earlier versions)
96 cannot handle the `-version' option by itself; and while it does
97 print the version number, it then errors out with an usage error:
100 javac: no source files
101 Usage: javac <options> <source files>
103 Luckily, adding the `-help' option to the `javac' invocation
104 seems to fix this problem.
105 * tests/defs.in (javac): Pass also the `-help' option to the
106 `javac' program. Add a comment explaining why it is needed.
107 Report from Ralf Wildenhues.
109 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
111 test defs: new requirement for the default java compiler
112 * tests/defs.in (for tool in $required): New requirement 'javac'.
113 * tests/java.test: Use it instead of ad-hoc configure check.
114 * tests/java-check.test: Likewise.
115 * tests/instfail-java.test: Likewise.
116 * tests/instdir-java.test: Likewise.
118 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
120 java: check_JAVA does not cause compilation by "make all" anymore
121 Fixes automake bug#8234.
122 * automake.in (handle_java): Make stamp of class files built from
123 java sources in $(check_JAVA) a dependency of `check' target, not
125 * tests/java-check.test: New test.
126 * tests/Makefile.am (TESTS): Update.
129 Report from Petteri Räty.
131 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
133 Clarify regex code in depcomp.
134 * lib/depcomp: Add comment why we don't need regex-escaping here.
135 Suggested by Stefano Lattarini.
137 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
139 Fix makedepend depmode for VPATH builds.
140 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
141 object file name, so a rebuild doesn't attempt to update the
142 .Po files in the source tree.
143 * tests/depcomp9.test: New test.
144 * tests/Makefile.am (TESTS): Update.
147 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
149 tests: fix timestamp-related failures
150 Fixes automake bug#8365.
151 * tests/aclocal6.test: Sleep before modifying m4 files that should
152 trigger remake rules. Remove incorrect/obsoleted comments.
153 * tests/subdir5.test: Likewise, and extend a bit.
154 * tests/subdir8.test: Likewise.
155 * tests/pr8365-remake-timing.test: New xfailing test.
156 * tests/Makefile.am (TESTS): Update.
157 Report from Sam Steingold.
159 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
161 Create subdirs for generated sources even when not dep tracking.
162 * automake.in (handle_single_transform): If $object is derived
163 and lands in subdir, be sure to output a dirstamp dependency.
164 * tests/yacc5.test: Avoid falsely matching the dirstamp
165 dependency when grepping for a rule.
166 * tests/lex-subobj-nodep.test: New test.
167 * tests/Makefile.am (TESTS): Update.
169 Report by Ignacy Gawedzki.
171 Fix locale issue in check-exported-srcdir.test.
172 * tests/check-exported-srcdir.test: Reformulate glob to not fail
173 in a locale that ignores or interleaves character case.
175 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
177 docs: better visibility for aclocal in the index
178 * doc/automake.texi (@menu): Rename title for entry 'configure'
179 from "Scanning configure.ac or configure.in" to the more precise
180 "Scanning configure.ac, using aclocal".
181 (@detailmenu): Adjust.
182 (@node configure): Adjust, and extend @cindex calls accordingly.
184 From a report by Maynard Johnson.
186 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
188 tests: improve tests on "maintainer-clean" target
189 * tests/aclocal6.test: Move checks related to "maintainer-clean"
190 functionalities into ...
191 * tests/maintclean-vpath.test: ... this new test.
192 * tests/maintclean.test: Update heading comments. Extend to also
193 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
194 in configure.in. Add a trailing `:' command. Remove extra blank
196 * tests/Makefile.am (TESTS): Update.
198 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
200 tests: fix unindent to use printf not echo for script.
201 * tests/defs.in: Use printf rather than echo, as the latter may
202 interpret the backslashes in the sed script. Fixes test
203 failures with dash as /bin/sh.
205 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
206 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
208 maintcheck: look for problematic names of testcases
209 The configure.in stub created by default by `tests/defs' obtains
210 the first argument of AC_INIT from the test name, and this can
211 cause some supported autoconf versions to fail with a spurious
212 error if that test name contains the name of an m4 or m4sugar
213 builtin or macro (e.g., `defn' or `m4_undefine').
214 See for example the bug fixed by commit v1.11-287-g1325a8a.
215 This change add a maintainer check that warns about test names
216 which are possibly problematic in this regard.
217 * Makefile.am (sc_test_names): New maintainer-check target.
218 (syntax_check_rules): Add it.
219 (m4_builtins): New helper variable.
220 (TESTS): Updated according to the following renamings.
221 * tests/include.test: Renamed ...
222 * tests/hdr-vars-defined-once.test: ... to this.
223 * tests/sinclude.test: Renamed ...
224 * tests/m4-inclusion.test: ... to this, and simplified
226 * tests/include2.test: Renamed ...
227 * tests/dist-included-parent-dir.test: ... to this, for
230 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
232 tests: fix bug in alloca*.test
233 * tests/alloca.test: Make grepping of automake stderr stricter,
234 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
235 and create a dummy alloca.c file, to ensure that we fail for the
237 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
238 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
239 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
241 From a report by Patrick Welche.
243 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
245 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
246 * tests/comments-in-var-defn.test: The configure.in stub created
247 by default, which has the AC_INIT first argument obtained by the
248 test name, causes autoconf 2.62 to fail with a spurious error
249 message like: "configure.in:1: error: defn: undefined macro:".
250 Thus, to prevent this, the test is renamed to ...
251 * tests/comments-in-var-def.test: ... this.
252 * tests/Makefile.am (TESTS): Updated.
254 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
256 cosmetics: convert encoding from ISO-8859 to UTF-8
257 * ChangeLog.03: Convert encoding to UTF-8.
258 * ChangeLog.96: Likewise.
259 * ChangeLog.98: Likewise.
263 2011-03-01 Peter Rosin <peda@lysator.liu.se>
265 test defs: unindent without temporary file
266 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
267 that strips the "proper" amount of leading whitespace.
268 (unindent): Lazily strip comments from the above program and use it
269 to unindent without using a temporary file.
271 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
273 libtool: suggest LT_INIT if LTLIBRARIES primary is used
274 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
275 defined, automake suggested to add a call to AC_PROG_LIBTOOL
276 in configure.ac. But that macro is deprecated since Libtool
277 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
278 suggest the use of this latter macro instead.
279 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
280 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
281 * libtool4.test: Adjust and extend. Also, add a call to macro
282 AC_PROG_CC in configure.in, to help ensuring that automake does
283 not fail for the wrong reasons.
284 * ltinit.test: New test, ensure that automake's libtool support
285 works with LT_INIT-based interface.
286 Thanks to Jack Kelly for the suggestion.
288 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
290 tests: tempdirs with restrictive permissions are cleaned correctly
291 Before this change, the removal of a temporary test directory
292 containing subdirectories with restrictive permissions (such as
293 'r--r--r--') could fail.
294 * tests/defs: Ensure that all the subdirectories of a temporary
295 test directory have the 'read', 'write' and 'execute' bits set,
296 before trying to remove it with `rm -rf'.
297 * tests/Makefile.am (clean-local-check): Likewise.
299 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
300 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
302 test defs: add subroutine for input unindenting
303 * tests/defs.in (unindent): New subroutine.
305 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
307 python: report the 'PYTHON' influential environment variable
308 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
309 * doc/automake.texi (Python): Update and extend.
310 * tests/help-python.test: New test.
311 * tests/Makefile.am (TESTS): Update.
312 * THANKS (Jack Kelly): Update e-mail address.
313 Suggestion by Jack Kelly.
315 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
317 tests defs: clear TESTS_ENVIRONMENT variable
318 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
319 from environment won't interfere with the testcases.
320 Suggestion by Ralf Wildenhues.
322 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
324 tests: tweak few tests on simple and parallel test drivers
325 * tests/check-exported-srcdir.test: Improve heading comments.
326 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
327 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
328 environment won't risk to interfere with the test.
329 Suggestions by Ralf Wildenhues.
331 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
333 coverage: more tests on simple and parallel test drivers
334 * tests/parallel-tests-subdir.test: New test.
335 * tests/check-exported-srcdir.test: Likewise.
336 * tests/check-tests-in-builddir.test: Likewise.
337 * tests/check-tests_environment.test: Likewise.
338 * tests/Makefile.am (TESTS): Update.
340 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
342 tests: fix spurious failures in lflags*.test
343 * tests/lflags.test: Remove 'LEX' from the environment, so
344 that it won't be erroneously picked up by `make -e'.
345 * tests/lflags2.test: Likewise.
347 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
349 docs: color-tests issues with parallel make
350 * doc/automake.texi (Simple Tests): Document that automatic
351 recognition of a capable terminal attached to stdout can fail
352 with some make implementation when running in parallel mode,
353 thus causing colored test output not to be automatically
354 activated when it should.
356 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
358 tests: avoid instspc.test failures due to make's whitespace trimming
359 * tests/instspc.test: Prepend './' when passing the test
360 characters, to avoid leading whitespace characters to be trimmed
361 from macros set from environment variables. Fixes testsuite
362 failures with HP-UX, IRIX, and Tru64/OSF make.
364 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
366 coverage: test semantics of "dummy" per-target flags
367 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
368 per-target flags triggers the use of renamed objects.
369 * tests/Makefile.am (TESTS): Update.
370 Suggestion by Ralf Wildenhues.
372 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
374 tests defs: sanitize IFS
375 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
376 ($sp): New variable, holding a single whitespace character.
377 ($tab): New variable, holding a tabulation character.
378 ($nl): New variable, holding a newline character.
380 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
382 tests: fix VPATH auto-expansion workarounds.
383 * tests/parallel-tests8.test, tests/suffix13.test:
384 Ensure $< is not surrounded by white space, to prevent Solaris
385 make from applying automatic VPATH text expansion.
387 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
389 tests: fix spurious failures in yflags*.test
390 * tests/yflags.test: Remove 'YACC' from the environment, so
391 that it won't be erroneously picked up by `make -e'.
392 * tests/yflags2.test: Likewise.
394 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
396 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
397 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
398 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
399 up its internal memory when copying this tree.
401 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
402 Stefano Lattarini <stefano.lattarini@gmail.com>
404 Add comment to check-TESTS rule working around make 3.80 bug.
405 * lib/am/check.am (check-TESTS): Update comment.
407 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
409 tests: less strict double-colon spy.test again.
410 * tests/spy.test: We know BSD make doesn't invoke more than one
411 double-colon rule, so no need to expose that failure.
413 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
415 install-sh: avoid Tru64 sh `test' operator precedence issues.
416 * lib/install-sh: Protect file names and directory components
417 that consist of `=', `(', `)', or `!'. Move protection as early
418 as possible, to avoid errors such as with Tru64 sh `test -z ='.
419 * tests/instsh2.test: Extend test to cover more possibilities.
420 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
422 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
423 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
425 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
426 * doc/automake.texi (Simple Tests): Do not claim Automake uses
427 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
428 parallel-tests driver.
430 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
432 Allow _AM_DEPENDENCIES to be used later in configure.
433 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
434 conftest.dir before recreating it.
436 Report by Eric Blake, from report by Scott McCreary against M4.
438 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
440 tests: avoid failure on w32 file systems.
441 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
442 be turned unreadable.
444 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
446 tests: allow double-colon spy.test to work with HP-UX make.
447 * tests/spy.test: Fix comment typos. Ensure prerequisites we
448 do not want to depend on are strictly older than the target.
449 Also test with a target out of date wrt. more than one rule.
451 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
453 tests: remove useless requirements from cond36.test
454 * tests/cond36.test ($required): Remove.
455 Since we are at it, add a trailing `:' command.
457 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
458 Stefano Lattarini <stefano.lattarini@gmail.com>
460 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
461 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
462 Test file readability before redirecting input from it, to avoid
463 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
464 * tests/parallel-tests-unreadable-log.test: New test.
465 * tests/Makefile.am (TESTS): Update.
468 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
470 * NEWS, README: Update copyright years.
472 Fix parallel-tests.test failure with HP-UX make.
473 * tests/parallel-tests.test: Sleep inside inner tests, so logs
474 are newer than logs of tests they depend on, for HP-UX make.
476 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
478 docs: ensure example are separated with empty lines in the input
479 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
480 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
481 lines before `@example' and after `@end example' lines, so info
482 output is rendered correctly, and a following @noindent honored.
483 Report by Stefano Lattarini.
485 2011-01-15 Jim Meyering <meyering@redhat.com>
487 tests: fix comment typo
488 * tests/substref.test: Fix grammar in a comment.
490 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
492 tests: fix spurious failures in two texinfo tests
493 * tests/txinfo.test ($required): Add 'makeinfo'.
494 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
495 that make won't try to run makeinfo (which could be unavailable)
497 Found by NixOS Hydra, reported by Ralf Wildenhues.
499 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
501 Avoid testsuite failures due to Autoconf Fortran change.
502 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
503 require computing the canonical host name. Ensure config.guess
504 and config.sub files are present for respective checks.
505 * tests/compile_f_c_cxx.test: Add stub files.
506 * tests/flibs.test: Likewise.
507 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
509 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
511 docs: clustered '-d' not recognized in YFLAGS
512 This change fixes automake bug#7828.
513 * doc/automake.texi (Yacc and Lex): Document that automake
514 recognizes '-d' in AM_YFLAGS only if it's not clustered with
516 From a report by Юрий Пухальский.
518 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
520 tests: add checks on automatically-distributed files
521 Related to automake bug#7819.
522 * tests/autodist.test: New test.
523 * tests/autodist-subdir.test: Likewise.
524 * tests/autodist-acconfig.test: Likewise.
525 * tests/autodist-acconfig-no-subdir.test: Likewise.
526 * tests/autodist-aclocal-m4.test: Likewise.
527 * tests/autodist-config-headers.test: Likewise.
528 * tests/autodist-configure-no-subdir.test: Likewise.
529 * tests/autodist-stamp-vti.test: Likewise.
530 * tests/Makefile.am (TESTS): Update.
532 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
534 tests: work around a texi+cygnus bug causing a spurious XFAIL
535 * tests/txinfo5b.test: New test, like txinfo5.test but calling
536 automake with the `-Wno-override' option to work around a bug
537 in the texinfo + cygnus interaction.
538 * tests/txinfo5.test: Update heading comments.
539 * tests/Makefile.am (TEST): Updated.
541 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
543 Fix another typo in Rule.pm comment.
544 * lib/Automake/Rule.pm: Fix typo.
546 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
548 Improve, extend and tweak tests on Texinfo support.
549 * tests/instdir-texi.test: Add a call to `ls -l' after that to
550 `make', for debugging. When looking for required tools, do not
551 redirect the output of "$tool --help" to /dev/null, and do not
552 uselessly run it in a subshell.
553 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
554 make. All checks moved into Makefile.am.
555 * tests/txinfo8.test: Likewise, and modernize the generated
557 * tests/txinfo2.test: Moved checks into Makefile.am, and other
559 * tests/txinfo5.test: Enable `errexit' shell flag, and related
560 changes. Add trailing `:' command.
561 * tests/txinfo6.test: Likewise, and make grepping of generated
562 Makefile.in stricter.
563 * tests/txinfo7.test: Enable `errexit' shell flag, and related
564 changes. Add trailing `:' command. Do not add unnecessary stuff
566 * tests/txinfo9.test: Verify that more targets which are expected
567 to be generated only once really are. Make grepping less strict,
568 to avoid exposing too much internal details. More minor changes.
569 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
570 for appending to configure.in. Updated/fixed heading comments.
571 * tests/txinfo23.test: Likewise, and extended a little by making
572 it check that no info file is created in the $(srcdir).
573 * tests/txinfo24.test: Likewise.
574 * tests/txinfo25.test: Likewise.
575 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
576 for appending to configure.in. Also, check that index files are
577 cleaned also by "make clean", not only by "make distclean".
578 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
579 and added trailing `:' command. This testcase also used to check
580 that automake ignores in-line comments when using variables, but
581 preserves them in the output; these checks (added in commit
582 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
583 so they have been moved ...
584 * tests/comments-in-var-defn.test: ... into this new test.
585 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
586 trailing `:' command.
587 * tests/txinfo29.test: Likewise. Relax grepping of generated
588 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
589 append to configure.in.
590 * tests/txinfo3.test: Likewise.
591 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
592 make it stricter, sometimes laxer). Move `set -e' setting just
593 after the inclusion of ./defs. De-uglify a sed command. Other
594 minor cosmetic improvements.
595 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
596 trailing `:' command.
597 * tests/vtexi3.test: New test on version.texi support.
598 * tests/vtexi4.test: Likewise.
599 * tests/Makefile.am (TESTS): Updated.
601 2011-01-09 Peter Rosin <peda@lysator.liu.se>
603 Fix another typo in Rule.pm comment.
604 * lib/Automake/Rule.pm: Fix typo.
606 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
608 cosmetics: remove trailing whitespaces
609 * doc/automake.texi: Remove trailing whitespaces.
610 * tests/cond13.test: Likewise.
611 * tests/cond14.test: Likewise.
612 * tests/fort4.test: Likewise.
613 * tests/fort5.test: Likewise.
614 * tests/suffix7.test: Likewise.
615 * tests/vtexi2.test: Likewise.
617 automake: minor fixes in comments
618 * automake.in: Some minor fixes and enhancements in comments.
620 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
622 Add test coverage for deleted header files.
623 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
624 also check for the deleted header bug. If no dependency
625 tracking mechanism could be found, SKIP rather than exit
626 successfully. Use GNU style spacing and ANSI C prototypes.
628 Fix typos in Rule.pm comments.
629 * lib/Automake/Rule.pm: Fix typos in comments.
631 docs: split 'amhello Explained' node.
632 * doc/automake.texi (amhello Explained): Split node ...
633 (amhello's configure.ac Setup Explained)
634 (amhello's Makefile.am Setup Explained) : ... into these two.
635 (Top, Hello World): Adjust, and add @anchor for stable URL links.
636 Suggestion by Karl Berry in automake bug#7766.
638 2011-01-08 Karl Berry <karl@freefriends.org>
639 Eric Blake <eblake@redhat.com>
641 docs: reference defining directories in amhello node.
642 * doc/automake.texi (amhello Explained): Point to Autoconf
643 manual for how to convert directory values into macros.
644 (Optional): Fix grammar nit.
646 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
648 * NEWS: Fix typo (forgotten word).
650 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
651 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
653 docs: how to work around checks on invalid primary/directory couples
654 * doc/automake.texi (Uniform): Document the blessed idiom which can
655 be used to work around automake checks on invalid primary/directory
656 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
658 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
660 Sync auxiliary files from upstream.
661 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
664 Fix maintainer-check regression.
665 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
668 Bump copyright years.
669 * aclocal.in (write_aclocal, version): Bump copyright years.
670 * automake.in (gen_copyright, version): Likewise.
671 * doc/automake.texi: Likewise.
673 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
674 Stefano Lattarini <stefano.lattarini@gmail.com>
676 Work around a bug in file-inclusion mechanism of Solaris make.
677 * automake.in (handle_single_transform): In the name of the
678 dependency file: collapse multiple slash characters into a single
680 * tests/subobj11a.test: New test.
681 * tests/subobj11b.test: Likewise.
682 * tests/subobj11c.test: Likewise.
683 * tests/depcomp8a.test: Likewise.
684 * tests/depcomp8b.test: Likewise.
685 * tests/Makefile.am (TESTS): Updated.
687 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
688 patch and tests by Stefano Lattarini.
690 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
692 Fix two spurious testsuite failures on IRIX 6.5.
693 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
694 weaker make implementations (e.g. IRIX 6.5).
695 * tests/parallel-tests8.test: Likewise, plus a required related
697 Reported by Ralf Wildenhues. The bugs have been there from the
698 first versions of the affected test scripts.
700 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
702 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
703 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
704 the AM_CYGWIN32 macro (and indeed hasn't required it since at
705 least commit Release-1-2-31-g3038064 "merged changes from
706 Cygnus" of 1997-08-25).
708 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
710 distlinksbrk.test: Work around botched "make -k".
711 * tests/distlinksbrk.test: Run "make" multiple times and grep
712 its output each time for a single error message, rather than
713 running "make -k" one single time and grepping its output for
714 all the expected error messages. This should work around make
715 implementations with limited (broken?) `-k' support; for more
716 information, see these subthreads on the automake-patches list:
717 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
718 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
719 - 2010-11-15, "Testsuite failures on IRIX 6.5",
720 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
722 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
724 Fix sed-related buglet in test "subdir5.test"
725 * tests/subdir5.test: Always terminate text passed to the
726 `i' sed command with a newline, to work around limitations
727 in e.g. older OpenBSD sed.
729 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
731 docs: fix blunder in example about python extension modules
732 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
733 not `quaternion_SOURCES', to declare the sources of python
734 extension module `quaternion.la'.
736 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
738 docs: list LTLIBRARIES among Automake primaries
739 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
740 the Automake primaries.
742 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
744 Improve tests on generated portions of configure help screen.
745 * tests/help-depend.test: Grepping of configure help screen
746 relaxed to cater for possible line wrapping, and tightened in
748 * tests/help-depend2.test: Likewise.
749 * tests/help-dmalloc.test: Likewise.
750 * tests/help-lispdir.test: Likewise.
751 * tests/help-maintainer.test: Likewise.
752 * tests/help-multilib.test: Likewise.
753 * tests/help-silent.test: Likewise.
754 * tests/help-upc.test: Likewise.
755 * tests/help-init.test: Grepping of configure help screen
758 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
760 Avoid running installed automake from 'libtool --help'.
761 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
762 Together with fixed Libtool, this fixes check-coverage to not
763 invoke installed automake.
765 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
767 Fix spurious failures in `silent*.test' for $CC != gcc
768 In some tests on automake-produced silent rules, we forced the
769 use of gcc depmode to improve testsuite coverage; but this has
770 unsurprisingly led to spurious failures when some non-GNU C
771 compilers were used. So we are now careful to require GCC in
772 tests that force gcc depmode.
773 From reports by Ralf Wildenhues.
774 * silent5.test: Test removed, its content split into ...
775 * silent-many-generic.test, silent-many-gcc.test: ... these new
776 sister tests, the latter of which forces gcc depmode and lists
778 * silentlex.test: Test removed, its content split into ...
779 * silent-lex-generic.test, silent-lex-gcc.test: ... these new
780 sister tests, the latter of which forces gcc depmode and lists
782 * silentyacc.test: Test removed, its content split into ...
783 * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
784 sister tests, the latter of which forces gcc depmode and lists
786 * tests/Makefile.am (TESTS): Updated.
788 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
790 Tests: consistently use "|| Exit 1" after ". ./defs".
791 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
792 `. ./defs', for consistency with other tests.
793 * tests/autohdr2.test: Likewise.
794 * tests/autohdr3.test: Likewise.
795 * tests/autohdr4.test: Likewise.
796 * tests/cond23.test: Likewise.
797 * tests/cond24.test: Likewise.
798 * tests/cond25.test: Likewise.
799 * tests/cond26.test: Likewise.
800 * tests/cond27.test: Likewise.
801 * tests/cond28.test: Likewise.
802 * tests/cond29.test: Likewise.
803 * tests/cond30.test: Likewise.
804 * tests/cond31.test: Likewise.
805 * tests/cond32.test: Likewise.
806 * tests/cond33.test: Likewise.
807 * tests/cond34.test: Likewise.
808 * tests/cond35.test: Likewise.
809 * tests/cond36.test: Likewise.
810 * tests/cond37.test: Likewise.
811 * tests/cond38.test: Likewise.
812 * tests/cond39.test: Likewise.
813 * tests/cond40.test: Likewise.
814 * tests/cond41.test: Likewise.
815 * tests/cond42.test: Likewise.
816 * tests/cond43.test: Likewise.
817 * tests/cond44.test: Likewise.
818 * tests/cond45.test: Likewise.
819 * tests/dollarvar.test: Likewise.
820 * tests/dollarvar2.test: Likewise.
821 * tests/hfs.test: Likewise.
822 * tests/libobj14.test: Likewise.
823 * tests/percent.test: Likewise.
824 * tests/percent2.test: Likewise.
825 * tests/phony.test: Likewise.
826 * tests/silent.test: Likewise.
827 * tests/silent2.test: Likewise.
828 * tests/silent3.test: Likewise.
829 * tests/silent4.test: Likewise.
830 * tests/silent5.test: Likewise.
831 * tests/silent6.test: Likewise.
832 * tests/silent7.test: Likewise.
833 * tests/silent9.test: Likewise.
834 * tests/silentcxx.test: Likewise.
835 * tests/silentf77.test: Likewise.
836 * tests/silentf90.test: Likewise.
837 * tests/silentlex.test: Likewise.
838 * tests/silentyacc.test: Likewise.
840 Avoid useless cleaning in some `silent*.test' tests.
841 * tests/silentf77.test: Removed useless calls to "make clean"
842 and "make maintainer-clean".
843 * tests/silentf90.test: Likewise.
844 * tests/silent3.test: Removed useless call to "make distclean".
845 * tests/silent4.test: Likewise.
846 * tests/silent9.test: Likewise.
848 2010-11-19 Ian Lance Taylor <iant@google.com>
850 Sync config-ml.in from GCC.
851 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
852 compiler/flag environment variables.
854 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
856 Automake::Config: remove extra trailing semicolon.
857 * lib/Automake/Config.in: Remove extra trailing semicolon.
859 help4.test: fix botched heading comment.
860 * tests/help4.test: Fixed the heading comment, since it
861 didn't correctly describe what checks the testcase was
864 help2.test: add checks on aclocal too.
865 * tests/help2.test: Check that also `aclocal --version' and
866 `aclocal --help' work with configure.in and acinclude.m4 both
869 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
871 Fix spurious failures of silent-rules tests with Sun Fortran.
872 * tests/silentf77.test: Strip from the make output some verbose
873 messages possibly printed by the SunStudio fortran compilers, to
874 avoid spurious failures. Add a trailing `:' command.
875 * tests/silentf90.test: Likewise.
877 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
879 Fix spurious failures of silent5.test with Sun Fortran.
880 * tests/silent5.test: Strip from the make output some verbose
881 messages possibly printed by the SunStudio fortran compilers,
882 to avoid spurious failures. This bug has been there from the
883 very first version of this test script.
885 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
887 Fix regression in colon{5,6}.test (failures on AIX 5.3).
888 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
889 post-processing the generated Makefile.in, to work around a bug
890 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
891 on the commend line. Calls to `$MAKE' adjusted accordingly.
892 * tests/colon6.test: Likewise.
893 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
894 improve and/or extend tests `colon*.test", and reported by Ralf
897 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
899 Fix regression in ansi.test (failure on AIX 5.3).
900 * tests/ansi.test: Remove redundant hackish check done using a
901 hand-postprocessed Makefile.in. This check worked by setting
902 the `$(SHELL)' macro on the command line of make, but this is
903 not supported by the AIX 5.3 make implementation.
904 This bug has been lurking for a long time, and was activated by
905 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
906 tests". Report by Ralf Wildenhues.
908 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
910 tests: avoid '##'-style comments inside recipe commands.
911 * tests/confh.test, tests/confh8.test: Remove
912 double-hash comments from makefile rule commands, they
913 are not part of the Automake API.
915 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
917 tests: work around dash quoting issue in case statements.
918 * tests/color.test, tests/color2.test: Quote variable in case
919 pattern, to avoid skipping tests with dash 0.5.5.1.
921 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
923 Rebuild menus in the manual.
924 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
925 Thanks to Ian Lance Taylor for the suggestion.
927 Fix install-strip when $(STRIP) contains several words.
928 * lib/am/install.am (install-strip): Update comment. Use
929 separate sub-make invocations for empty and nonempty $(STRIP),
930 to fix quoting issues.
931 * tests/strip2.test, tests/strip3.test: New tests.
932 * tests/Makefile.am (TESTS): Adjust.
934 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
936 Fix yaccdry.test failure: require bison.
937 * tests/yaccdry.test: Require bison.
938 Found by NixOS Hydra.
940 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
942 Fix a bug in variable concatenation with `+='.
943 * lib/Automake/VarDef.pm (append): Since the content of the
944 "appended-to" variable is going to be unconditionally normalized
945 later, simply separate the appended value with a single whitespace
946 character, instead of trying to be uselessly smarter by using
947 escaped newlines. This fixes a bug in which extra backslashes
948 where erroneously inserted in the variable's final value.
949 * tests/pluseq11.test: New test, exposing the bug.
950 * tests/Makefile.am (TESTS): Update.
951 Reported by Andy Wingo.
953 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
955 Fix bug in rules for creating vala vapi/header files.
956 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
957 if control structure in a generated make rules. Bug introduced
958 by previous commit `v1.11-221-gd7c1679', and revealed by failure
959 of test `vala2.test'.
961 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
963 Fix and document rules to not touch the tree with `make -n'.
964 * doc/automake.texi (Multiple Outputs): Document the problem of
965 modifications during dry-run execution, propose solution.
967 * automake.in (lang_vala_finish_target): Split recipe so the
968 stamp file is not removed with GNU `make -n'.
969 (lang_yacc_target_hook): Separate removal of parser output file
971 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
972 passed to make, take care not to remove any files in that case.
973 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
974 %STAMP% file from induced remaking of config header.
975 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
977 * tests/Makefile.am (TESTS): Update.
979 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
981 Add FAQ entry for bug reporting instructions.
982 * doc/automake.texi (Reporting Bugs): New section.
983 (Introduction): Refer to it.
985 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
987 Add support for newer python versions.
988 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
989 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
990 line and fix indentation.
992 From a report by Thomas Klausner.
994 Add test for `AM_WITH_DMALLOC' macro.
995 * tests/dmalloc.test: New test.
996 * tests/Makefile.am (TESTS): Update.
998 Fix nits and bugs in tests `help*.test'.
999 * tests/help4.test: Fix broken sed commands used to strip `-W...'
1000 flags away from "$AUTOMAKE" and "$ACLOCAL".
1001 * tests/help3.test: Likewise, and fix a botched comment.
1002 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
1003 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1004 please maintainer-check.
1005 * tests/help2.test: Likewise.
1007 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1008 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1010 Improve tests `help*.test' (also fixes maintcheck failures).
1011 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1012 flags stripped away rather than hard-coded `automake-$APIVERSION',
1013 to better honour user-overrides. Similarly for aclocal.
1014 * tests/help2.test: Likewise.
1015 * tests/help3.test: Likewise.
1016 * tests/help4.test: Likewise.
1018 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1020 Document and fix expansion of variables before rules.
1021 * doc/automake.texi (General Operation): Document that variables
1022 are expanded before rules.
1023 * lib/am/check.am (am__check_post): Reword a bit so it does not
1024 get matched as a rule.
1025 Suggestion by Ben Pfaff.
1027 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1029 Revert "parallel-tests: avoid command-line length limit issue."
1030 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
1031 because it re-opened the bug fixed by v1.11-10-g218e678.
1033 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1035 parallel-tests: avoid command-line length limit issue.
1036 * automake.in (handle_tests): New argument $makefile, new
1037 substitution %MAKEFILE%.
1038 (generate_makefile): Adjust.
1039 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1040 sanitized TEST_LOGS value as makefile snippet on standard
1041 input to $(MAKE), to avoid exceeding the command line limit on
1044 Report by Bob Friesenhahn.
1046 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1048 Extend tests on `--help' and `--version' options.
1049 * tests/help.test: Create a new empty directory and chdir into
1050 it, rather than removing already present files. Run the aclocal
1051 and automake wrapper scripts directly, instead of relying on
1052 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
1053 in aclocal's and automake's stderr. Add a trailing `:' command.
1054 * tests/help2.test: New test, checking that options `--help' and
1055 `--version' works in directories with broken `configure.in'.
1056 * tests/help3.test: New test, checking that options `--help' and
1057 `--version' take precedence on the other options.
1058 * tests/help4.test: New test, checking that the first among the
1059 `--help' and `--version' options to be specified on the command
1061 * tests/Makefile.am (TESTS): Updated.
1063 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1065 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
1066 * tests/compile2.test: Do no uselessly (implicitly) repeat the
1067 computation of PATH_SEPARATOR again.
1068 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
1069 extending/redefining PATH.
1070 * tests/instmany-python.test: Likewise.
1071 * tests/instmany.test: Likewise.
1072 * tests/man4.test: Likewise.
1073 * tests/mkinst3.test: Likewise.
1074 * tests/mmodely.test: Likewise.
1075 * tests/multlib.test: Likewise.
1076 * tests/txinfo30.test: Likewise.
1077 * tests/README (Section "Writing test cases" subsection "Do"):
1079 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
1080 (syntax_check_rules): Updated.
1082 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
1083 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
1084 ($ACLOCAL, $AUTOMAKE): Use it.
1085 ($PATH_SEPARATOR): New AC_SUBST'd variables.
1088 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1090 Manual: be more agnostic w.r.t. version control system used.
1091 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
1092 directories as a type of probably-unwanted files that are copied
1093 regardless when adding directories to EXTRA_DIST.
1094 (The dist Hook): Show a dist-hook example which removes Subversion
1095 `.svn' private directories from distdir, rather than CVS private
1097 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
1098 the version control system used.
1100 Manual: index refer to target "git-dist", not "cvs-dist".
1101 * doc/automake.texi (General Operation): Index the non-standard
1102 example about "git-dist" under the "git-dist" label, not under
1105 Perl modules: remove references to "Automake CVS repository".
1106 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
1107 git repository" rather than to "Automake's CVS repository".
1108 * lib/Automake/Configure_ac.pm: Likewise.
1109 * lib/Automake/FileUtils.pm: Likewise.
1110 * lib/Automake/Struct.pm: Likewise.
1111 * lib/Automake/XFile.pm: Likewise.
1112 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
1113 branches" rather than "CVS branches".
1115 Remove obsolete .cvsignore files.
1116 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
1117 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
1118 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
1119 savannah's CVS readonly mirror there's no way to commit back to
1120 the real repository, so this files are not worth maintaining or
1123 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1125 * m4/dmalloc.m4: Bump serial number and copyright years.
1127 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1129 Fix broken link in `AM_WITH_DMALLOC' help screen.
1130 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
1131 `http://www.dmalloc.com', not to the dmalloc tarball there (which
1132 seems to have been removed, substituted by multiple release
1135 2010-09-17 Eric Blake <eblake@redhat.com>
1137 Avoid triple-space after period.
1138 * automake.in (handle_single_transform): Avoid 3 spaces at
1140 * ChangeLog.03: Likewise.
1141 * lib/Automake/ChannelDefs.pm: Likewise.
1142 * lib/Automake/Channels.pm (_print_message): Likewise.
1143 * lib/Automake/Rule.pm (rule): Likewise.
1144 * lib/Automake/Variable.pm (var): Likewise.
1145 * lib/am/distdir.am: Likewise.
1146 * tests/insthook.test: Likewise.
1148 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1150 Test automake-generated portions of configure help screen.
1151 * tests/help-depend.test: New test.
1152 * tests/help-depend2.test: Likewise.
1153 * tests/help-dmalloc.test: Likewise.
1154 * tests/help-init.test: Likewise.
1155 * tests/help-lispdir.test: Likewise.
1156 * tests/help-maintainer.test: Likewise.
1157 * tests/help-multilib.test: Likewise.
1158 * tests/help-regex.test: Likewise.
1159 * tests/help-silent.test: Likewise.
1160 * tests/help-upc.test: Likewise.
1161 * tests/mmode.test: Remove tests on `configure --help' output,
1162 they are superseded by tests in `help-maintainer.test'.
1163 * tests/Makefile.am (TESTS): Update.
1165 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1167 * tests/README: Don't put GCS mandated tools in $required.
1169 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1171 * HACKING: Hint at old commits with `git describe' output.
1173 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1175 Fix regression in test `colon4.test'.
1176 * tests/colon4.test: Fix botched editing to `configure.in'
1177 that made the test useless. Since we are at it, improve
1178 comments and make grepping of generated Makefile.in slightly
1180 Regression introduced by change "Modernize, improve and/or
1181 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
1183 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1185 Do not require "gzip" explicitly in tests.
1186 The gzip utility is simply expected to be present on any decent
1187 target system for Automake. So it's pointless to put it in
1189 * tests/install2.test ($required): Do not require "gzip".
1190 * tests/lex3.test: Likewise.
1191 * tests/pr9.test: Likewise.
1192 From a suggestion by Ralf Wildenhues.
1194 Make some `confh*.test' tests more "semantic" (plus tweakings).
1195 * tests/confh.test: Run "autoconf", "configure" and "make check",
1196 instead of munging/grepping the generated `Makefile.in'.
1197 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1198 white spaces. Do not create useless dummy source file `foo.c'
1199 and useless dummy header file `acconfig.h'.
1200 (configure.in): Remove superfluous call to `AC_OUTPUT'.
1201 * tests/confh6.test: Add trailing `:' command.
1202 * tests/confh7.test: In comments, add reference to ...
1203 * tests/confh8.test: ... this new test, "semantic" sister
1205 * tests/Makefile.am (TESTS): Updated.
1206 Prompted by a report from Ralf Wildenhues.
1208 Remove useless whitespace padding in XFAIL_TESTS definition.
1209 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1211 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1213 parallel-tests: avoid command-line length limit issue.
1214 * automake.in (handle_tests): New argument $makefile, new
1215 substitution %MAKEFILE%.
1216 (generate_makefile): Adjust.
1217 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1218 sanitized TEST_LOGS value as makefile snippet on standard
1219 input to $(MAKE), to avoid exceeding the command line limit on
1222 Report by Bob Friesenhahn.
1224 Posix 2008 requires make to set errexit.
1225 * lib/am/check.am: Update comment.
1227 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
1229 Fix bug in test missing6.test.
1230 * tests/missing6.test: Fix the hack used to edit `configure.in',
1231 to avoid producing a configure script that breaks with shells
1232 that do not support $LINENO. Also throw in a couple of cosmetic
1235 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1237 Improve robustness of mdate-sh script.
1238 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1239 $ls_command is word-split properly upon invocation.
1240 (error): New function.
1241 (main): Use it. Improve error checking to avoid endless loop
1242 in case $ls_command gave bogus output. Fix eval quotation.
1243 * tests/mdate6.test: New test, to expose eval quotation error.
1244 * tests/Makefile.am: Update.
1246 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1248 Fix potential regressions in depcomp{3,5}.test.
1249 * tests/depcomp3.test: Do not uselessly escape the character `$'
1250 in makefile rules, when it's used to expand a make macro.
1251 * tests/depcomp5.test: Likewise.
1253 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1254 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1256 Docs: clarify how to avoid automatic dependencies tracking.
1257 * doc/automake.texi (Automatic dependency tracking): Mention that
1258 automatic dependencies tracking is enabled by default, but that
1259 the package developer can disable it altogether. Add a reference
1260 to the proper section for a more in-depth explanation.
1262 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
1263 * doc/automake.texi (Automatic dependency tracking): Fix typo.
1265 2010-08-16 Bruno Haible <bruno@clisp.org>
1267 Don't hide the table of contents.
1268 * doc/automake.texi: Move the table of contents to the beginning.
1270 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1272 Tweak and/or extend some `acloca*.test' tests.
1273 * tests/aclocal8.test: Ensure verbose printing of captured
1275 * tests/aclocal.test: Likewise. Also, add trailing `:'
1277 * tests/acloca19.test: Likewise.
1278 * tests/aclocal5.test: Add trailing `:' command, and prefer
1279 `$me' over hard-coded test name.
1280 * tests/aclocal6.test: Likewise.
1281 * tests/aclocal18.test: Add trailing `:' command, and make
1282 some grepping slightly stricter.
1283 * tests/acloca14.test: Likewise. Also, prefer `diff' over
1284 `cmp', and add some "cosmetic" blank lines.
1286 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1288 Tweak and extend tests `pr[!0-9]*.test'.
1289 * tests/primary3.test: Add trailing `:' command.
1290 * tests/primary.test: Make grepping of Automake's stderr stricter.
1291 Also, add trailing `:' command, and cosmetic changes in spacing.
1292 * tests/primary2.test: Likewise.
1293 * tests/prefix.test: Enable `errexit' shell flags, and related
1294 changes. Add a trailing `:' command.
1295 * tests/proginst.test: Likewise.
1297 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1298 * tests/pr2.test: Add trailing `:' command.
1299 * tests/pr229.test: Likewise.
1300 * tests/pr401.test: Likewise.
1301 * tests/pr401b.test: Likewise.
1302 * tests/pr401c.test: Likewise.
1303 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1305 * tests/pr300-lib.test: Likewise.
1306 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1307 of captured make stdout.
1308 * tests/pr211.test: Add trailing `:' command. Also, use the
1309 `configure.in' stub created by ./defs, rather than writing it
1311 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1312 * tests/pr287.test: Likewise, and move setting of `errexit' shell
1313 flag earlier in the script (just after inclusion of ./defs).
1314 * tests/pr220.test: Make grepping of Automake's stderr stricter.
1315 Also, add trailing `:' command, and cosmetic changes in spacing.
1316 * tests/pr224.test: Move setting of `errexit' shell flag earlier
1317 in the script (just after inclusion of ./defs). Do not export
1318 `CC=gcc' to configure explicitly (it's already exported globally
1319 in ./defs, since we have "gcc" in $required). Use the stub for
1320 `configure.in' created by ./defs, rather than writing it from
1321 scratch. Do not create dummy files required by "gnu" mode (e.g.
1322 README, NEWS), since we run automake in foreign mode anyway.
1323 * tests/pr72.test: Enable `errexit' shell flags, and related
1324 changes. Extend existing checks a bit.
1325 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
1326 the generated `configure.in', and extend existing checks over the
1327 generated tarball a bit.
1328 * tests/pr87.test: Enable `errexit' shell flags, and related
1329 changes. Add a trailing `:' command. Also, do not create dummy
1330 files required by "gnu" mode (e.g. README, NEWS), since we run
1331 automake in foreign mode anyway.
1332 * tests/pr243.test: Avoid obsolescent constructs in the generated
1333 `configure.in'. Enable the `errexit' shell flag, and related
1334 changes. Cosmetic changes to spacing, add trailing `:' command,
1335 and add a "FIXME" comment.
1336 * tests/pr266.test: Likewise, and add explicit command line switch
1337 `--enable-dependecy-tracking' to the ./configure call.
1338 * tests/pr279.test: Avoid obsolescent constructs in the generated
1339 `configure.in'; also, use the `configure.in' stub created by
1340 ./defs, rather than writing it from scratch. Enable `errexit'
1341 shell flag, and related changes. Add trailing `:' command.
1342 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1344 * tests/pr307.test: Move setting of `errexit' shell flag earlier
1345 in the script (just after inclusion of ./defs). Escape literal
1346 dots in grep regular expressions. Also, add a trailing `:'
1347 command, and cosmetic changes to spacing.
1349 Tests for PR: add excerpts from original bug report, for clarity.
1350 * tests/pr2.test: Ditto.
1351 * tests/pr9.test: Likewise.
1352 * tests/pr72.test: Likewise.
1353 * tests/pr87.test: Likewise.
1354 * tests/pr211.test: Likewise.
1355 * tests/pr220.test: Likewise.
1356 * tests/pr224.test: Likewise.
1357 * tests/pr229.test: Likewise.
1358 * tests/pr243.test: Likewise.
1359 * tests/pr266.test: Likewise.
1360 * tests/pr279.test: Likewise, and tell to keep it in sync
1361 with its sister test.
1362 * tests/pr279-2.test: Likewise.
1364 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1366 Tweak, extend and improve tests `cond[a-z]*.test'.
1367 * tests/condd.test: Add trailing `:' command. Typofix in
1369 * tests/condhook.test: Make sure target `install-data-hook' is
1370 not called by `make install', but that data files are installed.
1371 Use proper m4 quoting in configure.in. Add trailing `:' command.
1372 * tests/condhook2.test: New test, sister test of condhook, with
1374 * tests/condinc2.test: Use proper m4 quoting in configure.in.
1375 Prefer trailing `:' command over trailing `Exit 0'.
1376 * tests/condman2.test: Enable errexit shell flag, and related
1377 changes. Add trailing `:' command.
1378 * tests/condman.test: Likewise. Also, do not create useless
1379 dummy manpages, and use proper m4 quoting in configure.in.
1380 * tests/condman3.test: New test, similar to condman.test, but
1381 it also runs ./configure and "make install", and check the
1383 * tests/Makefile.am (TESTS): Updated.
1385 Modernize, improve and/or extend tests `colon*.test.
1386 * tests/colon.test: Rely on the `configure.in' stub created by
1387 `./defs', rather than writing one from scratch. Do not create
1388 a useless dummy file. Add trailing `:' command.
1389 * tests/colon4.test: Enable the `errexit' shell flag, and
1390 related changes. Rely on the `configure.in' stub created by
1391 `./defs', rather than writing one from scratch.
1392 * tests/colon7.test: Enable `errexit' shell flag, and related
1393 changes. Improve the generated `configure.in' file. Add
1394 trailing `:' command.
1395 * tests/colon2.test: Likewise. Also, add some new checks.
1396 * tests/colon5.test: Improve the generated `configure.in' file.
1397 Add new, much deeper checks. Add trailing `:' command.
1398 * tests/colon6.test: Likewise.
1399 * tests/colon3.test: Add trailing `:' command. Remove useless
1400 comments and echos. Improve the generated `configure.in' file.
1401 make some grepping tests stricter. Add a "FIXME" comments about
1402 planned improvements.
1404 Improve and extend tests `asm*.test'.
1405 * tests/asm.test: Use configure.in stub generated by ./defs,
1406 and avoid obsoleted autoconf constructs. Make grepping of
1407 Automake stderr stricter. Do not create useless source file.
1408 Improve verbose messages. Minor cosmetic changes. Tell to
1409 keep it in sync with other sister tests asm*.test.
1410 * tests/asm2.test: Likewise.
1411 * tests/asm3.test: Likewise.
1413 Modernize, improve and/or extend test scripts `conf*.test'.
1414 * tests/confh5.test: Cosmetic changes.
1415 * tests/conff.test: Likewise.
1416 * tests/confdeps.test: Likewise.
1417 * tests/conflnk.test: Likewise.
1418 * tests/conflnk2.test: Likewise.
1419 * tests/confsub.test: Likewise.
1420 * tests/confvar.test: Likewise, and make grepping of Makefile.in
1422 * tests/confvar2.test: Likewise.
1423 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
1424 disabled test (which didn't work with autoconf <= 2.59, but now we
1425 are requiring autoconf 2.62, so...)
1426 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1427 accordingly to "TODO" comments.
1428 * tests/conff2.test: Make grepping of Automake's stderr stricter.
1429 Add some comments explaining why we don't use the `configure.in'
1430 stub preset be ./defs.
1431 * tests/confh.test: Use the `configure.in' stub created by ./defs,
1432 rather than writing one from scratch, and do not call AC_OUTPUT.
1433 Enable `errexit' shell flag, and related changes. Prefer diff over
1434 cmp to compare text files. Prefer perl over sed to fetch the value
1435 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
1436 of $(DIST_COMMON) stricter.
1437 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1438 rather than writing one from scratch. Make grepping of Makefile.in
1440 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
1442 * tests/configure.test: Avoid obsolescent constructs in generated
1443 `configure.ac'. Do not write `configure.in' two times. Escape
1444 literal dots in grep regular expressions.
1445 * tests/confincl.test: Enable `errexit' shell flag, and related
1446 changes. Prefer fgrep over grep. Other cosmetic changes.
1447 * tests/config.test: Renamed to ...
1448 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
1449 and make grepping of `config.h' and `config.h.in' stricter.
1450 * tests/conf2.test: Renamed ...
1451 * tests/confh7.test: ... to this. Use the `configure.in' stub
1452 created by ./defs, rather than writing one from scratch. Try to
1453 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1455 * tests/Makefile.am (TESTS): Updated.
1457 Minor improvements and fixes in tests `depcomp*.test'.
1458 * tests/depcomp.test: Do not create useless dummy source files.
1459 Add a trailing `:' command.
1460 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1461 it's not in in the environment, rather than exporting it with an
1462 empty value. Do not pass CC=gcc to configure, as that's already
1463 done in ./defs since we have gcc in $required. Ensure verbose
1464 printing of captured stderr, and normalize its checking. Add a
1465 trailing `:' command.
1466 * tests/depcomp3.test: Quote literal dots and dollar characters in
1467 grep regexps. Always use `: >' rather than `touch' to create empty
1468 files. Explicitly declare phony targets as such in the created
1469 Makefile.am. Add a trailing `:' command.
1470 * tests/depcomp4.test: Quote literal dots and dollar characters in
1471 grep regexp. Explicitly declare phony targets as such in the
1472 created Makefile.am. Ensure verbose printing of captured makes'
1473 stoud/stderr. Add a trailing `:' command.
1474 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1475 in the script (just after inclusion of ./defs). Quote literal dots
1476 and dollar characters in grep regexps. Explicitly declare phony
1477 targets as such in the created Makefile.am. Add a trailing `:'
1479 * tests/depcomp6.test: Consistently use m4 quoting in the generated
1480 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
1481 statement required by OpenBSD's sh `set -e' more robust, and add
1482 explanatory comments to it.
1483 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
1485 Separate failing part of test `all.test'.
1486 * tests/all.test: Keep only (x)failing part of the test. Working
1487 checks moved out to ...
1488 * tests/all2.test: ... this new test.
1489 * tests/Makefile.am (TESTS): Updated.
1491 Modernize, improve and extend tests `subobj*.test'.
1492 * tests/subobjname.test: Add trailing `:' command.
1493 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1494 Escape literal dots in grep regexps.
1495 * tests/subobj2.test: Add trailing `:' command. Do not use the
1496 unportable fgrep option `-e'.
1497 * tests/subobj3.test: Add trailing `:' command.
1498 (configure.in): Use proper m4 quoting, and avoid obsolescent
1500 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
1501 flag, with related changes
1502 * tests/subobj4.test: Likewise. Also, make grepping of
1503 `Makefile.in' stricter.
1504 * tests/subobj5.test: Add trailing `:' command. Move setting of
1505 `errexit' shell flag earlier in the script (just after inclusion
1507 (configure.in): Use the stub created by `./defs', rather than
1508 writing it from scratch, and avoid obsolescent constructs.
1509 * tests/subobj6.test: Add trailing `:' command. Move setting of
1510 `errexit' shell flag earlier in the script (just after inclusion
1511 of ./defs). Do not create useless dummy ac-init file `f'.
1512 * tests/subobj7.test: Do not create useless dummy ac-init file
1514 (configure.in): Use the stub created by `./defs', rather than
1515 writing it from scratch, and avoid obsolescent constructs.
1516 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1517 in the script (just after inclusion of ./defs). Fail the test if
1518 `make distcheck' fails. Ensure verbose printing of captured make
1519 stdout. Avoid useless fork by doing simple grep instead of using
1520 test -n "`COMMAND | grep ...`".
1521 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1522 (Makefile.am): Explicitly mark target "print" as phony.
1523 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
1524 trailing `:' command.
1525 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1527 Remove a couple of obsoleted tests.
1528 * tests/fpinstall.test: Removed.
1529 * tests/fpinst2.test: Likewise.
1530 * tests/Makefile.am (TESTS): Updated.
1532 Bootstrap: updated HACKING entry.
1533 * HACKING ("Working with git"): Explain how to override the
1534 autoconf and autom4te programs used by the bootstrap process.
1537 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1538 since we don't generate it. Correctly quote arguments of
1539 `eval' builtin. Fixed a botched error message. Removed an
1542 Bootstrap: don't search perl in $PATH.
1543 * bootstrap: Do not explicitly search perl in $PATH anymore.
1544 ($PATH_SEPARATOR): Removed, it's no more needed.
1546 Bootstrap: let the user choose which autoconf to use.
1547 * bootstrap ($AUTOCONF): New variable, from the environment.
1548 ($AUTOM4TE): Likewise, for clarity.
1549 Use "$AUTOCONF" instead of calling "autoconf" directly.
1551 Minor improvements to tests ar*.test.
1552 * tests/ar.test: Add trailing `:' command.
1553 * tests/ar2.test: Likewise, and make grepping of generated
1554 Makefile.in stricter.
1556 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1558 Fix maintainer-check failure.
1559 * tests/cond5.test: Quote sleep argument, this isn't about
1560 time stamp differences.
1562 Sync auxiliary files from upstream.
1563 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1566 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1568 Work around a nasty bug (segfault) of Solaris make.
1569 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1570 from $list, to avoid triggering a nasty bug (potential segfault)
1573 2010-08-06 Peter Rosin <peda@lysator.liu.se>
1575 Make cond5.test more robust on MSYS.
1576 * tests/cond5.test: Add delay before the first kill attempt to
1577 cater for problems with MSYS bash.
1579 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1581 Add example git work flow; discuss merge --log in HACKING.
1583 Suggestion by Stefano Lattarini.
1585 Add more hints for debugging make rules.
1586 * doc/automake.texi (Debugging Make Rules): Show command to find
1587 out expanded values of variables; point to makefile debugger.
1589 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1591 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1593 Fix typo in the manual.
1594 * doc/automake.texi (Scripts): Fix typo.
1596 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1598 Document current policy for development with git.
1599 * HACKING (Working with git): Overhaul.
1600 Prompted by suggestion from Stefano Lattarini.
1602 Fix AM_COND_IF for gone-invalid condition shell expression.
1603 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1604 variable, rather than re-evaluating the shell expression for
1606 * tests/cond40.test: Extend test.
1609 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1610 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1611 to avoid shell syntax error if the m4 expansion is empty.
1612 * tests/cond40.test: Enhance test.
1614 Coverage: bogus option to AM_INIT_AUTOMAKE.
1615 * tests/init2.test: New test.
1616 * tests/Makefile.am: Update.
1618 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1620 Modernize and improve test scripts `subdir*.test'.
1621 * tests/subdir.test: Enable `errexit' shell flag, and related
1622 changes. Use the `configure.in' stub created by `./defs',
1623 rather than writing one from scratch.
1624 * tests/subdir2.test: Likewise.
1625 * tests/subdir4.test: Likewise.
1626 * tests/subdir3.test: Enable `errexit' shell flag, and related
1627 changes. Do not create useless dummy source files.
1628 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1629 and in subdirs) stricter. Some minor changes to keep it more
1630 in sync with the related test `subdir8.test'.
1631 * tests/subdir8.test: Likewise (but with the related test being
1632 `subdir5.test' here).
1633 * tests/subdir6.test: Cosmetic change in spacing.
1634 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1635 trailing `:' command.
1636 * tests/subdir10.test: Cosmetic consistency-related change.
1637 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1638 (configure.in): Use stub created by `./defs', rather than writing
1639 it from scratch. Do not use obsoleted and/or deprecated forms of
1640 autoconf/automake macros.
1642 Modernize and improve test scripts `dist*.test'.
1643 * tests/distcleancheck.test: Do not add useless `-e' option to
1644 a $MAKE call. Extend test by grepping stderr of make.
1645 * tests/distcom2.test: Do not run the same test script on the
1646 Makefile.in twice, but save its output in an intermediate file
1647 instead. Make grepping of DIST_COMMON definition stricter.
1648 Display the content of more files, to ease debugging. Add a
1649 trailing `:' command. Improved heading comments w.r.t. sister
1651 * tests/distcom6.test: Likewise, and avoid to uselessly run
1653 * tests/distcom3.test: Ensure verbose printing of captured stdout
1654 and stderr. Make grepping of captured stderr stricter. Also,
1655 add trailing `:' command.
1656 * tests/distcom4.test: Declare the target `test' in the generated
1657 Makefile.am as `.PHONY'. Display content of more files, to ease
1658 debugging. Add trailing `:' command.
1659 * tests/distcom5.test: Likewise. Also, factor out common sed
1660 script in subroutine `extract_distcommon'.
1661 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1662 test Makefile.am files. Add a trailing `:' command.
1663 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1664 call to `set -e' earlier. Be stricter and more verbose in the
1665 checking of the generated tarball.
1666 (configure.in): Use the stub provided by ./defs, instead of
1667 writing it from scratch. Avoid obsoleted constructs. Remove
1668 useless call to `AM_PROG_CC_C_O'.
1669 * tests/distdir.test: Various minor improvements/normalizations.
1670 * tests/distlinks.test: Likewise.
1672 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1674 Improve and extend test cond5.test.
1675 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1676 the background automake process, but poll it every 10 seconds for
1677 at most 30 times (this makes the test both faster on good machines,
1678 and more resilient to spurious timeout-due failures when in low
1679 priority or on heavily-loaded systems).
1680 Check also that automake writes the expected error messages on the
1682 Enable `errexit' flag, and related changes.
1683 Rely on the `configure.in' stub created by `./defs', rather than
1684 writing one from scratch.
1686 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1688 Update program --help output to match current GCS.
1689 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1690 is not defined, for compatibility to Autoconf < 2.64.
1691 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1693 (sc_diff_automake_in_automake): Update number of diff lines for
1694 additional substitutions.
1695 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1696 home page and GNU general help page.
1697 * automake.in (usage): Likewise.
1698 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1700 (Introduction, Creating amhello, amhello Explained, Options):
1702 * lib/Automake/Makefile.am (do_subst): Substitute
1704 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1705 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1708 Clean up @var handling in the manual.
1709 * doc/automake.texi: Throughout the manual, lower-case @var
1710 names, replace a few one-character names.
1712 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1714 Fix typo-related bug in test script silent5.test.
1715 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1718 Tests: remove useless repetitions of `foreign' automake option.
1719 * tests/multlib.test (configure.in): Remove useless use of
1720 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1721 already in $AUTOMAKE by default, so no point in repeating it).
1722 * tests/subobj10.test: Likewise.
1723 * tests/subobj9.test: Likewise.
1724 * tests/lex3.test (Makefile.am): Similarly, remove useless use
1725 of `foreign' option in AUTOMAKE_OPTIONS.
1726 * tests/lex5.test: Likewise.
1727 * tests/pr279.test: Likewise.
1728 * tests/pr279-2.test: Likewise.
1729 * tests/specflg3.test: Likewise.
1730 * tests/target-cflags.test: Likewise.
1732 Drop useless requirement "gzip" in lex5.test.
1733 * tests/lex5.test ($required): Do not list "gzip", as it's
1736 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1738 Fix bugs in test script silent5.test.
1739 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1740 instead of egrep) that could have led to false negatives.
1742 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1744 Add a test checking that distributed broken symlinks cause
1745 `make dist' to fail.
1746 * tests/distlinksbrk.test: New test.
1747 * tests/Makefile.am (TESTS): Updated.
1749 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1751 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1752 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1753 and AM_LFLAGS, LFLAGS in the order in which they now appear in
1756 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1757 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1758 please maintainer-check. Ensure generated C files contain a
1759 declaration, to please compilers.
1761 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1763 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1764 $(FLAGS) precedence.
1765 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1766 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1767 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1768 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1771 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1772 $(AM_FLAGS) and $(FLAGS) precedence.
1773 * tests/lflags.test: New test, check that user $(LFLAGS) takes
1774 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
1776 * tests/lflags2.test: Likewise.
1777 * tests/yflags.test: New test, check that user $(YFLAGS) takes
1778 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
1780 * tests/yflags2.test: Likewise.
1781 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1783 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1785 Modernize, improve and extend tests `suffix*.test'.
1786 * tests/suffix3.test: Enable `errexit' shell flag, and related
1788 * tests/suffix4.test: Likewise.
1789 * tests/suffix6.test: Likewise, and do not create a useless dummy
1791 * tests/suffix7.test: Likewise.
1792 * tests/suffix5.test: Enable `errexit' shell flag, and related
1793 changes. Make grepping of Makefile.in slightly stricter.
1794 * tests/suffix.test: Enable `errexit' shell flag, and related
1795 changes. Also, do not redirect grep output to /dev/null, as this
1796 might unmotivatedly hide useful information.
1797 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1798 in the script (just after inclusion of ./defs). Use a more
1799 idiomatic way to count text occurrences in Makefile.in with
1800 grep. Do not create useless dummy source files.
1801 * tests/suffix10.test: Ensure verbose printing of captured make
1802 stdout. Minor cosmetic changes.
1803 * tests/suffix8.test: Likewise. Also, drop useless call to the
1804 env(1) utility, and make grepping of make output stricter by using
1805 $FGREP rather than plain grep.
1806 * tests/suffix11.test: Likewise.
1807 * tests/suffix12.test: Likewise.
1808 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1809 the `configure.in' stub. Cosmetic changes.
1810 * tests/suffix13.test: Cosmetic spacing change.
1812 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1814 Add useful comment in test script ext.test.
1815 * tests/ext.test: Add a comment explaining why an apparently
1816 useless `if' statement is indeed required.
1818 Add useful comment in test script obsolete.test.
1819 * tests/obsolete.test: Add a comment explaining why we need
1820 an indirection in adding $AUTOUPDATE to $required.
1822 Normalize whitespaces in 'tests/Makefile.am'.
1823 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1824 definition of this variable.
1826 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1828 Remove a couple of unneeded conditionals from tests.
1829 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1830 for the FOOTEST conditional.
1832 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1834 Modernize, improve and/or fix various test scripts.
1835 * tests/symlink3.test: Deleted, separated into two new, more
1837 * tests/forcemiss.test: ... this one ...
1838 * tests/forcemiss2.test: ... and this one.
1839 * tests/symlink2.test: Enable `errexit' shell flag, make test
1840 stricter, and skip it if symlink creation is not supported.
1841 * tests/postproc.test: Enable `errexit' shell flag, related
1842 changes, and a couple of unrelated cosmetic changes.
1843 * tests/recurs.test: Use the `configure.in' stub created by
1844 `./defs', rather than writing one from scratch. Make grepping
1845 of Automake stderr slightly stricter.
1846 * tests/substtarg.test: Likewise.
1847 * tests/strip.test: Likewise, and move the call to `set -e'
1848 earlier (just after the inclusion of `./defs'). Also, make sure
1849 that the script installed by `make install-script' is equal to
1851 * tests/substref.test: Use the `configure.in' stub created by
1852 `./defs', rather than writing one from scratch. Move the call
1853 to `set -e' earlier (just after the inclusion of `./defs').
1854 Avoid to explicitly export CC for configure (that's already done
1855 in ./defs). Avoid potential problems with unpredictable make
1856 output. Finally, make grepping of Makefile.in stricter.
1857 * tests/substre2.test: Ensure verbose printing of the captured
1858 make's output, and make its grepping slightly stricter.
1859 * tests/cygwin32.test: Enable `errexit' shell flag, and related
1860 changes. Also, do not create useless dummy source/data files.
1861 * tests/scripts.test: Likewise.
1862 * tests/recurs2.test: Likewise. Also, use the `configure.in'
1863 stub created by `./defs'.
1864 * tests/Makefile.am (TESTS): Updated.
1866 Modernize, improve and/or fix tests `pluseq*.test.
1867 * tests/pluseq5.test: Append to configure.in using cat with an
1868 here-doc, not using echo.
1869 * tests/pluseq10.test: Make sure that the captured output of
1870 `make' command is always displayed. Where possible, use $FGREP
1871 instead of grep (this change makes some checks slightly stricter).
1872 * tests/pluseq8.test: Enable `errexit' shell flag, with related
1874 * tests/pluseq.test: Likewise. Also, do not create useless dummy
1875 data files, and use better m4 quoting in generated configure.in.
1876 * tests/pluseq2.test: Likewise. Also, append to configure.in
1877 using cat with an here-doc, not using echo.
1878 * tests/pluseq3.test: Likewise.
1879 * tests/pluseq4.test: Likewise.
1880 * tests/pluseq6.test: Likewise.
1881 * tests/pluseq7.test: Do not create useless dummy source file.
1882 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1883 Automake stderr. Some unrelated cosmetic changes.
1885 Testsuite: ensure verbose printing of captured stderr.
1886 * tests/acloca18.test: Print captured stderr before either failing
1887 or grepping it. Be sure to send captured stderr to stderr, not to
1889 * tests/ansi3b.test: Likewise.
1890 * tests/cond39.test: Likewise.
1891 * tests/configure.test: Likewise.
1892 * tests/missing3.test: Likewise.
1893 * tests/missing6.test: Likewise.
1894 * tests/output-order.test: Likewise.
1895 * tests/pr300-ltlib.test: Likewise.
1896 * tests/python6.test: Likewise.
1897 * tests/python7.test: Likewise.
1898 * tests/python8.test: Likewise.
1899 * tests/python9.test: Likewise.
1900 * tests/subobj.test: Likewise.
1901 * tests/vars3.test: Likewise.
1902 * tests/missing4.test: Likewise, and fix a call to grep not to use
1904 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1905 created by `./defs', rather than writing one from scratch.
1907 Enable `errexit' shell flag in various tests.
1908 * tests/backsl.test: Enable the `errexit' shell flag, and
1910 * tests/backsl2.test: Likewise.
1911 * tests/block.test: Likewise.
1912 * tests/canon2.test: Likewise.
1913 * tests/canon4.test: Likewise.
1914 * tests/comment2.test: Likewise.
1915 * tests/condlib.test: Likewise.
1916 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1917 * tests/canon3.test: Likewise. Also, avoid to create an useless
1919 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1920 related changes. Do some cosmetic improvements in the generated
1921 `configure.in' file.
1922 * tests/cond4.test: Likewise.
1923 * tests/cond14.test: Likewise.
1924 * tests/condinc.test: Likewise.
1925 * tests/cond7.test: Likewise. Also, remove useless setting of
1926 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1927 * tests/ansi.test: Enable the `errexit' shell flag, and related
1928 changes. Extended, esp. by running autoconf, ./configure and
1929 make, and by looking into the distdir.
1931 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1932 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1934 Extend tests/README w.r.t. trailing `:' in test scripts.
1935 * tests/README (section "Writing test cases" subsection "Do"):
1936 Explain why apparently redundant trailing `:' and `Exit 0' in
1937 test scripts can indeed be useful.
1939 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1941 Improve determination of PATH separator in bootstrap script.
1942 * bootstrap: Determine what the PATH separator is the same way
1945 Minor improvements in bootstrap script.
1946 * bootstrap: Consistently use two-spaces indentation. Cosmetic
1947 improvement to comments.
1948 ($me): New variable, containing program basename.
1949 Prepend it to all error messages.
1951 Testsuite now works with BSD make in parallel mode.
1952 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1953 which are exported by BSD make when run in parallel mode, and
1954 which can confuse make processes spawned by our testsuite.
1955 This change fixes a lot of spurious failure when the testsuite
1956 is run with BSD make in parallel mode.
1958 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1960 Modernize, improve and/or fix various test scripts.
1961 * tests/sanity.test: Rely on the `configure.in' stub created by
1962 `./defs', rather than writing one from scratch.
1963 * tests/depend2.test: Likewise. Also, call `set -e' just after
1964 the inclusion of `./defs', instead that later in the script.
1965 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1966 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1967 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1968 Make auxiliary rules in the generated Makefile more silent.
1969 These changes make some checks slightly stricter.
1970 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1971 * tests/gettext2.test: Place final `:' at the end of the script,
1972 rather than in the middle.
1973 * tests/exeext.test: Call `set -e' just after the inclusion of
1974 `./defs', instead that later in the script.
1975 * tests/extra5.test: Likewise.
1976 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
1977 plain `mv', just to be sure.
1978 * tests/depcomp.test: Enable `errexit' shell flag, with related
1979 changes. Also, modernize the generated configure.in.
1980 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
1981 stub created by `./defs', rather than writing one from scratch.
1982 * tests/cond10.test: Likewise.
1983 * tests/depcomp2.test: Likewise.
1984 * tests/depend3.test: Likewise.
1985 * tests/distcom7.test: Likewise.
1986 * tests/fortdep.test: Likewise. Also, remove definition of
1987 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1988 since that flag is already provided by $AUTOMAKE.
1989 * tests/mdate.test: Made stricter, by checking that Automake
1990 actually failed, and by making a stricter grep on the error
1991 message. Also, set shell `errexit flag'.
1992 * tests/python2.test: Improved verbose messages.
1994 Make test `ammissing.test' stricter.
1995 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1996 Enable `errexit' shell flag.
1998 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2000 Enable `errexit' shell flag in some test scripts.
2001 * tests/subcond.test: Enabled `errexit' shell flag, and related
2003 * tests/subst.test: Likewise.
2004 * tests/vars.test: Likewise.
2005 * tests/version4.test: Likewise.
2006 * tests/vpath.test: Likewise.
2007 * tests/vtexi2.test: Likewise.
2008 * tests/werror.test: Likewise.
2009 * tests/whoami.test: Likewise.
2010 * tests/tags.test: Likewise, and avoid to crate an useless dummy
2012 * tests/acsilent.test: Likewise, and don't use an easily-avoided
2013 command substitution.
2014 * tests/unused.test: Likewise, and don't use an easily-avoided
2015 command substitution.
2016 * tests/version.test: Likewise, and avoid deprecated constructs
2017 in the generated `configure.in'.
2018 * tests/version2.test: Likewise, and avoid deprecated constructs
2019 in the generated `configure.in'.
2021 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2023 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
2024 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
2025 the verbose log contains all output.
2026 * tests/mdate.test: Likewise.
2027 Prompted by Stefano Lattarini's change to discover.test.
2029 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2031 Improve tests link*.test (enable `errexit' shell flag).
2032 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
2033 changes. Also, do not create useless source files.
2034 * tests/link_dist.test: Likewise.
2035 * tests/link_f90_only.test: Likewise.
2036 * tests/link_f_only.test: Likewise.
2037 * tests/link_fc.test: Likewise.
2038 * tests/link_fccxx.test: Likewise.
2039 * tests/link_fcxx.test: Likewise.
2041 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2043 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
2044 * tests/ext.test: Inside shell compound command, use
2045 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
2046 fix failure with OpenBSD sh introduced with last patch.
2047 Actually ensure that a rule for .EXT.o is created for each
2048 known extension EXT.
2050 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2052 Enable `errexit' shell flag in some test scripts.
2053 * tests/dash.test: Enable `errexit' shell flag, and related
2055 * tests/defun.test: Likewise.
2056 * tests/defun2.test: Likewise.
2057 * tests/dejagnu.test: Likewise.
2058 * tests/double.test: Likewise.
2059 * tests/distcom2.test: Likewise.
2060 * tests/empty2.test: Likewise.
2061 * tests/empty3.test: Likewise.
2062 * tests/empty4.test: Likewise.
2063 * tests/exdir.test: Likewise.
2064 * tests/ext.test: Likewise.
2065 * tests/extra.test: Likewise.
2066 * tests/extra2.test: Likewise.
2067 * tests/extra3.test: Likewise.
2068 * tests/extra4.test: Likewise.
2069 * tests/flibs.test: Likewise.
2070 * tests/fnoc.test: Likewise.
2071 * tests/fo.test: Likewise.
2072 * tests/instexec.test: Likewise.
2073 * tests/ltdeps.test: Likewise.
2074 * tests/nodep.test: Likewise.
2075 * tests/nodepcomp.test: Likewise.
2076 * tests/f90only.test: Likewise, and remove botched/obsoleted
2077 comments and unnecessary commands.
2078 * tests/fonly.test: Likewise, and remove botched/obsoleted
2079 comments and unnecessary commands.
2080 * tests/discover.test: Likewise, and made stricter.
2082 Enable `errexit' shell flag in all tests cxx*.test.
2083 * tests/cxx.test: Enabled `errexit' shell flag, and related
2085 * tests/cxxansi.test: Likewise.
2086 * tests/cxxcpp.test: Likewise.
2087 * tests/cxxlibobj.test: Likewise.
2088 * tests/cxxlink.test: Likewise.
2089 * tests/cxxo.test: Likewise.
2091 Enable `errexit' shell flag in various tests.
2092 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
2094 * tests/acoutpt.test: Likewise.
2095 * tests/acoutqnl.test: Likewise.
2096 * tests/amassign.test: Likewise.
2097 * tests/ansi2.test: Likewise.
2098 * tests/ansi4.test: Likewise.
2099 * tests/badprog.test: Likewise.
2100 * tests/checkall.test: Likewise.
2101 * tests/clean.test: Likewise.
2102 * tests/colneq2.test: Likewise.
2103 * tests/colon.test: Likewise.
2104 * tests/colon5.test: Likewise.
2105 * tests/colon6.test: Likewise.
2106 * tests/comment.test: Likewise.
2107 * tests/compile_f90_c_cxx.test: Likewise.
2108 * tests/compile_f_c_cxx.test: Likewise.
2109 * tests/cond3.test: Likewise.
2110 * tests/cond6.test: Likewise.
2111 * tests/cond13.test: Likewise.
2112 * tests/conf2.test: Likewise.
2113 * tests/confvar.test: Likewise.
2114 * tests/confvar2.test: Likewise.
2115 * tests/cond8.test: Likewise, plus a cosmetic change.
2116 * tests/confh4.test: Likewise. Also, add in the heading comments
2117 an excerpt from the original bug report which motivated the
2118 creation of this test, to make its purpose clearer.
2120 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2122 Rewrite manual to be gender-neutral.
2123 * doc/automake.texi (GNU Build System)
2124 (Standard Directory Variables, General Operation, CVS)
2125 (Hard-Coded Install Paths, Dependencies As Side Effects):
2126 Rewrite text to not contain gender-specific pronouns when
2127 speaking about developers or users, either by avoiding pronouns
2128 or by addressing them as `you' instead.
2130 Report by Christina Gratorp.
2134 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2136 Make tests on user extensibility of silent-rules mode stricter.
2137 * tests/silent6.test: Made stricter w.r.t. the grepping of the
2138 output produced by `make'.
2139 * tests/silent7.test: Likewise.
2141 Tests on silent-mode for C/Libtool made stricter.
2142 * tests/silent.test: Made stricter w.r.t. the grepping of the
2143 output produced by `make'.
2144 * tests/silent2.test: Likewise.
2145 * tests/silent4.test: Likewise.
2146 * tests/silent9.test: Likewise.
2147 * tests/silent3.test: Likewise, and add a final `make distclean'
2148 command to keep it better in sync with tests/silent{4,9}.test.
2150 Improved test silent5.test.
2151 * tests/silent5.test: Remove by hand all generated C files after
2152 non-verbose builds, to ensure the following builds are clean.
2153 Try to clean and rebuild with the same verbosity and without
2154 removing generated sources in between, to check that this does
2155 not trigger a different set of rules. Make grepping of make's
2156 output stricter. Improved/added some comments.
2158 New tests for Automake silent-mode with Fortran.
2159 * tests/silentf77.test: New test.
2160 * tests/silentf90.test: Likewise.
2161 * tests/Makefile.am (TESTS): Updated accordingly.
2163 New test `silentcxx.test' (Automake silent-mode with C++).
2164 * tests/silentcxx.test: New test.
2165 * tests/Makefile.am (TESTS): Updated accordingly.
2167 New test `silentyacc.test' (Automake silent-mode with Yacc).
2168 * tests/silentyacc.test: New test.
2169 * tests/Makefile.am (TESTS): Updated accordingly.
2171 New test `silentlex.test' (Automake silent-mode with Lex).
2172 * tests/silentlex.test: New test.
2173 * tests/Makefile.am (TESTS): Updated accordingly.
2175 Relax tests on silent-rules to cater to overly verbose makes.
2176 * tests/silent.test: When testing silent builds, don't fail if
2177 make's output simply contains the `mv' substring, but only if
2178 it contains the `mv ' substring (note the trailing space).
2179 * tests/silent2.test: Likewise.
2180 * tests/silent3.test: Likewise.
2181 * tests/silent4.test: Likewise.
2182 * tests/silent5.test: Likewise.
2183 * tests/silent9.test: Likewise.
2185 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2187 Fix silent-rules output for disabled dependency tracking.
2188 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2189 expansion code to also work in the case where %AMDEP% expands
2190 to FALSE at config.status time, using new substitution string
2192 * automake.in (verbose_nodep_flag): New function, appending
2193 `@am__nodep@' to the verbose-variable name.
2194 (handle_languages): If dependencies are not disabled, use it to
2195 set %VERBOSE-NODEP%.
2196 * m4/depend.m4: Substitute am__nodep as '_no', so the second
2197 verbose-variable will always expand to an empty string, if
2198 dependencies are enabled.
2199 * tests/silent5.test: Also test --disable-dependency-tracking;
2200 also test per-target flags for non-C language files.
2201 * tests/silent9.test: New test, like silent4.test but disable
2202 dependency tracking.
2203 * tests/Makefile.am: Adjust.
2204 * NEWS, THANKS: Update.
2205 Report by Dmitry V. Levin <ldv@altlinux.org>.
2207 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2209 Extend test on `nostdinc' automake option.
2210 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
2211 unrelated minor changes. Make the grepping of the generated
2212 Makefile.in slightly stricter. Generate and run configure, so that
2213 the generated Makefile can be grepped too.
2215 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2217 Make gnupload portable to EBCDIC hosts.
2218 * lib/gnupload: Use literal newline as argument for 'tr' rather
2219 than \015, for EBCDIC hosts. Also, avoid unportable nested
2220 double-quotes and backquotes.
2222 Report from Eric Blake and Steve Goetze via gnulib.
2224 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2226 Fix Autoconf version required by Automake's configure.
2227 Automake configure script used to tell that automake required
2228 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2229 and if that was not found, it gave an error saying that Automake
2230 required configure 2.61a-341 or later. This change should
2231 eliminate such inconsistencies.
2232 * configure.ac ($required_autoconf_version): New variable.
2235 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2237 Fix unportable sed script in maintainer-check test.
2238 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2239 not contain semicolon after 'b' or brace commands, for NetBSD.
2241 Wildcards are not portable to NetBSD make.
2242 * doc/automake.texi (Wildcards): Document portability issue.
2243 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2246 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2248 Make test for configure.in vs. configure.ac stricter.
2249 * tests/configure.test: Use a configure.in file that provokes
2250 an automake error, to ensure configure.ac is preferred.
2252 Avoid possible false negatives in dejagnu7.test.
2253 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
2254 unportable use of fgrep option `-e'.
2256 Fix conflnk3.test to work with Solaris/Heirloom Sh.
2257 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
2258 instead of respectively `test -e FILE' and `test ! -e FILE',
2259 since Solaris Sh doesn't grok the latter. Do not SKIP the test
2260 if the shell doesn't support `test -e'.
2262 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2265 * doc/automake.texi (Simple Tests using parallel-tests): Add
2266 missing closing parenthesis.
2268 Fix leftover call to removed function macros_dump.
2269 * automake.in (read_main_am_file): Call variables_dump, not
2270 macros_dump. Print actual error before list of variables.
2272 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
2274 Minor improvements in comments of test `silent3.test'.
2275 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
2278 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2280 testsuite: ensure verbose printing of captured output.
2281 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
2282 tests/fort2.test, tests/help.test, tests/missing3.test,
2283 tests/missing6.test: Print captured stdout or stderr before
2286 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2288 Make test badopt.test stricter (by enabling `set -e').
2289 * tests/badopt.test: Add call to `set -e'. Due to this change,
2290 an unexpected failure in the call to `$ACLOCAL' (whose outcome
2291 was previously unchecked) would cause the whole test to fail.
2292 Also, bumped the copyright years.
2294 Make test for configure.in vs. configure.ac stricter.
2295 * tests/configure.test: Use a configure.in file that provokes
2296 an automake error, to ensure configure.ac is preferred.
2298 Use `set -e' in confsub.test (avoids possible false negatives).
2299 * tests/confsub.test: Enable shell `errexit' flag, and related
2300 changes (this helps avoiding some possible minor false negatives).
2301 Also, bumped copyright years.
2303 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2305 Fix -Werror handling for presence of configure.in and configure.ac.
2306 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2307 $configure_ac at the global level, before command-line arguments
2309 (require_variables): Initialize it here.
2310 * tests/configure.test: New test.
2311 * tests/Makefile.am: Update.
2312 Report by Stefano Lattarini.
2314 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2316 Avoid possible false negatives in confh5.test.
2317 * tests/confh5.test: Enable shell `errexit' flag, and bumped
2318 copyright years. Due to this change, any unexpected failure
2319 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2320 a failure in grepping expected text in output files should now
2321 cause the whole test to fail.
2323 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2325 Fixed typo in POD documentation of Automake::Channels.
2326 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2327 @<...> was used instead of C<...>.
2329 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2331 Refactor tests on Automake TESTS color output.
2332 * tests/color.test: Tests using the expect program moved out to...
2333 * tests/color2.test: ... this new file.
2334 * tests/Makefile.am (TESTS): Extended accordingly.
2336 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2338 Fix typos in comments in test confh5.test
2339 * tests/confh5.test: Fix a couple of typos in comments.
2341 Avoid possible false negatives in canon-name.test.
2342 * tests/canon-name.test: Enable shell `errexit' flag. Improve
2345 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2347 Fix per-Makefile.am setting of -Werror.
2348 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2349 Makefile.am would carry over to other Makefile.am files
2350 treated afterwards by the same thread, causing inconsistent
2351 and unstable exit status values.
2352 * lib/Automake/Channels.pm (dup_channel_setup)
2353 (drop_channel_setup): Save and restore the setting of
2354 $warnings_are_errors.
2355 * tests/werror3.test: New test.
2356 * tests/Makefile.am: Adjust.
2359 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2361 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2362 * tests/confh5.test: In the generated Makefile.am: do not use
2363 `test ! -e FILE' to check for the non-existence of a file, since
2364 that is not supported by Solaris/Heirloom Sh.
2366 Make test `aclocal3.test' stricter.
2367 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
2368 succeds unexpectedly.
2370 Add tests checking that symlinks are resolved by `make dist'.
2371 * tests/distlinks.test: New test.
2372 * tests/Makefile.am (TESTS): Updated accordingly.
2373 Suggested by observations from Ralf Wildenhues.
2375 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2377 Use -9 for maximum xz compression with dist-xz.
2378 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2379 * NEWS, THANKS: Update.
2380 Report by Pavel Sanda.
2382 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
2384 Avoid an unportable use of `$status' shell variable.
2385 * Makefile.am (path-check): Don't use the `$status' shell variable
2386 in the target's rules, as it's special in Zsh (equivalent to `$?',
2389 Avoid another use of `chmod -R'.
2390 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2391 $(distdir) before removing it (as Solaris `chmod -R' touches
2392 symlink targets). Instead, use the cleanup strategy used in
2395 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2397 Remove uses of @acronym and @sc.
2398 * doc/automake.texi (Public Macros, Limitations on File Names):
2399 Remove all usage of @acronym and @sc in the manual.
2400 Suggested by Karl Berry.
2402 2010-03-13 Karl Berry <karl@freefriends.org>
2404 GNU hello uses fdl.texi, not gpl.texi.
2405 * doc/automake.texi (Texinfo): Adjust example to upstream
2408 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2410 Formatting cleanups in macro comments.
2411 * automake.in, lib/Automake/Channels.pm,
2412 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2413 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2414 m4/options.m4, m4/substnot.m4: Fix macro comment format.
2416 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2417 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2419 Avoid generation of `tests/defs-p' file.
2420 * tests/defs.in: In the generated `configure.in' snippet: call
2421 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2422 variable `parallel_tests' is set to `yes'.
2423 * tests/Makefile.am (defs-p): Target removed.
2424 (check_SCRIPTS): Removed `defs-p'.
2425 (clean-local-check): Do not unlink `defs-p' anymore.
2426 ($(parallel_tests)): Transformation rules for the test scripts
2428 * tests/gen-parallel-tests: Selection rules for the test
2430 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2431 then include `./defs' (rather than simply including `./defs-p').
2432 * tests/parallel-tests2.test: Likewise.
2433 * tests/parallel-tests3.test: Likewise.
2434 * tests/parallel-tests4.test: Likewise.
2435 * tests/parallel-tests5.test: Likewise.
2436 * tests/parallel-tests6.test: Likewise.
2437 * tests/parallel-tests7.test: Likewise.
2438 * tests/parallel-tests8.test: Likewise.
2439 * tests/parallel-tests9.test: Likewise.
2440 * tests/parallel-tests10.test: Likewise.
2441 * tests/README (Section "Writing Test Cases" subsection "Do"):
2442 Adjusted the parts referring to tests checking `parallel-tests'
2443 behaviour. Some other minor related improvements.
2444 * tests/.gitignore (defs-p): Removed.
2446 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2448 Remove redundant unset of variable TESTS from some test scripts.
2449 * tests/color.test: Do not unset the `TESTS' variable, as it's
2450 already unset in the `defs' file.
2451 * tests/check5.test: Likewise.
2452 * tests/check8.test: Likewise.
2453 * tests/check9.test: Likewise.
2454 * tests/check10.test: Likewise.
2455 * tests/check11.test: Likewise.
2456 * tests/parallel-tests.test: Likewise.
2457 * tests/parallel-tests3.test: Likewise.
2458 * tests/parallel-tests4.test: Likewise.
2459 * tests/parallel-tests5.test: Likewise.
2460 * tests/parallel-tests6.test: Likewise.
2461 * tests/parallel-tests7.test: Likewise.
2463 2010-02-22 Karl Berry <karl@gnu.org>
2465 Improve help message of mdate-sh.
2466 * mdate-sh: mention actual output format in help message.
2468 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2470 Deprecate dist-lzma in favor of dist-xz.
2471 * doc/automake.texi (The Types of Distributions, Options):
2472 Adjust text to reflect renaming of lzma to xz.
2474 Missing deprecation noted by Antonio Diaz Diaz.
2476 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2478 Add tests about support of wildcards in EXTRA_DIST.
2479 * tests/extra10.test: New test, check basic support of wildcards
2481 * tests/extra11.test: New test, check more complex usage of
2482 wildcards in EXTRA_DIST.
2483 * tests/extra12.test: New test, check usage of wildcards in
2484 EXTRA_DIST when $builddir != $srcdir.
2485 * tests/Makefile.am (TESTS): Updated accordingly.
2486 Necessity of these new tests suggested by Braden McDaniel
2487 and Ralf Wildenhues.
2489 2010-02-08 Simon Josefsson <simon@josefsson.org>
2491 Fix copyright statement in gnupload script.
2492 * lib/gnupload: Fix copyright statement.
2494 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
2495 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2497 Fix exit status of signal handlers in shell scripts.
2498 The value of `$?' on entrance to signal handlers in shell scripts
2499 cannot be relied upon, so set the exit code explicitly to
2501 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2502 * lib/elisp-comp: Likewise.
2503 * lib/install-sh: Likewise.
2504 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
2505 * NEWS, THANKS: Update.
2506 Bug report, analysis, and initial patch by Dmitry V. Levin.
2508 2010-02-06 Karl Berry <karl@gnu.org>
2510 Improve gnupload usage text.
2511 * gnupload (usage): Shorten to make more likely to fit on a tty
2512 line. Mention CMD in the synopsis. With ..., plural is implied.
2514 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
2516 Fix some typos in the manual
2517 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2519 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2521 Slighty improve tests acoutbs.test and acoutbs2.test.
2522 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
2523 autoconf and configure work, that the file `zot' is created by
2524 configure, and that no file containing a backslash in its name is
2526 * tests/acoutbs.test: Likewise, plus updated copyright years.
2528 Fix test acoutbs2.test.
2529 * tests/acoutbs2: In the generated configure.in: add proper calls
2530 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2531 PACKAGE and VERSION. Add a call to aclocal before calling automake.
2532 Updated copyright years.
2533 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2535 Add forgotten test scripts to $(TESTS).
2536 * tests/Makefile.am (TESTS): Added test scripts present on the
2537 filesystem, which were erroneously left out from $(TESTS):
2538 acoutbs2.test, badopt.test, extra2.test.
2539 (XFAIL_TESTS): Added acoutbs2.test.
2541 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2543 Sync auxiliary files from upstream.
2544 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2547 Bump copyright years.
2548 * aclocal.in (write_aclocal, version): Bump copyright years.
2549 * automake.in (gen_copyright, version): Likewise.
2550 * doc/automake.texi: Likewise.
2553 * ChangeLog.09: New file, rotated from ...
2554 * ChangeLog: ... here.
2555 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2559 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
2561 Copying and distribution of this file, with or without modification, are
2562 permitted provided the copyright notice and this notice are preserved.