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