1 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
3 build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
4 Our build system allows the user to override AUTOCONF and AUTOHEADER
5 at configure time, and honours these overrides in our testsuite.
6 But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
7 This change fixes that inconsistency.
8 * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
9 AC_SUBSTitutions. Update comments.
10 * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
11 ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
12 ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
13 * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
15 2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 Stefano Lattarini <stefano.lattarini@gmail.com>
18 tests/README: fix example about `make -e' usage
19 * tests/README (Section "Writing test cases" subsection "Do"): When
20 some variable is never initialized in the Makefile, `-e' is not
21 necessary in order to override it. DESTDIR is such a variable: we
22 ensure that we do not ever initialize it. And as such, it is quite
24 $ make DESTDIR=/foo/bar install
25 and in fact, quite widely used.
26 So our example about when `make -e' is required, which references
27 the `DESTDIR' variable, is poorly chosen, if not downright wrong.
28 Rewrite it to use `prefix' as the overridden variable instead.
30 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
32 testsuite: avoid re-running few tests with 'parallel-tests' option
33 Some tests in our testsuite use the 'simple-tests' driver only
34 marginally, or simply as a mean to conveniently check unrelated
35 invariants. It makes little sense to force these tests to also
36 run with the 'parallel-tests' Automake option active, as doing so
37 offers no real gain in coverage, while often causing a measurable
38 overhead in execution time (for an already too-slow testsuite).
39 * tests/pr401.test (parallel_tests): Define to "no", to prevent
40 the generation of a sibling test script using the 'parallel-tests'
42 * tests/pr401b.test: Likewise.
43 * tests/pr401c.test: Likewise.
45 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
47 testsuite: allow tests to avoid the use of 'parallel-tests' option
48 * tests/gen-parallel-tests: Do not generate "siblings" for tests
49 that explicitly define the `parallel_tests', whether to "yes" or
50 to any other value. Extend heading comments to give a rationale
52 * tests/README: Update.
54 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
56 tests/README: update obsoleted advice
57 * tests/README (Section "Writing test cases" subsection "Do"):
58 Do not suggest to use the `*-p.test' pattern for the names of
59 hand-written tests which use the `parallel-tests' Automake option.
60 Not only is this not respected by the existing tests, but it is
61 more likely to cause conflicts with auto-generated tests.
62 So, suggest to *avoid* using the `*-p.test' pattern in names
63 of hand-written tests instead.
64 (Section "Writing test cases" subsection "Do not"): When
65 suggesting not to override Makefile variables using command
66 line arguments, do not use the badly outdated variables `U'
67 and 'ANSI2KNR' in the example; instead, use the more common
68 and typical `DESTDIR'.
70 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
72 test defs: rename requirement 'non-cross' -> 'native'
73 * tests/defs.in (non-cross): Rename requirement ...
74 (native): ... to this, which is clearer and fits the
75 existing lingo better.
76 Suggestion by Ralf Wildenhues.
78 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
80 testsuite: be more cross-compile friendly
81 * tests/defs.in (cross_compiling): New subroutine.
82 (am__tool_prefix): New internal variable.
83 (gcc, g++, gcj): Force the use of the correct "tool prefix"
85 (gfortran, g77, non-cross): New requirements.
87 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
89 tests: fix spurious failure of txinfo21.test on FreeBSD
90 * tests/txinfo21.test: Use the `is_newest' subroutine instead of
91 the `ls -t' hack to to determine whether a file has been updated.
92 This is required because at least FreeBSD `ls' do not sort files
93 with the same timestamp in alphabetical order when using the `-t'
96 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
98 tests defs: allow requirements for compilers (mostly dummy)
99 Most of the new requirements that are now accepted in `$required'
100 as consequence of this patch are still dummy. They are planned
101 to be implemented only in master (or in some derived branch), but
102 having them here (even just as no-op) will allow for an easier
103 integration/backporting of potential new testcases.
104 * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
106 (flex): New requirement, picking LEX for configure.
107 (lex): New requirement, alias for `flex'. A more appropriate
108 implementation, looking for a generic `lex' program, will follow
110 (yacc): New requirement, alias for `bison'. A more appropriate
111 implementation, looking for a generic `yacc' program, will follow
114 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
116 tests: fix spurious failure in a test on TESTS (VPATH-related)
117 * tests/check-tests-in-builddir.test: When not using the
118 parallel-tests option, do not check that VPATH components are
119 not present in the displayed test name, since the simple-tests
120 driver do not try to strip them.
122 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
124 test: self check subroutines for skipping/failing of tests
125 * tests/self-check-report.test: New test.
126 * tests/Makefile.am (TESTS): Update.
128 2011-04-23 Jim Meyering <meyering@redhat.com>
129 Stefano Lattarini <stefano.lattarini@gmail.com>
131 test defs: new subroutines for test skipping/failing
132 * tests/defs.in (Exit): Move definition of this function earlier.
133 (warn_, skip_, fail_, framework_failure_): New functions, inspired
134 to the homonyms in gnulib's tests/init.sh.
135 ($stderr_fileno_): New global variable, used by the new functions
137 * tests/README: Updated.
138 From a suggestion by Ralf Wildenhues.
140 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
142 tests: fix typo (copy & paste blunder) in heading comment
143 * tests/maintclean-vpath.test: Correctly refer to the sister test
144 as `maintclean.test', not as `maintclean-vpath.test'.
146 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
148 tests: remove redundant test `mclean.test'
149 * tests/mclean.test: Remove, it's a weak grepping test completely
150 superseded by the much more complete `maintclean.test'.
151 * tests/Makefile.am (TESTS): Update.
153 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
155 testsuite: more environment sanitization
156 * tests/defs.in: Sanity check: abort if any of `parallel_tests'
157 or `required' is in the environment.
158 ($sed_unindent_prog): Initialize to empty, to avoid interferences
159 from the environment.
160 * tests/self-check-me-in-env.test: Renamed to ...
161 * tests/self-check-env-sanitize.test: ... this, and extended.
162 * tests/Makefile.am (TESTS): Update.
163 (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
164 `required'. Adjust comments.
166 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
168 tests: don't allow `$me' to be overridden from the environment
169 * tests/defs.in: Sanity check: abort if $me is in the environment.
170 * tests/self-check-me-in-env.test: New test.
171 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
173 Suggestion by Ralf Wildenhues.
175 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
177 test defs: allow overriding of `$me'
178 * tests/defs.in ($me): Allow overriding by the including test
179 script. Add some explicative comments.
181 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
183 depcomp tests: don't reject slower dependency extractors
184 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
185 option to `configure' invocations, so that slower dependency
186 extractors are not rejected.
187 * tests/depcomp8a.test: Likewise. Also ...
188 (foo.c): ... since we are at it, fix spacing to be consistent
189 with GNU coding standards.
191 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
193 m4: add missing serial numbers to a few files
194 Related to automake bug#8483.
195 * m4/amversion.in: Add serial number.
196 * m4/auxdir.m4: Likewise.
197 * m4/gcj.m4: Likewise.
198 * m4/install-sh.m4: Likewise.
199 * m4/mkdirp.m4: Likewise.
200 * m4/python.m4: Likewise.
201 * m4/runlog.m4: Likewise.
202 * m4/strip.m4: Likewise.
203 * m4/upc.m4: Likewise.
205 2011-04-16 Jim Meyering <meyering@redhat.com>
207 depcomp: correct invalid sed invocation
208 * lib/depcomp: Insert missing -e before '/:$/d'.
209 Otherwise, that use of sed would treat '/:$/d' as a file name.
211 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
213 maintainer check: quote literal `$' in Makefile rule
214 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
215 character in double-quoted string. Fix a bug in which the rule
216 emitted an erroneously empty substring in its error message.
218 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
220 coverage: test for automake bug#8485 (known regression)
221 * tests/yacc-dist-nobuild-subdir.test: New test.
222 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
224 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
226 test defs: define default $distdir (help reducing duplication)
227 * tests/defs.in ($distdir): New variable, might be used in
228 testcases checking distribution-related features.
229 * tests/pr9.test: Use it.
230 * tests/subdir9.test: Likewise.
231 * tests/vtexi3.test: Add comment explaining why we redefine
232 $distdir in this test.
234 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
236 depcomp: fix bugs in tests and in the depcomp script
237 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
238 * tests/depcomp10.test: Make it executable. Fix a blunder that
239 has left part of an intended comment not prefixed by `#', thus
240 causing shell syntax errors. In this same comment, break a
241 too-long reported error message on multiple lines, for clarity.
242 Add reference to the relevant bug report. Add a comment which
243 explains why the test result 'skipped' if the first "make" call
244 fails. Add other useful comments.
245 * tests/depcomp9.test: Slightly improve comments.
247 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
249 Fix hp depmode for VPATH builds with GNU make.
250 * lib/depcomp: Be sure to remove VPATH-prefixed object from
251 dependency output when creating stub rule.
252 * tests/depcomp10.test: New test.
253 * tests/Makefile.am (TESTS): Update.
255 Report by Bruno Haible.
257 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
259 test defs: fix 'javac' requirement for older JDK versions
260 The Java compiler from JDK 1.5 (and presumably earlier versions)
261 cannot handle the `-version' option by itself; and while it does
262 print the version number, it then errors out with an usage error:
265 javac: no source files
266 Usage: javac <options> <source files>
268 Luckily, adding the `-help' option to the `javac' invocation
269 seems to fix this problem.
270 * tests/defs.in (javac): Pass also the `-help' option to the
271 `javac' program. Add a comment explaining why it is needed.
272 Report from Ralf Wildenhues.
274 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
276 test defs: new requirement for the default java compiler
277 * tests/defs.in (for tool in $required): New requirement 'javac'.
278 * tests/java.test: Use it instead of ad-hoc configure check.
279 * tests/java-check.test: Likewise.
280 * tests/instfail-java.test: Likewise.
281 * tests/instdir-java.test: Likewise.
283 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
285 java: check_JAVA does not cause compilation by "make all" anymore
286 Fixes automake bug#8234.
287 * automake.in (handle_java): Make stamp of class files built from
288 java sources in $(check_JAVA) a dependency of `check' target, not
290 * tests/java-check.test: New test.
291 * tests/Makefile.am (TESTS): Update.
294 Report from Petteri Räty.
296 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
298 Clarify regex code in depcomp.
299 * lib/depcomp: Add comment why we don't need regex-escaping here.
300 Suggested by Stefano Lattarini.
302 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
304 Fix makedepend depmode for VPATH builds.
305 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
306 object file name, so a rebuild doesn't attempt to update the
307 .Po files in the source tree.
308 * tests/depcomp9.test: New test.
309 * tests/Makefile.am (TESTS): Update.
312 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
314 tests: fix timestamp-related failures
315 Fixes automake bug#8365.
316 * tests/aclocal6.test: Sleep before modifying m4 files that should
317 trigger remake rules. Remove incorrect/obsoleted comments.
318 * tests/subdir5.test: Likewise, and extend a bit.
319 * tests/subdir8.test: Likewise.
320 * tests/pr8365-remake-timing.test: New xfailing test.
321 * tests/Makefile.am (TESTS): Update.
322 Report from Sam Steingold.
324 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
326 Create subdirs for generated sources even when not dep tracking.
327 * automake.in (handle_single_transform): If $object is derived
328 and lands in subdir, be sure to output a dirstamp dependency.
329 * tests/yacc5.test: Avoid falsely matching the dirstamp
330 dependency when grepping for a rule.
331 * tests/lex-subobj-nodep.test: New test.
332 * tests/Makefile.am (TESTS): Update.
334 Report by Ignacy Gawedzki.
336 Fix locale issue in check-exported-srcdir.test.
337 * tests/check-exported-srcdir.test: Reformulate glob to not fail
338 in a locale that ignores or interleaves character case.
340 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
342 docs: better visibility for aclocal in the index
343 * doc/automake.texi (@menu): Rename title for entry 'configure'
344 from "Scanning configure.ac or configure.in" to the more precise
345 "Scanning configure.ac, using aclocal".
346 (@detailmenu): Adjust.
347 (@node configure): Adjust, and extend @cindex calls accordingly.
349 From a report by Maynard Johnson.
351 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
353 tests: improve tests on "maintainer-clean" target
354 * tests/aclocal6.test: Move checks related to "maintainer-clean"
355 functionalities into ...
356 * tests/maintclean-vpath.test: ... this new test.
357 * tests/maintclean.test: Update heading comments. Extend to also
358 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
359 in configure.in. Add a trailing `:' command. Remove extra blank
361 * tests/Makefile.am (TESTS): Update.
363 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
365 tests: fix unindent to use printf not echo for script.
366 * tests/defs.in: Use printf rather than echo, as the latter may
367 interpret the backslashes in the sed script. Fixes test
368 failures with dash as /bin/sh.
370 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
371 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 maintcheck: look for problematic names of testcases
374 The configure.in stub created by default by `tests/defs' obtains
375 the first argument of AC_INIT from the test name, and this can
376 cause some supported autoconf versions to fail with a spurious
377 error if that test name contains the name of an m4 or m4sugar
378 builtin or macro (e.g., `defn' or `m4_undefine').
379 See for example the bug fixed by commit v1.11-287-g1325a8a.
380 This change add a maintainer check that warns about test names
381 which are possibly problematic in this regard.
382 * Makefile.am (sc_test_names): New maintainer-check target.
383 (syntax_check_rules): Add it.
384 (m4_builtins): New helper variable.
385 (TESTS): Updated according to the following renamings.
386 * tests/include.test: Renamed ...
387 * tests/hdr-vars-defined-once.test: ... to this.
388 * tests/sinclude.test: Renamed ...
389 * tests/m4-inclusion.test: ... to this, and simplified
391 * tests/include2.test: Renamed ...
392 * tests/dist-included-parent-dir.test: ... to this, for
395 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
397 tests: fix bug in alloca*.test
398 * tests/alloca.test: Make grepping of automake stderr stricter,
399 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
400 and create a dummy alloca.c file, to ensure that we fail for the
402 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
403 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
404 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
406 From a report by Patrick Welche.
408 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
410 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
411 * tests/comments-in-var-defn.test: The configure.in stub created
412 by default, which has the AC_INIT first argument obtained by the
413 test name, causes autoconf 2.62 to fail with a spurious error
414 message like: "configure.in:1: error: defn: undefined macro:".
415 Thus, to prevent this, the test is renamed to ...
416 * tests/comments-in-var-def.test: ... this.
417 * tests/Makefile.am (TESTS): Updated.
419 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
421 cosmetics: convert encoding from ISO-8859 to UTF-8
422 * ChangeLog.03: Convert encoding to UTF-8.
423 * ChangeLog.96: Likewise.
424 * ChangeLog.98: Likewise.
428 2011-03-01 Peter Rosin <peda@lysator.liu.se>
430 test defs: unindent without temporary file
431 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
432 that strips the "proper" amount of leading whitespace.
433 (unindent): Lazily strip comments from the above program and use it
434 to unindent without using a temporary file.
436 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
438 libtool: suggest LT_INIT if LTLIBRARIES primary is used
439 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
440 defined, automake suggested to add a call to AC_PROG_LIBTOOL
441 in configure.ac. But that macro is deprecated since Libtool
442 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
443 suggest the use of this latter macro instead.
444 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
445 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
446 * tests/libtool4.test: Adjust and extend. Also, add a call to
447 macro AC_PROG_CC in configure.in, to help ensuring that automake
448 does not fail for the wrong reasons.
449 * tests/ltinit.test: New test, ensure that automake's libtool
450 support works with LT_INIT-based interface.
451 Thanks to Jack Kelly for the suggestion.
453 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
455 tests: tempdirs with restrictive permissions are cleaned correctly
456 Before this change, the removal of a temporary test directory
457 containing subdirectories with restrictive permissions (such as
458 'r--r--r--') could fail.
459 * tests/defs: Ensure that all the subdirectories of a temporary
460 test directory have the 'read', 'write' and 'execute' bits set,
461 before trying to remove it with `rm -rf'.
462 * tests/Makefile.am (clean-local-check): Likewise.
464 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
465 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
467 test defs: add subroutine for input unindenting
468 * tests/defs.in (unindent): New subroutine.
470 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
472 python: report the 'PYTHON' influential environment variable
473 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
474 * doc/automake.texi (Python): Update and extend.
475 * tests/help-python.test: New test.
476 * tests/Makefile.am (TESTS): Update.
477 * THANKS (Jack Kelly): Update e-mail address.
478 Suggestion by Jack Kelly.
480 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
482 tests defs: clear TESTS_ENVIRONMENT variable
483 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
484 from environment won't interfere with the testcases.
485 Suggestion by Ralf Wildenhues.
487 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
489 tests: tweak few tests on simple and parallel test drivers
490 * tests/check-exported-srcdir.test: Improve heading comments.
491 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
492 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
493 environment won't risk to interfere with the test.
494 Suggestions by Ralf Wildenhues.
496 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
498 coverage: more tests on simple and parallel test drivers
499 * tests/parallel-tests-subdir.test: New test.
500 * tests/check-exported-srcdir.test: Likewise.
501 * tests/check-tests-in-builddir.test: Likewise.
502 * tests/check-tests_environment.test: Likewise.
503 * tests/Makefile.am (TESTS): Update.
505 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
507 tests: fix spurious failures in lflags*.test
508 * tests/lflags.test: Remove 'LEX' from the environment, so
509 that it won't be erroneously picked up by `make -e'.
510 * tests/lflags2.test: Likewise.
512 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
514 docs: color-tests issues with parallel make
515 * doc/automake.texi (Simple Tests): Document that automatic
516 recognition of a capable terminal attached to stdout can fail
517 with some make implementation when running in parallel mode,
518 thus causing colored test output not to be automatically
519 activated when it should.
521 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
523 tests: avoid instspc.test failures due to make's whitespace trimming
524 * tests/instspc.test: Prepend './' when passing the test
525 characters, to avoid leading whitespace characters to be trimmed
526 from macros set from environment variables. Fixes testsuite
527 failures with HP-UX, IRIX, and Tru64/OSF make.
529 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
531 coverage: test semantics of "dummy" per-target flags
532 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
533 per-target flags triggers the use of renamed objects.
534 * tests/Makefile.am (TESTS): Update.
535 Suggestion by Ralf Wildenhues.
537 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
539 tests defs: sanitize IFS
540 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
541 ($sp): New variable, holding a single whitespace character.
542 ($tab): New variable, holding a tabulation character.
543 ($nl): New variable, holding a newline character.
545 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
547 tests: fix VPATH auto-expansion workarounds.
548 * tests/parallel-tests8.test, tests/suffix13.test:
549 Ensure $< is not surrounded by white space, to prevent Solaris
550 make from applying automatic VPATH text expansion.
552 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
554 tests: fix spurious failures in yflags*.test
555 * tests/yflags.test: Remove 'YACC' from the environment, so
556 that it won't be erroneously picked up by `make -e'.
557 * tests/yflags2.test: Likewise.
559 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
561 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
562 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
563 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
564 up its internal memory when copying this tree.
566 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
567 Stefano Lattarini <stefano.lattarini@gmail.com>
569 Add comment to check-TESTS rule working around make 3.80 bug.
570 * lib/am/check.am (check-TESTS): Update comment.
572 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
574 tests: less strict double-colon spy.test again.
575 * tests/spy.test: We know BSD make doesn't invoke more than one
576 double-colon rule, so no need to expose that failure.
578 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
580 install-sh: avoid Tru64 sh `test' operator precedence issues.
581 * lib/install-sh: Protect file names and directory components
582 that consist of `=', `(', `)', or `!'. Move protection as early
583 as possible, to avoid errors such as with Tru64 sh `test -z ='.
584 * tests/instsh2.test: Extend test to cover more possibilities.
585 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
587 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
588 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
590 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
591 * doc/automake.texi (Simple Tests): Do not claim Automake uses
592 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
593 parallel-tests driver.
595 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
597 Allow _AM_DEPENDENCIES to be used later in configure.
598 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
599 conftest.dir before recreating it.
601 Report by Eric Blake, from report by Scott McCreary against M4.
603 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
605 tests: avoid failure on w32 file systems.
606 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
607 be turned unreadable.
609 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
611 tests: allow double-colon spy.test to work with HP-UX make.
612 * tests/spy.test: Fix comment typos. Ensure prerequisites we
613 do not want to depend on are strictly older than the target.
614 Also test with a target out of date wrt. more than one rule.
616 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
618 tests: remove useless requirements from cond36.test
619 * tests/cond36.test ($required): Remove.
620 Since we are at it, add a trailing `:' command.
622 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
623 Stefano Lattarini <stefano.lattarini@gmail.com>
625 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
626 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
627 Test file readability before redirecting input from it, to avoid
628 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
629 * tests/parallel-tests-unreadable-log.test: New test.
630 * tests/Makefile.am (TESTS): Update.
633 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
635 * NEWS, README: Update copyright years.
637 Fix parallel-tests.test failure with HP-UX make.
638 * tests/parallel-tests.test: Sleep inside inner tests, so logs
639 are newer than logs of tests they depend on, for HP-UX make.
641 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
643 docs: ensure example are separated with empty lines in the input
644 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
645 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
646 lines before `@example' and after `@end example' lines, so info
647 output is rendered correctly, and a following @noindent honored.
648 Report by Stefano Lattarini.
650 2011-01-15 Jim Meyering <meyering@redhat.com>
652 tests: fix comment typo
653 * tests/substref.test: Fix grammar in a comment.
655 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
657 tests: fix spurious failures in two texinfo tests
658 * tests/txinfo.test ($required): Add 'makeinfo'.
659 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
660 that make won't try to run makeinfo (which could be unavailable)
662 Found by NixOS Hydra, reported by Ralf Wildenhues.
664 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
666 Avoid testsuite failures due to Autoconf Fortran change.
667 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
668 require computing the canonical host name. Ensure config.guess
669 and config.sub files are present for respective checks.
670 * tests/compile_f_c_cxx.test: Add stub files.
671 * tests/flibs.test: Likewise.
672 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
674 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
676 docs: clustered '-d' not recognized in YFLAGS
677 This change fixes automake bug#7828.
678 * doc/automake.texi (Yacc and Lex): Document that automake
679 recognizes '-d' in AM_YFLAGS only if it's not clustered with
681 From a report by Юрий Пухальский.
683 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
685 tests: add checks on automatically-distributed files
686 Related to automake bug#7819.
687 * tests/autodist.test: New test.
688 * tests/autodist-subdir.test: Likewise.
689 * tests/autodist-acconfig.test: Likewise.
690 * tests/autodist-acconfig-no-subdir.test: Likewise.
691 * tests/autodist-aclocal-m4.test: Likewise.
692 * tests/autodist-config-headers.test: Likewise.
693 * tests/autodist-configure-no-subdir.test: Likewise.
694 * tests/autodist-stamp-vti.test: Likewise.
695 * tests/Makefile.am (TESTS): Update.
697 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
699 tests: work around a texi+cygnus bug causing a spurious XFAIL
700 * tests/txinfo5b.test: New test, like txinfo5.test but calling
701 automake with the `-Wno-override' option to work around a bug
702 in the texinfo + cygnus interaction.
703 * tests/txinfo5.test: Update heading comments.
704 * tests/Makefile.am (TEST): Updated.
706 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
708 Fix another typo in Rule.pm comment.
709 * lib/Automake/Rule.pm: Fix typo.
711 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
713 Improve, extend and tweak tests on Texinfo support.
714 * tests/instdir-texi.test: Add a call to `ls -l' after that to
715 `make', for debugging. When looking for required tools, do not
716 redirect the output of "$tool --help" to /dev/null, and do not
717 uselessly run it in a subshell.
718 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
719 make. All checks moved into Makefile.am.
720 * tests/txinfo8.test: Likewise, and modernize the generated
722 * tests/txinfo2.test: Moved checks into Makefile.am, and other
724 * tests/txinfo5.test: Enable `errexit' shell flag, and related
725 changes. Add trailing `:' command.
726 * tests/txinfo6.test: Likewise, and make grepping of generated
727 Makefile.in stricter.
728 * tests/txinfo7.test: Enable `errexit' shell flag, and related
729 changes. Add trailing `:' command. Do not add unnecessary stuff
731 * tests/txinfo9.test: Verify that more targets which are expected
732 to be generated only once really are. Make grepping less strict,
733 to avoid exposing too much internal details. More minor changes.
734 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
735 for appending to configure.in. Updated/fixed heading comments.
736 * tests/txinfo23.test: Likewise, and extended a little by making
737 it check that no info file is created in the $(srcdir).
738 * tests/txinfo24.test: Likewise.
739 * tests/txinfo25.test: Likewise.
740 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
741 for appending to configure.in. Also, check that index files are
742 cleaned also by "make clean", not only by "make distclean".
743 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
744 and added trailing `:' command. This testcase also used to check
745 that automake ignores in-line comments when using variables, but
746 preserves them in the output; these checks (added in commit
747 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
748 so they have been moved ...
749 * tests/comments-in-var-defn.test: ... into this new test.
750 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
751 trailing `:' command.
752 * tests/txinfo29.test: Likewise. Relax grepping of generated
753 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
754 append to configure.in.
755 * tests/txinfo3.test: Likewise.
756 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
757 make it stricter, sometimes laxer). Move `set -e' setting just
758 after the inclusion of ./defs. De-uglify a sed command. Other
759 minor cosmetic improvements.
760 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
761 trailing `:' command.
762 * tests/vtexi3.test: New test on version.texi support.
763 * tests/vtexi4.test: Likewise.
764 * tests/Makefile.am (TESTS): Updated.
766 2011-01-09 Peter Rosin <peda@lysator.liu.se>
768 Fix another typo in Rule.pm comment.
769 * lib/Automake/Rule.pm: Fix typo.
771 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
773 cosmetics: remove trailing whitespaces
774 * doc/automake.texi: Remove trailing whitespaces.
775 * tests/cond13.test: Likewise.
776 * tests/cond14.test: Likewise.
777 * tests/fort4.test: Likewise.
778 * tests/fort5.test: Likewise.
779 * tests/suffix7.test: Likewise.
780 * tests/vtexi2.test: Likewise.
782 automake: minor fixes in comments
783 * automake.in: Some minor fixes and enhancements in comments.
785 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
787 Add test coverage for deleted header files.
788 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
789 also check for the deleted header bug. If no dependency
790 tracking mechanism could be found, SKIP rather than exit
791 successfully. Use GNU style spacing and ANSI C prototypes.
793 Fix typos in Rule.pm comments.
794 * lib/Automake/Rule.pm: Fix typos in comments.
796 docs: split 'amhello Explained' node.
797 * doc/automake.texi (amhello Explained): Split node ...
798 (amhello's configure.ac Setup Explained)
799 (amhello's Makefile.am Setup Explained) : ... into these two.
800 (Top, Hello World): Adjust, and add @anchor for stable URL links.
801 Suggestion by Karl Berry in automake bug#7766.
803 2011-01-08 Karl Berry <karl@freefriends.org>
804 Eric Blake <eblake@redhat.com>
806 docs: reference defining directories in amhello node.
807 * doc/automake.texi (amhello Explained): Point to Autoconf
808 manual for how to convert directory values into macros.
809 (Optional): Fix grammar nit.
811 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
813 * NEWS: Fix typo (forgotten word).
815 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
816 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
818 docs: how to work around checks on invalid primary/directory couples
819 * doc/automake.texi (Uniform): Document the blessed idiom which can
820 be used to work around automake checks on invalid primary/directory
821 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
823 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
825 Sync auxiliary files from upstream.
826 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
829 Fix maintainer-check regression.
830 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
833 Bump copyright years.
834 * aclocal.in (write_aclocal, version): Bump copyright years.
835 * automake.in (gen_copyright, version): Likewise.
836 * doc/automake.texi: Likewise.
838 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
839 Stefano Lattarini <stefano.lattarini@gmail.com>
841 Work around a bug in file-inclusion mechanism of Solaris make.
842 * automake.in (handle_single_transform): In the name of the
843 dependency file: collapse multiple slash characters into a single
845 * tests/subobj11a.test: New test.
846 * tests/subobj11b.test: Likewise.
847 * tests/subobj11c.test: Likewise.
848 * tests/depcomp8a.test: Likewise.
849 * tests/depcomp8b.test: Likewise.
850 * tests/Makefile.am (TESTS): Updated.
852 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
853 patch and tests by Stefano Lattarini.
855 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
857 Fix two spurious testsuite failures on IRIX 6.5.
858 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
859 weaker make implementations (e.g. IRIX 6.5).
860 * tests/parallel-tests8.test: Likewise, plus a required related
862 Reported by Ralf Wildenhues. The bugs have been there from the
863 first versions of the affected test scripts.
865 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
867 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
868 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
869 the AM_CYGWIN32 macro (and indeed hasn't required it since at
870 least commit Release-1-2-31-g3038064 "merged changes from
871 Cygnus" of 1997-08-25).
873 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
875 distlinksbrk.test: Work around botched "make -k".
876 * tests/distlinksbrk.test: Run "make" multiple times and grep
877 its output each time for a single error message, rather than
878 running "make -k" one single time and grepping its output for
879 all the expected error messages. This should work around make
880 implementations with limited (broken?) `-k' support; for more
881 information, see these subthreads on the automake-patches list:
882 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
883 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
884 - 2010-11-15, "Testsuite failures on IRIX 6.5",
885 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
887 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
889 Fix sed-related buglet in test "subdir5.test"
890 * tests/subdir5.test: Always terminate text passed to the
891 `i' sed command with a newline, to work around limitations
892 in e.g. older OpenBSD sed.
894 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
896 docs: fix blunder in example about python extension modules
897 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
898 not `quaternion_SOURCES', to declare the sources of python
899 extension module `quaternion.la'.
901 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
903 docs: list LTLIBRARIES among Automake primaries
904 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
905 the Automake primaries.
907 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
909 Improve tests on generated portions of configure help screen.
910 * tests/help-depend.test: Grepping of configure help screen
911 relaxed to cater for possible line wrapping, and tightened in
913 * tests/help-depend2.test: Likewise.
914 * tests/help-dmalloc.test: Likewise.
915 * tests/help-lispdir.test: Likewise.
916 * tests/help-maintainer.test: Likewise.
917 * tests/help-multilib.test: Likewise.
918 * tests/help-silent.test: Likewise.
919 * tests/help-upc.test: Likewise.
920 * tests/help-init.test: Grepping of configure help screen
923 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
925 Avoid running installed automake from 'libtool --help'.
926 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
927 Together with fixed Libtool, this fixes check-coverage to not
928 invoke installed automake.
930 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
932 Fix spurious failures in `silent*.test' for $CC != gcc
933 In some tests on automake-produced silent rules, we forced the
934 use of gcc depmode to improve testsuite coverage; but this has
935 unsurprisingly led to spurious failures when some non-GNU C
936 compilers were used. So we are now careful to require GCC in
937 tests that force gcc depmode.
938 From reports by Ralf Wildenhues.
939 * tests/silent5.test: Test removed, its content split into ...
940 * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
941 these new sister tests, the latter of which forces gcc depmode
942 and lists "gcc" in $required.
943 * tests/silentlex.test: Test removed, its content split into ...
944 * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
945 these new sister tests, the latter of which forces gcc depmode
946 and lists "gcc" in $required.
947 * tests/silentyacc.test: Test removed, its content split into ...
948 * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
949 these new sister tests, the latter of which forces gcc depmode and
950 lists "gcc" in $required.
951 * tests/Makefile.am (TESTS): Updated.
953 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
955 Tests: consistently use "|| Exit 1" after ". ./defs".
956 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
957 `. ./defs', for consistency with other tests.
958 * tests/autohdr2.test: Likewise.
959 * tests/autohdr3.test: Likewise.
960 * tests/autohdr4.test: Likewise.
961 * tests/cond23.test: Likewise.
962 * tests/cond24.test: Likewise.
963 * tests/cond25.test: Likewise.
964 * tests/cond26.test: Likewise.
965 * tests/cond27.test: Likewise.
966 * tests/cond28.test: Likewise.
967 * tests/cond29.test: Likewise.
968 * tests/cond30.test: Likewise.
969 * tests/cond31.test: Likewise.
970 * tests/cond32.test: Likewise.
971 * tests/cond33.test: Likewise.
972 * tests/cond34.test: Likewise.
973 * tests/cond35.test: Likewise.
974 * tests/cond36.test: Likewise.
975 * tests/cond37.test: Likewise.
976 * tests/cond38.test: Likewise.
977 * tests/cond39.test: Likewise.
978 * tests/cond40.test: Likewise.
979 * tests/cond41.test: Likewise.
980 * tests/cond42.test: Likewise.
981 * tests/cond43.test: Likewise.
982 * tests/cond44.test: Likewise.
983 * tests/cond45.test: Likewise.
984 * tests/dollarvar.test: Likewise.
985 * tests/dollarvar2.test: Likewise.
986 * tests/hfs.test: Likewise.
987 * tests/libobj14.test: Likewise.
988 * tests/percent.test: Likewise.
989 * tests/percent2.test: Likewise.
990 * tests/phony.test: Likewise.
991 * tests/silent.test: Likewise.
992 * tests/silent2.test: Likewise.
993 * tests/silent3.test: Likewise.
994 * tests/silent4.test: Likewise.
995 * tests/silent5.test: Likewise.
996 * tests/silent6.test: Likewise.
997 * tests/silent7.test: Likewise.
998 * tests/silent9.test: Likewise.
999 * tests/silentcxx.test: Likewise.
1000 * tests/silentf77.test: Likewise.
1001 * tests/silentf90.test: Likewise.
1002 * tests/silentlex.test: Likewise.
1003 * tests/silentyacc.test: Likewise.
1005 Avoid useless cleaning in some `silent*.test' tests.
1006 * tests/silentf77.test: Removed useless calls to "make clean"
1007 and "make maintainer-clean".
1008 * tests/silentf90.test: Likewise.
1009 * tests/silent3.test: Removed useless call to "make distclean".
1010 * tests/silent4.test: Likewise.
1011 * tests/silent9.test: Likewise.
1013 2010-11-19 Ian Lance Taylor <iant@google.com>
1015 Sync config-ml.in from GCC.
1016 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
1017 compiler/flag environment variables.
1019 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1021 Automake::Config: remove extra trailing semicolon.
1022 * lib/Automake/Config.in: Remove extra trailing semicolon.
1024 help4.test: fix botched heading comment.
1025 * tests/help4.test: Fixed the heading comment, since it
1026 didn't correctly describe what checks the testcase was
1027 supposed to perform.
1029 help2.test: add checks on aclocal too.
1030 * tests/help2.test: Check that also `aclocal --version' and
1031 `aclocal --help' work with configure.in and acinclude.m4 both
1034 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1036 Fix spurious failures of silent-rules tests with Sun Fortran.
1037 * tests/silentf77.test: Strip from the make output some verbose
1038 messages possibly printed by the SunStudio fortran compilers, to
1039 avoid spurious failures. Add a trailing `:' command.
1040 * tests/silentf90.test: Likewise.
1042 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1044 Fix spurious failures of silent5.test with Sun Fortran.
1045 * tests/silent5.test: Strip from the make output some verbose
1046 messages possibly printed by the SunStudio fortran compilers,
1047 to avoid spurious failures. This bug has been there from the
1048 very first version of this test script.
1050 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1052 Fix regression in colon{5,6}.test (failures on AIX 5.3).
1053 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
1054 post-processing the generated Makefile.in, to work around a bug
1055 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
1056 on the commend line. Calls to `$MAKE' adjusted accordingly.
1057 * tests/colon6.test: Likewise.
1058 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
1059 improve and/or extend tests `colon*.test", and reported by Ralf
1062 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1064 Fix regression in ansi.test (failure on AIX 5.3).
1065 * tests/ansi.test: Remove redundant hackish check done using a
1066 hand-postprocessed Makefile.in. This check worked by setting
1067 the `$(SHELL)' macro on the command line of make, but this is
1068 not supported by the AIX 5.3 make implementation.
1069 This bug has been lurking for a long time, and was activated by
1070 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
1071 tests". Report by Ralf Wildenhues.
1073 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1075 tests: avoid '##'-style comments inside recipe commands.
1076 * tests/confh.test, tests/confh8.test: Remove
1077 double-hash comments from makefile rule commands, they
1078 are not part of the Automake API.
1080 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1082 tests: work around dash quoting issue in case statements.
1083 * tests/color.test, tests/color2.test: Quote variable in case
1084 pattern, to avoid skipping tests with dash 0.5.5.1.
1086 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1088 Rebuild menus in the manual.
1089 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
1090 Thanks to Ian Lance Taylor for the suggestion.
1092 Fix install-strip when $(STRIP) contains several words.
1093 * lib/am/install.am (install-strip): Update comment. Use
1094 separate sub-make invocations for empty and nonempty $(STRIP),
1095 to fix quoting issues.
1096 * tests/strip2.test, tests/strip3.test: New tests.
1097 * tests/Makefile.am (TESTS): Adjust.
1099 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1101 Fix yaccdry.test failure: require bison.
1102 * tests/yaccdry.test: Require bison.
1103 Found by NixOS Hydra.
1105 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
1107 Fix a bug in variable concatenation with `+='.
1108 * lib/Automake/VarDef.pm (append): Since the content of the
1109 "appended-to" variable is going to be unconditionally normalized
1110 later, simply separate the appended value with a single whitespace
1111 character, instead of trying to be uselessly smarter by using
1112 escaped newlines. This fixes a bug in which extra backslashes
1113 where erroneously inserted in the variable's final value.
1114 * tests/pluseq11.test: New test, exposing the bug.
1115 * tests/Makefile.am (TESTS): Update.
1116 Reported by Andy Wingo.
1118 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1120 Fix bug in rules for creating vala vapi/header files.
1121 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
1122 if control structure in a generated make rules. Bug introduced
1123 by previous commit `v1.11-221-gd7c1679', and revealed by failure
1124 of test `vala2.test'.
1126 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1128 Fix and document rules to not touch the tree with `make -n'.
1129 * doc/automake.texi (Multiple Outputs): Document the problem of
1130 modifications during dry-run execution, propose solution.
1132 * automake.in (lang_vala_finish_target): Split recipe so the
1133 stamp file is not removed with GNU `make -n'.
1134 (lang_yacc_target_hook): Separate removal of parser output file
1135 and header remaking.
1136 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
1137 passed to make, take care not to remove any files in that case.
1138 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
1139 %STAMP% file from induced remaking of config header.
1140 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
1142 * tests/Makefile.am (TESTS): Update.
1144 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1146 Add FAQ entry for bug reporting instructions.
1147 * doc/automake.texi (Reporting Bugs): New section.
1148 (Introduction): Refer to it.
1150 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1152 Add support for newer python versions.
1153 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
1154 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
1155 line and fix indentation.
1157 From a report by Thomas Klausner.
1159 Add test for `AM_WITH_DMALLOC' macro.
1160 * tests/dmalloc.test: New test.
1161 * tests/Makefile.am (TESTS): Update.
1163 Fix nits and bugs in tests `help*.test'.
1164 * tests/help4.test: Fix broken sed commands used to strip `-W...'
1165 flags away from "$AUTOMAKE" and "$ACLOCAL".
1166 * tests/help3.test: Likewise, and fix a botched comment.
1167 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
1168 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1169 please maintainer-check.
1170 * tests/help2.test: Likewise.
1172 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1173 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1175 Improve tests `help*.test' (also fixes maintcheck failures).
1176 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1177 flags stripped away rather than hard-coded `automake-$APIVERSION',
1178 to better honour user-overrides. Similarly for aclocal.
1179 * tests/help2.test: Likewise.
1180 * tests/help3.test: Likewise.
1181 * tests/help4.test: Likewise.
1183 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1185 Document and fix expansion of variables before rules.
1186 * doc/automake.texi (General Operation): Document that variables
1187 are expanded before rules.
1188 * lib/am/check.am (am__check_post): Reword a bit so it does not
1189 get matched as a rule.
1190 Suggestion by Ben Pfaff.
1192 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1194 Revert "parallel-tests: avoid command-line length limit issue."
1195 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
1196 because it re-opened the bug fixed by v1.11-10-g218e678.
1198 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1200 parallel-tests: avoid command-line length limit issue.
1201 * automake.in (handle_tests): New argument $makefile, new
1202 substitution %MAKEFILE%.
1203 (generate_makefile): Adjust.
1204 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1205 sanitized TEST_LOGS value as makefile snippet on standard
1206 input to $(MAKE), to avoid exceeding the command line limit on
1209 Report by Bob Friesenhahn.
1211 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1213 Extend tests on `--help' and `--version' options.
1214 * tests/help.test: Create a new empty directory and chdir into
1215 it, rather than removing already present files. Run the aclocal
1216 and automake wrapper scripts directly, instead of relying on
1217 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
1218 in aclocal's and automake's stderr. Add a trailing `:' command.
1219 * tests/help2.test: New test, checking that options `--help' and
1220 `--version' works in directories with broken `configure.in'.
1221 * tests/help3.test: New test, checking that options `--help' and
1222 `--version' take precedence on the other options.
1223 * tests/help4.test: New test, checking that the first among the
1224 `--help' and `--version' options to be specified on the command
1226 * tests/Makefile.am (TESTS): Updated.
1228 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1230 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
1231 * tests/compile2.test: Do no uselessly (implicitly) repeat the
1232 computation of PATH_SEPARATOR again.
1233 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
1234 extending/redefining PATH.
1235 * tests/instmany-python.test: Likewise.
1236 * tests/instmany.test: Likewise.
1237 * tests/man4.test: Likewise.
1238 * tests/mkinst3.test: Likewise.
1239 * tests/mmodely.test: Likewise.
1240 * tests/multlib.test: Likewise.
1241 * tests/txinfo30.test: Likewise.
1242 * tests/README (Section "Writing test cases" subsection "Do"):
1244 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
1245 (syntax_check_rules): Updated.
1247 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
1248 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
1249 ($ACLOCAL, $AUTOMAKE): Use it.
1250 ($PATH_SEPARATOR): New AC_SUBST'd variables.
1253 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1255 Manual: be more agnostic w.r.t. version control system used.
1256 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
1257 directories as a type of probably-unwanted files that are copied
1258 regardless when adding directories to EXTRA_DIST.
1259 (The dist Hook): Show a dist-hook example which removes Subversion
1260 `.svn' private directories from distdir, rather than CVS private
1262 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
1263 the version control system used.
1265 Manual: index refer to target "git-dist", not "cvs-dist".
1266 * doc/automake.texi (General Operation): Index the non-standard
1267 example about "git-dist" under the "git-dist" label, not under
1270 Perl modules: remove references to "Automake CVS repository".
1271 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
1272 git repository" rather than to "Automake's CVS repository".
1273 * lib/Automake/Configure_ac.pm: Likewise.
1274 * lib/Automake/FileUtils.pm: Likewise.
1275 * lib/Automake/Struct.pm: Likewise.
1276 * lib/Automake/XFile.pm: Likewise.
1277 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
1278 branches" rather than "CVS branches".
1280 Remove obsolete .cvsignore files.
1281 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
1282 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
1283 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
1284 savannah's CVS readonly mirror there's no way to commit back to
1285 the real repository, so this files are not worth maintaining or
1288 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1290 * m4/dmalloc.m4: Bump serial number and copyright years.
1292 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1294 Fix broken link in `AM_WITH_DMALLOC' help screen.
1295 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
1296 `http://www.dmalloc.com', not to the dmalloc tarball there (which
1297 seems to have been removed, substituted by multiple release
1300 2010-09-17 Eric Blake <eblake@redhat.com>
1302 Avoid triple-space after period.
1303 * automake.in (handle_single_transform): Avoid 3 spaces at
1305 * ChangeLog.03: Likewise.
1306 * lib/Automake/ChannelDefs.pm: Likewise.
1307 * lib/Automake/Channels.pm (_print_message): Likewise.
1308 * lib/Automake/Rule.pm (rule): Likewise.
1309 * lib/Automake/Variable.pm (var): Likewise.
1310 * lib/am/distdir.am: Likewise.
1311 * tests/insthook.test: Likewise.
1313 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1315 Test automake-generated portions of configure help screen.
1316 * tests/help-depend.test: New test.
1317 * tests/help-depend2.test: Likewise.
1318 * tests/help-dmalloc.test: Likewise.
1319 * tests/help-init.test: Likewise.
1320 * tests/help-lispdir.test: Likewise.
1321 * tests/help-maintainer.test: Likewise.
1322 * tests/help-multilib.test: Likewise.
1323 * tests/help-regex.test: Likewise.
1324 * tests/help-silent.test: Likewise.
1325 * tests/help-upc.test: Likewise.
1326 * tests/mmode.test: Remove tests on `configure --help' output,
1327 they are superseded by tests in `help-maintainer.test'.
1328 * tests/Makefile.am (TESTS): Update.
1330 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1332 * tests/README: Don't put GCS mandated tools in $required.
1334 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1336 * HACKING: Hint at old commits with `git describe' output.
1338 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1340 Fix regression in test `colon4.test'.
1341 * tests/colon4.test: Fix botched editing to `configure.in'
1342 that made the test useless. Since we are at it, improve
1343 comments and make grepping of generated Makefile.in slightly
1345 Regression introduced by change "Modernize, improve and/or
1346 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
1348 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1350 Do not require "gzip" explicitly in tests.
1351 The gzip utility is simply expected to be present on any decent
1352 target system for Automake. So it's pointless to put it in
1354 * tests/install2.test ($required): Do not require "gzip".
1355 * tests/lex3.test: Likewise.
1356 * tests/pr9.test: Likewise.
1357 From a suggestion by Ralf Wildenhues.
1359 Make some `confh*.test' tests more "semantic" (plus tweakings).
1360 * tests/confh.test: Run "autoconf", "configure" and "make check",
1361 instead of munging/grepping the generated `Makefile.in'.
1362 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1363 white spaces. Do not create useless dummy source file `foo.c'
1364 and useless dummy header file `acconfig.h'.
1365 (configure.in): Remove superfluous call to `AC_OUTPUT'.
1366 * tests/confh6.test: Add trailing `:' command.
1367 * tests/confh7.test: In comments, add reference to ...
1368 * tests/confh8.test: ... this new test, "semantic" sister
1370 * tests/Makefile.am (TESTS): Updated.
1371 Prompted by a report from Ralf Wildenhues.
1373 Remove useless whitespace padding in XFAIL_TESTS definition.
1374 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1376 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1378 parallel-tests: avoid command-line length limit issue.
1379 * automake.in (handle_tests): New argument $makefile, new
1380 substitution %MAKEFILE%.
1381 (generate_makefile): Adjust.
1382 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1383 sanitized TEST_LOGS value as makefile snippet on standard
1384 input to $(MAKE), to avoid exceeding the command line limit on
1387 Report by Bob Friesenhahn.
1389 Posix 2008 requires make to set errexit.
1390 * lib/am/check.am: Update comment.
1392 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
1394 Fix bug in test missing6.test.
1395 * tests/missing6.test: Fix the hack used to edit `configure.in',
1396 to avoid producing a configure script that breaks with shells
1397 that do not support $LINENO. Also throw in a couple of cosmetic
1400 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1402 Improve robustness of mdate-sh script.
1403 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1404 $ls_command is word-split properly upon invocation.
1405 (error): New function.
1406 (main): Use it. Improve error checking to avoid endless loop
1407 in case $ls_command gave bogus output. Fix eval quotation.
1408 * tests/mdate6.test: New test, to expose eval quotation error.
1409 * tests/Makefile.am: Update.
1411 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1413 Fix potential regressions in depcomp{3,5}.test.
1414 * tests/depcomp3.test: Do not uselessly escape the character `$'
1415 in makefile rules, when it's used to expand a make macro.
1416 * tests/depcomp5.test: Likewise.
1418 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1419 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1421 Docs: clarify how to avoid automatic dependencies tracking.
1422 * doc/automake.texi (Automatic dependency tracking): Mention that
1423 automatic dependencies tracking is enabled by default, but that
1424 the package developer can disable it altogether. Add a reference
1425 to the proper section for a more in-depth explanation.
1427 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
1428 * doc/automake.texi (Automatic dependency tracking): Fix typo.
1430 2010-08-16 Bruno Haible <bruno@clisp.org>
1432 Don't hide the table of contents.
1433 * doc/automake.texi: Move the table of contents to the beginning.
1435 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1437 Tweak and/or extend some `acloca*.test' tests.
1438 * tests/aclocal8.test: Ensure verbose printing of captured
1440 * tests/aclocal.test: Likewise. Also, add trailing `:'
1442 * tests/acloca19.test: Likewise.
1443 * tests/aclocal5.test: Add trailing `:' command, and prefer
1444 `$me' over hard-coded test name.
1445 * tests/aclocal6.test: Likewise.
1446 * tests/aclocal18.test: Add trailing `:' command, and make
1447 some grepping slightly stricter.
1448 * tests/acloca14.test: Likewise. Also, prefer `diff' over
1449 `cmp', and add some "cosmetic" blank lines.
1451 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1453 Tweak and extend tests `pr[!0-9]*.test'.
1454 * tests/primary3.test: Add trailing `:' command.
1455 * tests/primary.test: Make grepping of Automake's stderr stricter.
1456 Also, add trailing `:' command, and cosmetic changes in spacing.
1457 * tests/primary2.test: Likewise.
1458 * tests/prefix.test: Enable `errexit' shell flags, and related
1459 changes. Add a trailing `:' command.
1460 * tests/proginst.test: Likewise.
1462 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1463 * tests/pr2.test: Add trailing `:' command.
1464 * tests/pr229.test: Likewise.
1465 * tests/pr401.test: Likewise.
1466 * tests/pr401b.test: Likewise.
1467 * tests/pr401c.test: Likewise.
1468 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1470 * tests/pr300-lib.test: Likewise.
1471 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1472 of captured make stdout.
1473 * tests/pr211.test: Add trailing `:' command. Also, use the
1474 `configure.in' stub created by ./defs, rather than writing it
1476 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1477 * tests/pr287.test: Likewise, and move setting of `errexit' shell
1478 flag earlier in the script (just after inclusion of ./defs).
1479 * tests/pr220.test: Make grepping of Automake's stderr stricter.
1480 Also, add trailing `:' command, and cosmetic changes in spacing.
1481 * tests/pr224.test: Move setting of `errexit' shell flag earlier
1482 in the script (just after inclusion of ./defs). Do not export
1483 `CC=gcc' to configure explicitly (it's already exported globally
1484 in ./defs, since we have "gcc" in $required). Use the stub for
1485 `configure.in' created by ./defs, rather than writing it from
1486 scratch. Do not create dummy files required by "gnu" mode (e.g.
1487 README, NEWS), since we run automake in foreign mode anyway.
1488 * tests/pr72.test: Enable `errexit' shell flags, and related
1489 changes. Extend existing checks a bit.
1490 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
1491 the generated `configure.in', and extend existing checks over the
1492 generated tarball a bit.
1493 * tests/pr87.test: Enable `errexit' shell flags, and related
1494 changes. Add a trailing `:' command. Also, do not create dummy
1495 files required by "gnu" mode (e.g. README, NEWS), since we run
1496 automake in foreign mode anyway.
1497 * tests/pr243.test: Avoid obsolescent constructs in the generated
1498 `configure.in'. Enable the `errexit' shell flag, and related
1499 changes. Cosmetic changes to spacing, add trailing `:' command,
1500 and add a "FIXME" comment.
1501 * tests/pr266.test: Likewise, and add explicit command line switch
1502 `--enable-dependecy-tracking' to the ./configure call.
1503 * tests/pr279.test: Avoid obsolescent constructs in the generated
1504 `configure.in'; also, use the `configure.in' stub created by
1505 ./defs, rather than writing it from scratch. Enable `errexit'
1506 shell flag, and related changes. Add trailing `:' command.
1507 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1509 * tests/pr307.test: Move setting of `errexit' shell flag earlier
1510 in the script (just after inclusion of ./defs). Escape literal
1511 dots in grep regular expressions. Also, add a trailing `:'
1512 command, and cosmetic changes to spacing.
1514 Tests for PR: add excerpts from original bug report, for clarity.
1515 * tests/pr2.test: Ditto.
1516 * tests/pr9.test: Likewise.
1517 * tests/pr72.test: Likewise.
1518 * tests/pr87.test: Likewise.
1519 * tests/pr211.test: Likewise.
1520 * tests/pr220.test: Likewise.
1521 * tests/pr224.test: Likewise.
1522 * tests/pr229.test: Likewise.
1523 * tests/pr243.test: Likewise.
1524 * tests/pr266.test: Likewise.
1525 * tests/pr279.test: Likewise, and tell to keep it in sync
1526 with its sister test.
1527 * tests/pr279-2.test: Likewise.
1529 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1531 Tweak, extend and improve tests `cond[a-z]*.test'.
1532 * tests/condd.test: Add trailing `:' command. Typofix in
1534 * tests/condhook.test: Make sure target `install-data-hook' is
1535 not called by `make install', but that data files are installed.
1536 Use proper m4 quoting in configure.in. Add trailing `:' command.
1537 * tests/condhook2.test: New test, sister test of condhook, with
1539 * tests/condinc2.test: Use proper m4 quoting in configure.in.
1540 Prefer trailing `:' command over trailing `Exit 0'.
1541 * tests/condman2.test: Enable errexit shell flag, and related
1542 changes. Add trailing `:' command.
1543 * tests/condman.test: Likewise. Also, do not create useless
1544 dummy manpages, and use proper m4 quoting in configure.in.
1545 * tests/condman3.test: New test, similar to condman.test, but
1546 it also runs ./configure and "make install", and check the
1548 * tests/Makefile.am (TESTS): Updated.
1550 Modernize, improve and/or extend tests `colon*.test.
1551 * tests/colon.test: Rely on the `configure.in' stub created by
1552 `./defs', rather than writing one from scratch. Do not create
1553 a useless dummy file. Add trailing `:' command.
1554 * tests/colon4.test: Enable the `errexit' shell flag, and
1555 related changes. Rely on the `configure.in' stub created by
1556 `./defs', rather than writing one from scratch.
1557 * tests/colon7.test: Enable `errexit' shell flag, and related
1558 changes. Improve the generated `configure.in' file. Add
1559 trailing `:' command.
1560 * tests/colon2.test: Likewise. Also, add some new checks.
1561 * tests/colon5.test: Improve the generated `configure.in' file.
1562 Add new, much deeper checks. Add trailing `:' command.
1563 * tests/colon6.test: Likewise.
1564 * tests/colon3.test: Add trailing `:' command. Remove useless
1565 comments and echos. Improve the generated `configure.in' file.
1566 make some grepping tests stricter. Add a "FIXME" comments about
1567 planned improvements.
1569 Improve and extend tests `asm*.test'.
1570 * tests/asm.test: Use configure.in stub generated by ./defs,
1571 and avoid obsoleted autoconf constructs. Make grepping of
1572 Automake stderr stricter. Do not create useless source file.
1573 Improve verbose messages. Minor cosmetic changes. Tell to
1574 keep it in sync with other sister tests asm*.test.
1575 * tests/asm2.test: Likewise.
1576 * tests/asm3.test: Likewise.
1578 Modernize, improve and/or extend test scripts `conf*.test'.
1579 * tests/confh5.test: Cosmetic changes.
1580 * tests/conff.test: Likewise.
1581 * tests/confdeps.test: Likewise.
1582 * tests/conflnk.test: Likewise.
1583 * tests/conflnk2.test: Likewise.
1584 * tests/confsub.test: Likewise.
1585 * tests/confvar.test: Likewise, and make grepping of Makefile.in
1587 * tests/confvar2.test: Likewise.
1588 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
1589 disabled test (which didn't work with autoconf <= 2.59, but now we
1590 are requiring autoconf 2.62, so...)
1591 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1592 accordingly to "TODO" comments.
1593 * tests/conff2.test: Make grepping of Automake's stderr stricter.
1594 Add some comments explaining why we don't use the `configure.in'
1595 stub preset be ./defs.
1596 * tests/confh.test: Use the `configure.in' stub created by ./defs,
1597 rather than writing one from scratch, and do not call AC_OUTPUT.
1598 Enable `errexit' shell flag, and related changes. Prefer diff over
1599 cmp to compare text files. Prefer perl over sed to fetch the value
1600 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
1601 of $(DIST_COMMON) stricter.
1602 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1603 rather than writing one from scratch. Make grepping of Makefile.in
1605 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
1607 * tests/configure.test: Avoid obsolescent constructs in generated
1608 `configure.ac'. Do not write `configure.in' two times. Escape
1609 literal dots in grep regular expressions.
1610 * tests/confincl.test: Enable `errexit' shell flag, and related
1611 changes. Prefer fgrep over grep. Other cosmetic changes.
1612 * tests/config.test: Renamed to ...
1613 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
1614 and make grepping of `config.h' and `config.h.in' stricter.
1615 * tests/conf2.test: Renamed ...
1616 * tests/confh7.test: ... to this. Use the `configure.in' stub
1617 created by ./defs, rather than writing one from scratch. Try to
1618 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1620 * tests/Makefile.am (TESTS): Updated.
1622 Minor improvements and fixes in tests `depcomp*.test'.
1623 * tests/depcomp.test: Do not create useless dummy source files.
1624 Add a trailing `:' command.
1625 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1626 it's not in in the environment, rather than exporting it with an
1627 empty value. Do not pass CC=gcc to configure, as that's already
1628 done in ./defs since we have gcc in $required. Ensure verbose
1629 printing of captured stderr, and normalize its checking. Add a
1630 trailing `:' command.
1631 * tests/depcomp3.test: Quote literal dots and dollar characters in
1632 grep regexps. Always use `: >' rather than `touch' to create empty
1633 files. Explicitly declare phony targets as such in the created
1634 Makefile.am. Add a trailing `:' command.
1635 * tests/depcomp4.test: Quote literal dots and dollar characters in
1636 grep regexp. Explicitly declare phony targets as such in the
1637 created Makefile.am. Ensure verbose printing of captured makes'
1638 stoud/stderr. Add a trailing `:' command.
1639 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1640 in the script (just after inclusion of ./defs). Quote literal dots
1641 and dollar characters in grep regexps. Explicitly declare phony
1642 targets as such in the created Makefile.am. Add a trailing `:'
1644 * tests/depcomp6.test: Consistently use m4 quoting in the generated
1645 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
1646 statement required by OpenBSD's sh `set -e' more robust, and add
1647 explanatory comments to it.
1648 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
1650 Separate failing part of test `all.test'.
1651 * tests/all.test: Keep only (x)failing part of the test. Working
1652 checks moved out to ...
1653 * tests/all2.test: ... this new test.
1654 * tests/Makefile.am (TESTS): Updated.
1656 Modernize, improve and extend tests `subobj*.test'.
1657 * tests/subobjname.test: Add trailing `:' command.
1658 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1659 Escape literal dots in grep regexps.
1660 * tests/subobj2.test: Add trailing `:' command. Do not use the
1661 unportable fgrep option `-e'.
1662 * tests/subobj3.test: Add trailing `:' command.
1663 (configure.in): Use proper m4 quoting, and avoid obsolescent
1665 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
1666 flag, with related changes
1667 * tests/subobj4.test: Likewise. Also, make grepping of
1668 `Makefile.in' stricter.
1669 * tests/subobj5.test: Add trailing `:' command. Move setting of
1670 `errexit' shell flag earlier in the script (just after inclusion
1672 (configure.in): Use the stub created by `./defs', rather than
1673 writing it from scratch, and avoid obsolescent constructs.
1674 * tests/subobj6.test: Add trailing `:' command. Move setting of
1675 `errexit' shell flag earlier in the script (just after inclusion
1676 of ./defs). Do not create useless dummy ac-init file `f'.
1677 * tests/subobj7.test: Do not create useless dummy ac-init file
1679 (configure.in): Use the stub created by `./defs', rather than
1680 writing it from scratch, and avoid obsolescent constructs.
1681 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1682 in the script (just after inclusion of ./defs). Fail the test if
1683 `make distcheck' fails. Ensure verbose printing of captured make
1684 stdout. Avoid useless fork by doing simple grep instead of using
1685 test -n "`COMMAND | grep ...`".
1686 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1687 (Makefile.am): Explicitly mark target "print" as phony.
1688 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
1689 trailing `:' command.
1690 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1692 Remove a couple of obsoleted tests.
1693 * tests/fpinstall.test: Removed.
1694 * tests/fpinst2.test: Likewise.
1695 * tests/Makefile.am (TESTS): Updated.
1697 Bootstrap: updated HACKING entry.
1698 * HACKING ("Working with git"): Explain how to override the
1699 autoconf and autom4te programs used by the bootstrap process.
1702 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1703 since we don't generate it. Correctly quote arguments of
1704 `eval' builtin. Fixed a botched error message. Removed an
1707 Bootstrap: don't search perl in $PATH.
1708 * bootstrap: Do not explicitly search perl in $PATH anymore.
1709 ($PATH_SEPARATOR): Removed, it's no more needed.
1711 Bootstrap: let the user choose which autoconf to use.
1712 * bootstrap ($AUTOCONF): New variable, from the environment.
1713 ($AUTOM4TE): Likewise, for clarity.
1714 Use "$AUTOCONF" instead of calling "autoconf" directly.
1716 Minor improvements to tests ar*.test.
1717 * tests/ar.test: Add trailing `:' command.
1718 * tests/ar2.test: Likewise, and make grepping of generated
1719 Makefile.in stricter.
1721 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1723 Fix maintainer-check failure.
1724 * tests/cond5.test: Quote sleep argument, this isn't about
1725 time stamp differences.
1727 Sync auxiliary files from upstream.
1728 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1731 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1733 Work around a nasty bug (segfault) of Solaris make.
1734 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1735 from $list, to avoid triggering a nasty bug (potential segfault)
1738 2010-08-06 Peter Rosin <peda@lysator.liu.se>
1740 Make cond5.test more robust on MSYS.
1741 * tests/cond5.test: Add delay before the first kill attempt to
1742 cater for problems with MSYS bash.
1744 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1746 Add example git work flow; discuss merge --log in HACKING.
1748 Suggestion by Stefano Lattarini.
1750 Add more hints for debugging make rules.
1751 * doc/automake.texi (Debugging Make Rules): Show command to find
1752 out expanded values of variables; point to makefile debugger.
1754 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1756 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1758 Fix typo in the manual.
1759 * doc/automake.texi (Scripts): Fix typo.
1761 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1763 Document current policy for development with git.
1764 * HACKING (Working with git): Overhaul.
1765 Prompted by suggestion from Stefano Lattarini.
1767 Fix AM_COND_IF for gone-invalid condition shell expression.
1768 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1769 variable, rather than re-evaluating the shell expression for
1771 * tests/cond40.test: Extend test.
1774 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1775 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1776 to avoid shell syntax error if the m4 expansion is empty.
1777 * tests/cond40.test: Enhance test.
1779 Coverage: bogus option to AM_INIT_AUTOMAKE.
1780 * tests/init2.test: New test.
1781 * tests/Makefile.am: Update.
1783 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1785 Modernize and improve test scripts `subdir*.test'.
1786 * tests/subdir.test: Enable `errexit' shell flag, and related
1787 changes. Use the `configure.in' stub created by `./defs',
1788 rather than writing one from scratch.
1789 * tests/subdir2.test: Likewise.
1790 * tests/subdir4.test: Likewise.
1791 * tests/subdir3.test: Enable `errexit' shell flag, and related
1792 changes. Do not create useless dummy source files.
1793 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1794 and in subdirs) stricter. Some minor changes to keep it more
1795 in sync with the related test `subdir8.test'.
1796 * tests/subdir8.test: Likewise (but with the related test being
1797 `subdir5.test' here).
1798 * tests/subdir6.test: Cosmetic change in spacing.
1799 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1800 trailing `:' command.
1801 * tests/subdir10.test: Cosmetic consistency-related change.
1802 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1803 (configure.in): Use stub created by `./defs', rather than writing
1804 it from scratch. Do not use obsoleted and/or deprecated forms of
1805 autoconf/automake macros.
1807 Modernize and improve test scripts `dist*.test'.
1808 * tests/distcleancheck.test: Do not add useless `-e' option to
1809 a $MAKE call. Extend test by grepping stderr of make.
1810 * tests/distcom2.test: Do not run the same test script on the
1811 Makefile.in twice, but save its output in an intermediate file
1812 instead. Make grepping of DIST_COMMON definition stricter.
1813 Display the content of more files, to ease debugging. Add a
1814 trailing `:' command. Improved heading comments w.r.t. sister
1816 * tests/distcom6.test: Likewise, and avoid to uselessly run
1818 * tests/distcom3.test: Ensure verbose printing of captured stdout
1819 and stderr. Make grepping of captured stderr stricter. Also,
1820 add trailing `:' command.
1821 * tests/distcom4.test: Declare the target `test' in the generated
1822 Makefile.am as `.PHONY'. Display content of more files, to ease
1823 debugging. Add trailing `:' command.
1824 * tests/distcom5.test: Likewise. Also, factor out common sed
1825 script in subroutine `extract_distcommon'.
1826 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1827 test Makefile.am files. Add a trailing `:' command.
1828 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1829 call to `set -e' earlier. Be stricter and more verbose in the
1830 checking of the generated tarball.
1831 (configure.in): Use the stub provided by ./defs, instead of
1832 writing it from scratch. Avoid obsoleted constructs. Remove
1833 useless call to `AM_PROG_CC_C_O'.
1834 * tests/distdir.test: Various minor improvements/normalizations.
1835 * tests/distlinks.test: Likewise.
1837 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1839 Improve and extend test cond5.test.
1840 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1841 the background automake process, but poll it every 10 seconds for
1842 at most 30 times (this makes the test both faster on good machines,
1843 and more resilient to spurious timeout-due failures when in low
1844 priority or on heavily-loaded systems).
1845 Check also that automake writes the expected error messages on the
1847 Enable `errexit' flag, and related changes.
1848 Rely on the `configure.in' stub created by `./defs', rather than
1849 writing one from scratch.
1851 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1853 Update program --help output to match current GCS.
1854 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1855 is not defined, for compatibility to Autoconf < 2.64.
1856 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1858 (sc_diff_automake_in_automake): Update number of diff lines for
1859 additional substitutions.
1860 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1861 home page and GNU general help page.
1862 * automake.in (usage): Likewise.
1863 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1865 (Introduction, Creating amhello, amhello Explained, Options):
1867 * lib/Automake/Makefile.am (do_subst): Substitute
1869 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1870 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1873 Clean up @var handling in the manual.
1874 * doc/automake.texi: Throughout the manual, lower-case @var
1875 names, replace a few one-character names.
1877 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1879 Fix typo-related bug in test script silent5.test.
1880 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1883 Tests: remove useless repetitions of `foreign' automake option.
1884 * tests/multlib.test (configure.in): Remove useless use of
1885 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1886 already in $AUTOMAKE by default, so no point in repeating it).
1887 * tests/subobj10.test: Likewise.
1888 * tests/subobj9.test: Likewise.
1889 * tests/lex3.test (Makefile.am): Similarly, remove useless use
1890 of `foreign' option in AUTOMAKE_OPTIONS.
1891 * tests/lex5.test: Likewise.
1892 * tests/pr279.test: Likewise.
1893 * tests/pr279-2.test: Likewise.
1894 * tests/specflg3.test: Likewise.
1895 * tests/target-cflags.test: Likewise.
1897 Drop useless requirement "gzip" in lex5.test.
1898 * tests/lex5.test ($required): Do not list "gzip", as it's
1901 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1903 Fix bugs in test script silent5.test.
1904 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1905 instead of egrep) that could have led to false negatives.
1907 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1909 Add a test checking that distributed broken symlinks cause
1910 `make dist' to fail.
1911 * tests/distlinksbrk.test: New test.
1912 * tests/Makefile.am (TESTS): Updated.
1914 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1916 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1917 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1918 and AM_LFLAGS, LFLAGS in the order in which they now appear in
1921 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1922 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1923 please maintainer-check. Ensure generated C files contain a
1924 declaration, to please compilers.
1926 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1928 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1929 $(FLAGS) precedence.
1930 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1931 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1932 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1933 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1936 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1937 $(AM_FLAGS) and $(FLAGS) precedence.
1938 * tests/lflags.test: New test, check that user $(LFLAGS) takes
1939 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
1941 * tests/lflags2.test: Likewise.
1942 * tests/yflags.test: New test, check that user $(YFLAGS) takes
1943 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
1945 * tests/yflags2.test: Likewise.
1946 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1948 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1950 Modernize, improve and extend tests `suffix*.test'.
1951 * tests/suffix3.test: Enable `errexit' shell flag, and related
1953 * tests/suffix4.test: Likewise.
1954 * tests/suffix6.test: Likewise, and do not create a useless dummy
1956 * tests/suffix7.test: Likewise.
1957 * tests/suffix5.test: Enable `errexit' shell flag, and related
1958 changes. Make grepping of Makefile.in slightly stricter.
1959 * tests/suffix.test: Enable `errexit' shell flag, and related
1960 changes. Also, do not redirect grep output to /dev/null, as this
1961 might unmotivatedly hide useful information.
1962 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1963 in the script (just after inclusion of ./defs). Use a more
1964 idiomatic way to count text occurrences in Makefile.in with
1965 grep. Do not create useless dummy source files.
1966 * tests/suffix10.test: Ensure verbose printing of captured make
1967 stdout. Minor cosmetic changes.
1968 * tests/suffix8.test: Likewise. Also, drop useless call to the
1969 env(1) utility, and make grepping of make output stricter by using
1970 $FGREP rather than plain grep.
1971 * tests/suffix11.test: Likewise.
1972 * tests/suffix12.test: Likewise.
1973 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1974 the `configure.in' stub. Cosmetic changes.
1975 * tests/suffix13.test: Cosmetic spacing change.
1977 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1979 Add useful comment in test script ext.test.
1980 * tests/ext.test: Add a comment explaining why an apparently
1981 useless `if' statement is indeed required.
1983 Add useful comment in test script obsolete.test.
1984 * tests/obsolete.test: Add a comment explaining why we need
1985 an indirection in adding $AUTOUPDATE to $required.
1987 Normalize whitespaces in 'tests/Makefile.am'.
1988 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1989 definition of this variable.
1991 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1993 Remove a couple of unneeded conditionals from tests.
1994 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1995 for the FOOTEST conditional.
1997 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1999 Modernize, improve and/or fix various test scripts.
2000 * tests/symlink3.test: Deleted, separated into two new, more
2002 * tests/forcemiss.test: ... this one ...
2003 * tests/forcemiss2.test: ... and this one.
2004 * tests/symlink2.test: Enable `errexit' shell flag, make test
2005 stricter, and skip it if symlink creation is not supported.
2006 * tests/postproc.test: Enable `errexit' shell flag, related
2007 changes, and a couple of unrelated cosmetic changes.
2008 * tests/recurs.test: Use the `configure.in' stub created by
2009 `./defs', rather than writing one from scratch. Make grepping
2010 of Automake stderr slightly stricter.
2011 * tests/substtarg.test: Likewise.
2012 * tests/strip.test: Likewise, and move the call to `set -e'
2013 earlier (just after the inclusion of `./defs'). Also, make sure
2014 that the script installed by `make install-script' is equal to
2016 * tests/substref.test: Use the `configure.in' stub created by
2017 `./defs', rather than writing one from scratch. Move the call
2018 to `set -e' earlier (just after the inclusion of `./defs').
2019 Avoid to explicitly export CC for configure (that's already done
2020 in ./defs). Avoid potential problems with unpredictable make
2021 output. Finally, make grepping of Makefile.in stricter.
2022 * tests/substre2.test: Ensure verbose printing of the captured
2023 make's output, and make its grepping slightly stricter.
2024 * tests/cygwin32.test: Enable `errexit' shell flag, and related
2025 changes. Also, do not create useless dummy source/data files.
2026 * tests/scripts.test: Likewise.
2027 * tests/recurs2.test: Likewise. Also, use the `configure.in'
2028 stub created by `./defs'.
2029 * tests/Makefile.am (TESTS): Updated.
2031 Modernize, improve and/or fix tests `pluseq*.test.
2032 * tests/pluseq5.test: Append to configure.in using cat with an
2033 here-doc, not using echo.
2034 * tests/pluseq10.test: Make sure that the captured output of
2035 `make' command is always displayed. Where possible, use $FGREP
2036 instead of grep (this change makes some checks slightly stricter).
2037 * tests/pluseq8.test: Enable `errexit' shell flag, with related
2039 * tests/pluseq.test: Likewise. Also, do not create useless dummy
2040 data files, and use better m4 quoting in generated configure.in.
2041 * tests/pluseq2.test: Likewise. Also, append to configure.in
2042 using cat with an here-doc, not using echo.
2043 * tests/pluseq3.test: Likewise.
2044 * tests/pluseq4.test: Likewise.
2045 * tests/pluseq6.test: Likewise.
2046 * tests/pluseq7.test: Do not create useless dummy source file.
2047 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
2048 Automake stderr. Some unrelated cosmetic changes.
2050 Testsuite: ensure verbose printing of captured stderr.
2051 * tests/acloca18.test: Print captured stderr before either failing
2052 or grepping it. Be sure to send captured stderr to stderr, not to
2054 * tests/ansi3b.test: Likewise.
2055 * tests/cond39.test: Likewise.
2056 * tests/configure.test: Likewise.
2057 * tests/missing3.test: Likewise.
2058 * tests/missing6.test: Likewise.
2059 * tests/output-order.test: Likewise.
2060 * tests/pr300-ltlib.test: Likewise.
2061 * tests/python6.test: Likewise.
2062 * tests/python7.test: Likewise.
2063 * tests/python8.test: Likewise.
2064 * tests/python9.test: Likewise.
2065 * tests/subobj.test: Likewise.
2066 * tests/vars3.test: Likewise.
2067 * tests/missing4.test: Likewise, and fix a call to grep not to use
2069 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
2070 created by `./defs', rather than writing one from scratch.
2072 Enable `errexit' shell flag in various tests.
2073 * tests/backsl.test: Enable the `errexit' shell flag, and
2075 * tests/backsl2.test: Likewise.
2076 * tests/block.test: Likewise.
2077 * tests/canon2.test: Likewise.
2078 * tests/canon4.test: Likewise.
2079 * tests/comment2.test: Likewise.
2080 * tests/condlib.test: Likewise.
2081 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
2082 * tests/canon3.test: Likewise. Also, avoid to create an useless
2084 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
2085 related changes. Do some cosmetic improvements in the generated
2086 `configure.in' file.
2087 * tests/cond4.test: Likewise.
2088 * tests/cond14.test: Likewise.
2089 * tests/condinc.test: Likewise.
2090 * tests/cond7.test: Likewise. Also, remove useless setting of
2091 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
2092 * tests/ansi.test: Enable the `errexit' shell flag, and related
2093 changes. Extended, esp. by running autoconf, ./configure and
2094 make, and by looking into the distdir.
2096 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2097 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2099 Extend tests/README w.r.t. trailing `:' in test scripts.
2100 * tests/README (section "Writing test cases" subsection "Do"):
2101 Explain why apparently redundant trailing `:' and `Exit 0' in
2102 test scripts can indeed be useful.
2104 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2106 Improve determination of PATH separator in bootstrap script.
2107 * bootstrap: Determine what the PATH separator is the same way
2110 Minor improvements in bootstrap script.
2111 * bootstrap: Consistently use two-spaces indentation. Cosmetic
2112 improvement to comments.
2113 ($me): New variable, containing program basename.
2114 Prepend it to all error messages.
2116 Testsuite now works with BSD make in parallel mode.
2117 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
2118 which are exported by BSD make when run in parallel mode, and
2119 which can confuse make processes spawned by our testsuite.
2120 This change fixes a lot of spurious failure when the testsuite
2121 is run with BSD make in parallel mode.
2123 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2125 Modernize, improve and/or fix various test scripts.
2126 * tests/sanity.test: Rely on the `configure.in' stub created by
2127 `./defs', rather than writing one from scratch.
2128 * tests/depend2.test: Likewise. Also, call `set -e' just after
2129 the inclusion of `./defs', instead that later in the script.
2130 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
2131 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
2132 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
2133 Make auxiliary rules in the generated Makefile more silent.
2134 These changes make some checks slightly stricter.
2135 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
2136 * tests/gettext2.test: Place final `:' at the end of the script,
2137 rather than in the middle.
2138 * tests/exeext.test: Call `set -e' just after the inclusion of
2139 `./defs', instead that later in the script.
2140 * tests/extra5.test: Likewise.
2141 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
2142 plain `mv', just to be sure.
2143 * tests/depcomp.test: Enable `errexit' shell flag, with related
2144 changes. Also, modernize the generated configure.in.
2145 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
2146 stub created by `./defs', rather than writing one from scratch.
2147 * tests/cond10.test: Likewise.
2148 * tests/depcomp2.test: Likewise.
2149 * tests/depend3.test: Likewise.
2150 * tests/distcom7.test: Likewise.
2151 * tests/fortdep.test: Likewise. Also, remove definition of
2152 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
2153 since that flag is already provided by $AUTOMAKE.
2154 * tests/mdate.test: Made stricter, by checking that Automake
2155 actually failed, and by making a stricter grep on the error
2156 message. Also, set shell `errexit flag'.
2157 * tests/python2.test: Improved verbose messages.
2159 Make test `ammissing.test' stricter.
2160 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
2161 Enable `errexit' shell flag.
2163 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2165 Enable `errexit' shell flag in some test scripts.
2166 * tests/subcond.test: Enabled `errexit' shell flag, and related
2168 * tests/subst.test: Likewise.
2169 * tests/vars.test: Likewise.
2170 * tests/version4.test: Likewise.
2171 * tests/vpath.test: Likewise.
2172 * tests/vtexi2.test: Likewise.
2173 * tests/werror.test: Likewise.
2174 * tests/whoami.test: Likewise.
2175 * tests/tags.test: Likewise, and avoid to crate an useless dummy
2177 * tests/acsilent.test: Likewise, and don't use an easily-avoided
2178 command substitution.
2179 * tests/unused.test: Likewise, and don't use an easily-avoided
2180 command substitution.
2181 * tests/version.test: Likewise, and avoid deprecated constructs
2182 in the generated `configure.in'.
2183 * tests/version2.test: Likewise, and avoid deprecated constructs
2184 in the generated `configure.in'.
2186 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2188 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
2189 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
2190 the verbose log contains all output.
2191 * tests/mdate.test: Likewise.
2192 Prompted by Stefano Lattarini's change to discover.test.
2194 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2196 Improve tests link*.test (enable `errexit' shell flag).
2197 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
2198 changes. Also, do not create useless source files.
2199 * tests/link_dist.test: Likewise.
2200 * tests/link_f90_only.test: Likewise.
2201 * tests/link_f_only.test: Likewise.
2202 * tests/link_fc.test: Likewise.
2203 * tests/link_fccxx.test: Likewise.
2204 * tests/link_fcxx.test: Likewise.
2206 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2208 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
2209 * tests/ext.test: Inside shell compound command, use
2210 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
2211 fix failure with OpenBSD sh introduced with last patch.
2212 Actually ensure that a rule for .EXT.o is created for each
2213 known extension EXT.
2215 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2217 Enable `errexit' shell flag in some test scripts.
2218 * tests/dash.test: Enable `errexit' shell flag, and related
2220 * tests/defun.test: Likewise.
2221 * tests/defun2.test: Likewise.
2222 * tests/dejagnu.test: Likewise.
2223 * tests/double.test: Likewise.
2224 * tests/distcom2.test: Likewise.
2225 * tests/empty2.test: Likewise.
2226 * tests/empty3.test: Likewise.
2227 * tests/empty4.test: Likewise.
2228 * tests/exdir.test: Likewise.
2229 * tests/ext.test: Likewise.
2230 * tests/extra.test: Likewise.
2231 * tests/extra2.test: Likewise.
2232 * tests/extra3.test: Likewise.
2233 * tests/extra4.test: Likewise.
2234 * tests/flibs.test: Likewise.
2235 * tests/fnoc.test: Likewise.
2236 * tests/fo.test: Likewise.
2237 * tests/instexec.test: Likewise.
2238 * tests/ltdeps.test: Likewise.
2239 * tests/nodep.test: Likewise.
2240 * tests/nodepcomp.test: Likewise.
2241 * tests/f90only.test: Likewise, and remove botched/obsoleted
2242 comments and unnecessary commands.
2243 * tests/fonly.test: Likewise, and remove botched/obsoleted
2244 comments and unnecessary commands.
2245 * tests/discover.test: Likewise, and made stricter.
2247 Enable `errexit' shell flag in all tests cxx*.test.
2248 * tests/cxx.test: Enabled `errexit' shell flag, and related
2250 * tests/cxxansi.test: Likewise.
2251 * tests/cxxcpp.test: Likewise.
2252 * tests/cxxlibobj.test: Likewise.
2253 * tests/cxxlink.test: Likewise.
2254 * tests/cxxo.test: Likewise.
2256 Enable `errexit' shell flag in various tests.
2257 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
2259 * tests/acoutpt.test: Likewise.
2260 * tests/acoutqnl.test: Likewise.
2261 * tests/amassign.test: Likewise.
2262 * tests/ansi2.test: Likewise.
2263 * tests/ansi4.test: Likewise.
2264 * tests/badprog.test: Likewise.
2265 * tests/checkall.test: Likewise.
2266 * tests/clean.test: Likewise.
2267 * tests/colneq2.test: Likewise.
2268 * tests/colon.test: Likewise.
2269 * tests/colon5.test: Likewise.
2270 * tests/colon6.test: Likewise.
2271 * tests/comment.test: Likewise.
2272 * tests/compile_f90_c_cxx.test: Likewise.
2273 * tests/compile_f_c_cxx.test: Likewise.
2274 * tests/cond3.test: Likewise.
2275 * tests/cond6.test: Likewise.
2276 * tests/cond13.test: Likewise.
2277 * tests/conf2.test: Likewise.
2278 * tests/confvar.test: Likewise.
2279 * tests/confvar2.test: Likewise.
2280 * tests/cond8.test: Likewise, plus a cosmetic change.
2281 * tests/confh4.test: Likewise. Also, add in the heading comments
2282 an excerpt from the original bug report which motivated the
2283 creation of this test, to make its purpose clearer.
2285 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2287 Rewrite manual to be gender-neutral.
2288 * doc/automake.texi (GNU Build System)
2289 (Standard Directory Variables, General Operation, CVS)
2290 (Hard-Coded Install Paths, Dependencies As Side Effects):
2291 Rewrite text to not contain gender-specific pronouns when
2292 speaking about developers or users, either by avoiding pronouns
2293 or by addressing them as `you' instead.
2295 Report by Christina Gratorp.
2299 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2301 Make tests on user extensibility of silent-rules mode stricter.
2302 * tests/silent6.test: Made stricter w.r.t. the grepping of the
2303 output produced by `make'.
2304 * tests/silent7.test: Likewise.
2306 Tests on silent-mode for C/Libtool made stricter.
2307 * tests/silent.test: Made stricter w.r.t. the grepping of the
2308 output produced by `make'.
2309 * tests/silent2.test: Likewise.
2310 * tests/silent4.test: Likewise.
2311 * tests/silent9.test: Likewise.
2312 * tests/silent3.test: Likewise, and add a final `make distclean'
2313 command to keep it better in sync with tests/silent{4,9}.test.
2315 Improved test silent5.test.
2316 * tests/silent5.test: Remove by hand all generated C files after
2317 non-verbose builds, to ensure the following builds are clean.
2318 Try to clean and rebuild with the same verbosity and without
2319 removing generated sources in between, to check that this does
2320 not trigger a different set of rules. Make grepping of make's
2321 output stricter. Improved/added some comments.
2323 New tests for Automake silent-mode with Fortran.
2324 * tests/silentf77.test: New test.
2325 * tests/silentf90.test: Likewise.
2326 * tests/Makefile.am (TESTS): Updated accordingly.
2328 New test `silentcxx.test' (Automake silent-mode with C++).
2329 * tests/silentcxx.test: New test.
2330 * tests/Makefile.am (TESTS): Updated accordingly.
2332 New test `silentyacc.test' (Automake silent-mode with Yacc).
2333 * tests/silentyacc.test: New test.
2334 * tests/Makefile.am (TESTS): Updated accordingly.
2336 New test `silentlex.test' (Automake silent-mode with Lex).
2337 * tests/silentlex.test: New test.
2338 * tests/Makefile.am (TESTS): Updated accordingly.
2340 Relax tests on silent-rules to cater to overly verbose makes.
2341 * tests/silent.test: When testing silent builds, don't fail if
2342 make's output simply contains the `mv' substring, but only if
2343 it contains the `mv ' substring (note the trailing space).
2344 * tests/silent2.test: Likewise.
2345 * tests/silent3.test: Likewise.
2346 * tests/silent4.test: Likewise.
2347 * tests/silent5.test: Likewise.
2348 * tests/silent9.test: Likewise.
2350 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2352 Fix silent-rules output for disabled dependency tracking.
2353 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2354 expansion code to also work in the case where %AMDEP% expands
2355 to FALSE at config.status time, using new substitution string
2357 * automake.in (verbose_nodep_flag): New function, appending
2358 `@am__nodep@' to the verbose-variable name.
2359 (handle_languages): If dependencies are not disabled, use it to
2360 set %VERBOSE-NODEP%.
2361 * m4/depend.m4: Substitute am__nodep as '_no', so the second
2362 verbose-variable will always expand to an empty string, if
2363 dependencies are enabled.
2364 * tests/silent5.test: Also test --disable-dependency-tracking;
2365 also test per-target flags for non-C language files.
2366 * tests/silent9.test: New test, like silent4.test but disable
2367 dependency tracking.
2368 * tests/Makefile.am: Adjust.
2369 * NEWS, THANKS: Update.
2370 Report by Dmitry V. Levin <ldv@altlinux.org>.
2372 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2374 Extend test on `nostdinc' automake option.
2375 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
2376 unrelated minor changes. Make the grepping of the generated
2377 Makefile.in slightly stricter. Generate and run configure, so that
2378 the generated Makefile can be grepped too.
2380 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2382 Make gnupload portable to EBCDIC hosts.
2383 * lib/gnupload: Use literal newline as argument for 'tr' rather
2384 than \015, for EBCDIC hosts. Also, avoid unportable nested
2385 double-quotes and backquotes.
2387 Report from Eric Blake and Steve Goetze via gnulib.
2389 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2391 Fix Autoconf version required by Automake's configure.
2392 Automake configure script used to tell that automake required
2393 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2394 and if that was not found, it gave an error saying that Automake
2395 required configure 2.61a-341 or later. This change should
2396 eliminate such inconsistencies.
2397 * configure.ac ($required_autoconf_version): New variable.
2400 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2402 Fix unportable sed script in maintainer-check test.
2403 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2404 not contain semicolon after 'b' or brace commands, for NetBSD.
2406 Wildcards are not portable to NetBSD make.
2407 * doc/automake.texi (Wildcards): Document portability issue.
2408 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2411 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2413 Make test for configure.in vs. configure.ac stricter.
2414 * tests/configure.test: Use a configure.in file that provokes
2415 an automake error, to ensure configure.ac is preferred.
2417 Avoid possible false negatives in dejagnu7.test.
2418 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
2419 unportable use of fgrep option `-e'.
2421 Fix conflnk3.test to work with Solaris/Heirloom Sh.
2422 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
2423 instead of respectively `test -e FILE' and `test ! -e FILE',
2424 since Solaris Sh doesn't grok the latter. Do not SKIP the test
2425 if the shell doesn't support `test -e'.
2427 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2430 * doc/automake.texi (Simple Tests using parallel-tests): Add
2431 missing closing parenthesis.
2433 Fix leftover call to removed function macros_dump.
2434 * automake.in (read_main_am_file): Call variables_dump, not
2435 macros_dump. Print actual error before list of variables.
2437 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
2439 Minor improvements in comments of test `silent3.test'.
2440 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
2443 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2445 testsuite: ensure verbose printing of captured output.
2446 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
2447 tests/fort2.test, tests/help.test, tests/missing3.test,
2448 tests/missing6.test: Print captured stdout or stderr before
2451 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2453 Make test badopt.test stricter (by enabling `set -e').
2454 * tests/badopt.test: Add call to `set -e'. Due to this change,
2455 an unexpected failure in the call to `$ACLOCAL' (whose outcome
2456 was previously unchecked) would cause the whole test to fail.
2457 Also, bumped the copyright years.
2459 Make test for configure.in vs. configure.ac stricter.
2460 * tests/configure.test: Use a configure.in file that provokes
2461 an automake error, to ensure configure.ac is preferred.
2463 Use `set -e' in confsub.test (avoids possible false negatives).
2464 * tests/confsub.test: Enable shell `errexit' flag, and related
2465 changes (this helps avoiding some possible minor false negatives).
2466 Also, bumped copyright years.
2468 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2470 Fix -Werror handling for presence of configure.in and configure.ac.
2471 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2472 $configure_ac at the global level, before command-line arguments
2474 (require_variables): Initialize it here.
2475 * tests/configure.test: New test.
2476 * tests/Makefile.am: Update.
2477 Report by Stefano Lattarini.
2479 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2481 Avoid possible false negatives in confh5.test.
2482 * tests/confh5.test: Enable shell `errexit' flag, and bumped
2483 copyright years. Due to this change, any unexpected failure
2484 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2485 a failure in grepping expected text in output files should now
2486 cause the whole test to fail.
2488 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2490 Fixed typo in POD documentation of Automake::Channels.
2491 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2492 @<...> was used instead of C<...>.
2494 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2496 Refactor tests on Automake TESTS color output.
2497 * tests/color.test: Tests using the expect program moved out to...
2498 * tests/color2.test: ... this new file.
2499 * tests/Makefile.am (TESTS): Extended accordingly.
2501 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2503 Fix typos in comments in test confh5.test
2504 * tests/confh5.test: Fix a couple of typos in comments.
2506 Avoid possible false negatives in canon-name.test.
2507 * tests/canon-name.test: Enable shell `errexit' flag. Improve
2510 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2512 Fix per-Makefile.am setting of -Werror.
2513 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2514 Makefile.am would carry over to other Makefile.am files
2515 treated afterwards by the same thread, causing inconsistent
2516 and unstable exit status values.
2517 * lib/Automake/Channels.pm (dup_channel_setup)
2518 (drop_channel_setup): Save and restore the setting of
2519 $warnings_are_errors.
2520 * tests/werror3.test: New test.
2521 * tests/Makefile.am: Adjust.
2524 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2526 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2527 * tests/confh5.test: In the generated Makefile.am: do not use
2528 `test ! -e FILE' to check for the non-existence of a file, since
2529 that is not supported by Solaris/Heirloom Sh.
2531 Make test `aclocal3.test' stricter.
2532 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
2533 succeds unexpectedly.
2535 Add tests checking that symlinks are resolved by `make dist'.
2536 * tests/distlinks.test: New test.
2537 * tests/Makefile.am (TESTS): Updated accordingly.
2538 Suggested by observations from Ralf Wildenhues.
2540 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2542 Use -9 for maximum xz compression with dist-xz.
2543 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2544 * NEWS, THANKS: Update.
2545 Report by Pavel Sanda.
2547 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
2549 Avoid an unportable use of `$status' shell variable.
2550 * Makefile.am (path-check): Don't use the `$status' shell variable
2551 in the target's rules, as it's special in Zsh (equivalent to `$?',
2554 Avoid another use of `chmod -R'.
2555 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2556 $(distdir) before removing it (as Solaris `chmod -R' touches
2557 symlink targets). Instead, use the cleanup strategy used in
2560 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2562 Remove uses of @acronym and @sc.
2563 * doc/automake.texi (Public Macros, Limitations on File Names):
2564 Remove all usage of @acronym and @sc in the manual.
2565 Suggested by Karl Berry.
2567 2010-03-13 Karl Berry <karl@freefriends.org>
2569 GNU hello uses fdl.texi, not gpl.texi.
2570 * doc/automake.texi (Texinfo): Adjust example to upstream
2573 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2575 Formatting cleanups in macro comments.
2576 * automake.in, lib/Automake/Channels.pm,
2577 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2578 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2579 m4/options.m4, m4/substnot.m4: Fix macro comment format.
2581 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2582 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2584 Avoid generation of `tests/defs-p' file.
2585 * tests/defs.in: In the generated `configure.in' snippet: call
2586 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2587 variable `parallel_tests' is set to `yes'.
2588 * tests/Makefile.am (defs-p): Target removed.
2589 (check_SCRIPTS): Removed `defs-p'.
2590 (clean-local-check): Do not unlink `defs-p' anymore.
2591 ($(parallel_tests)): Transformation rules for the test scripts
2593 * tests/gen-parallel-tests: Selection rules for the test
2595 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2596 then include `./defs' (rather than simply including `./defs-p').
2597 * tests/parallel-tests2.test: Likewise.
2598 * tests/parallel-tests3.test: Likewise.
2599 * tests/parallel-tests4.test: Likewise.
2600 * tests/parallel-tests5.test: Likewise.
2601 * tests/parallel-tests6.test: Likewise.
2602 * tests/parallel-tests7.test: Likewise.
2603 * tests/parallel-tests8.test: Likewise.
2604 * tests/parallel-tests9.test: Likewise.
2605 * tests/parallel-tests10.test: Likewise.
2606 * tests/README (Section "Writing Test Cases" subsection "Do"):
2607 Adjusted the parts referring to tests checking `parallel-tests'
2608 behaviour. Some other minor related improvements.
2609 * tests/.gitignore (defs-p): Removed.
2611 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2613 Remove redundant unset of variable TESTS from some test scripts.
2614 * tests/color.test: Do not unset the `TESTS' variable, as it's
2615 already unset in the `defs' file.
2616 * tests/check5.test: Likewise.
2617 * tests/check8.test: Likewise.
2618 * tests/check9.test: Likewise.
2619 * tests/check10.test: Likewise.
2620 * tests/check11.test: Likewise.
2621 * tests/parallel-tests.test: Likewise.
2622 * tests/parallel-tests3.test: Likewise.
2623 * tests/parallel-tests4.test: Likewise.
2624 * tests/parallel-tests5.test: Likewise.
2625 * tests/parallel-tests6.test: Likewise.
2626 * tests/parallel-tests7.test: Likewise.
2628 2010-02-22 Karl Berry <karl@gnu.org>
2630 Improve help message of mdate-sh.
2631 * mdate-sh: mention actual output format in help message.
2633 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2635 Deprecate dist-lzma in favor of dist-xz.
2636 * doc/automake.texi (The Types of Distributions, Options):
2637 Adjust text to reflect renaming of lzma to xz.
2639 Missing deprecation noted by Antonio Diaz Diaz.
2641 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2643 Add tests about support of wildcards in EXTRA_DIST.
2644 * tests/extra10.test: New test, check basic support of wildcards
2646 * tests/extra11.test: New test, check more complex usage of
2647 wildcards in EXTRA_DIST.
2648 * tests/extra12.test: New test, check usage of wildcards in
2649 EXTRA_DIST when $builddir != $srcdir.
2650 * tests/Makefile.am (TESTS): Updated accordingly.
2651 Necessity of these new tests suggested by Braden McDaniel
2652 and Ralf Wildenhues.
2654 2010-02-08 Simon Josefsson <simon@josefsson.org>
2656 Fix copyright statement in gnupload script.
2657 * lib/gnupload: Fix copyright statement.
2659 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
2660 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2662 Fix exit status of signal handlers in shell scripts.
2663 The value of `$?' on entrance to signal handlers in shell scripts
2664 cannot be relied upon, so set the exit code explicitly to
2666 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2667 * lib/elisp-comp: Likewise.
2668 * lib/install-sh: Likewise.
2669 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
2670 * NEWS, THANKS: Update.
2671 Bug report, analysis, and initial patch by Dmitry V. Levin.
2673 2010-02-06 Karl Berry <karl@gnu.org>
2675 Improve gnupload usage text.
2676 * gnupload (usage): Shorten to make more likely to fit on a tty
2677 line. Mention CMD in the synopsis. With ..., plural is implied.
2679 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
2681 Fix some typos in the manual
2682 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2684 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2686 Slighty improve tests acoutbs.test and acoutbs2.test.
2687 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
2688 autoconf and configure work, that the file `zot' is created by
2689 configure, and that no file containing a backslash in its name is
2691 * tests/acoutbs.test: Likewise, plus updated copyright years.
2693 Fix test acoutbs2.test.
2694 * tests/acoutbs2: In the generated configure.in: add proper calls
2695 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2696 PACKAGE and VERSION. Add a call to aclocal before calling automake.
2697 Updated copyright years.
2698 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2700 Add forgotten test scripts to $(TESTS).
2701 * tests/Makefile.am (TESTS): Added test scripts present on the
2702 filesystem, which were erroneously left out from $(TESTS):
2703 acoutbs2.test, badopt.test, extra2.test.
2704 (XFAIL_TESTS): Added acoutbs2.test.
2706 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2708 Sync auxiliary files from upstream.
2709 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2712 Bump copyright years.
2713 * aclocal.in (write_aclocal, version): Bump copyright years.
2714 * automake.in (gen_copyright, version): Likewise.
2715 * doc/automake.texi: Likewise.
2718 * ChangeLog.09: New file, rotated from ...
2719 * ChangeLog: ... here.
2720 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2724 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
2726 Copying and distribution of this file, with or without modification, are
2727 permitted provided the copyright notice and this notice are preserved.