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