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