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