1 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
3 py-compile: complain on unrecognized options
4 * lib/py-compile: Complain on unrecognized options. Don't be too
5 lax in matching `--help' and `--version' options.
6 * tests/py-compile-usage.test: Extend accordingly.
9 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
11 py-compile: normalize error and help messages
12 * lib/py-compile: Now error messages do not begin with a capital
13 letter, nor end with a period, as per GNU standards. Prepend the
14 error messages with the name of the script, not with its path.
15 When an invalid usage is recognized, always display the customary
16 message "Try `py-compile --help' ..." on a line of its own.
17 ($me): New variable, containing the name of the
18 program, i.e., `py-compile'. Use it throughout.
19 (usage_error): New function, used to display error messages about
21 * tests/py-compile-usage.test: Extend and tighten accordingly.
23 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
25 python tests: add "unit tests" on py-compile
26 * tests/py-compile-basic.test: New test.
27 * tests/py-compile-basic2.test: New test.
28 * tests/py-compile-basedir.test: Likewise.
29 * tests/py-compile-destdir.test: Likewise.
30 * tests/py-compile-env.test: Likewise.
31 * tests/py-compile-usage.test: Likewise.
32 * tests/Makefile.am (TESTS): Update.
33 Tested with python 2.0.1, 2.4.6, 2.6.6, 2.7.1, and 3.1.3.
35 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
37 py-compile: the '--destdir' option now accepts a blank argument
38 * lib/py-compile (Option parsing): Do not count an empty argument
39 to `--destdir' or `--basedir' as a missing argument.
40 * lib/python.am: Simplify accordingly, passing the `--destdir'
41 option to py-compile unconditionally, even if `$(DESTDIR)' is
45 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
47 python: run the 'py-compile' script with $(SHELL)
48 * lib/python.am (install-%DIR%PYTHON): Run each instance of
49 py-compile using $(SHELL). Since we are at it, break overly
51 (am__py_compile): New variable, to reduce code duplication.
53 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
55 maintcheck: fix some failures, extend some checks
56 * Makefile.am (sc_diff_automake_in_automake): Update, as we
57 now expect 9 lines, not 8, to be changed from `automake.in'
59 (sc_diff_aclocal_in_aclocal): New maintainer check, similar to
60 the above, and checking that only 10 lines are changed from
61 `aclocal.in' to `aclocal'.
62 (syntax_check_rules): Update.
63 (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test'
64 from this check, as they can legitimately use the bare `exit'
65 builtin in various places.
66 * doc/automake.texi (Python): Remove stray `@' from the end of
67 a line. Typo introduced in commit `v1.11-312-g5bf7af6'.
68 * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make
69 from the environment rather than from the command line, to
70 pacify the `sc_tests_overriding_macros_on_cmdline' maintainer
72 * tests/depcomp8b.test: Likewise.
74 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
76 remake: behave better with non-GNU make in subdirectories
77 Currently, with every decent make program, it is possible to
78 rebuild out-of-date autotools-generated files with a simple
79 "make Makefile" -- but for this to work reliably with non-GNU
80 make implementations, the command must be issued from the
81 top-level directory. This patch removes such limitation.
82 * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'.
83 * tests/defs.in (using_gmake): New function, backported from the
84 `master' branch (and simplified).
85 * tests/remake-subdir.test: New test.
86 * tests/remake-subdir2.test: Likewise.
87 * tests/remake-subdir-gnu.test: Likewise.
88 * tests/remake-subdir-from-subdir.test: Likewise.
89 * tests/Makefile.am (TESTS): Update.
91 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
93 automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE
94 Currently, the Automake's own configure script allow definition
95 of AUTOCONF and AUTOM4TE, expected to point respectively to an
96 autoconf and autom4te programs. But while these definitions are
97 honoured in the Automake's build systems and test suite, they
98 were *not* honoured in the generated `automake' and `aclocal'
99 scripts. This behaviour, apart from being wrong in that it does
100 not allow the user enough freedom in choosing his tools, also
101 caused inconsistencies in the test suite, brining to spurious
103 Problem reported by Graham Reitz on the automake list; see thread:
104 <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html>
105 * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'.
106 * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'.
107 * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and
112 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
114 build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
115 Our build system allows the user to override AUTOCONF and AUTOHEADER
116 at configure time, and honours these overrides in our testsuite.
117 But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
118 This change fixes that inconsistency.
119 * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
120 AC_SUBSTitutions. Update comments.
121 * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
122 ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
123 ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
124 * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
126 2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
127 Stefano Lattarini <stefano.lattarini@gmail.com>
129 tests/README: fix example about `make -e' usage
130 * tests/README (Section "Writing test cases" subsection "Do"): When
131 some variable is never initialized in the Makefile, `-e' is not
132 necessary in order to override it. DESTDIR is such a variable: we
133 ensure that we do not ever initialize it. And as such, it is quite
135 $ make DESTDIR=/foo/bar install
136 and in fact, quite widely used.
137 So our example about when `make -e' is required, which references
138 the `DESTDIR' variable, is poorly chosen, if not downright wrong.
139 Rewrite it to use `prefix' as the overridden variable instead.
141 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
143 testsuite: avoid re-running few tests with 'parallel-tests' option
144 Some tests in our testsuite use the 'simple-tests' driver only
145 marginally, or simply as a mean to conveniently check unrelated
146 invariants. It makes little sense to force these tests to also
147 run with the 'parallel-tests' Automake option active, as doing so
148 offers no real gain in coverage, while often causing a measurable
149 overhead in execution time (for an already too-slow testsuite).
150 * tests/pr401.test (parallel_tests): Define to "no", to prevent
151 the generation of a sibling test script using the 'parallel-tests'
153 * tests/pr401b.test: Likewise.
154 * tests/pr401c.test: Likewise.
156 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
158 testsuite: allow tests to avoid the use of 'parallel-tests' option
159 * tests/gen-parallel-tests: Do not generate "siblings" for tests
160 that explicitly define the `parallel_tests', whether to "yes" or
161 to any other value. Extend heading comments to give a rationale
163 * tests/README: Update.
165 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
167 tests/README: update obsoleted advice
168 * tests/README (Section "Writing test cases" subsection "Do"):
169 Do not suggest to use the `*-p.test' pattern for the names of
170 hand-written tests which use the `parallel-tests' Automake option.
171 Not only is this not respected by the existing tests, but it is
172 more likely to cause conflicts with auto-generated tests.
173 So, suggest to *avoid* using the `*-p.test' pattern in names
174 of hand-written tests instead.
175 (Section "Writing test cases" subsection "Do not"): When
176 suggesting not to override Makefile variables using command
177 line arguments, do not use the badly outdated variables `U'
178 and 'ANSI2KNR' in the example; instead, use the more common
179 and typical `DESTDIR'.
181 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
183 test defs: rename requirement 'non-cross' -> 'native'
184 * tests/defs.in (non-cross): Rename requirement ...
185 (native): ... to this, which is clearer and fits the
186 existing lingo better.
187 Suggestion by Ralf Wildenhues.
189 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
191 testsuite: be more cross-compile friendly
192 * tests/defs.in (cross_compiling): New subroutine.
193 (am__tool_prefix): New internal variable.
194 (gcc, g++, gcj): Force the use of the correct "tool prefix"
195 when cross compiling.
196 (gfortran, g77, non-cross): New requirements.
198 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
200 tests: fix spurious failure of txinfo21.test on FreeBSD
201 * tests/txinfo21.test: Use the `is_newest' subroutine instead of
202 the `ls -t' hack to to determine whether a file has been updated.
203 This is required because at least FreeBSD `ls' do not sort files
204 with the same timestamp in alphabetical order when using the `-t'
207 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
209 tests defs: allow requirements for compilers (mostly dummy)
210 Most of the new requirements that are now accepted in `$required'
211 as consequence of this patch are still dummy. They are planned
212 to be implemented only in master (or in some derived branch), but
213 having them here (even just as no-op) will allow for an easier
214 integration/backporting of potential new testcases.
215 * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
217 (flex): New requirement, picking LEX for configure.
218 (lex): New requirement, alias for `flex'. A more appropriate
219 implementation, looking for a generic `lex' program, will follow
221 (yacc): New requirement, alias for `bison'. A more appropriate
222 implementation, looking for a generic `yacc' program, will follow
225 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
227 tests: fix spurious failure in a test on TESTS (VPATH-related)
228 * tests/check-tests-in-builddir.test: When not using the
229 parallel-tests option, do not check that VPATH components are
230 not present in the displayed test name, since the simple-tests
231 driver do not try to strip them.
233 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
235 test: self check subroutines for skipping/failing of tests
236 * tests/self-check-report.test: New test.
237 * tests/Makefile.am (TESTS): Update.
239 2011-04-23 Jim Meyering <meyering@redhat.com>
240 Stefano Lattarini <stefano.lattarini@gmail.com>
242 test defs: new subroutines for test skipping/failing
243 * tests/defs.in (Exit): Move definition of this function earlier.
244 (warn_, skip_, fail_, framework_failure_): New functions, inspired
245 to the homonyms in gnulib's tests/init.sh.
246 ($stderr_fileno_): New global variable, used by the new functions
248 * tests/README: Updated.
249 From a suggestion by Ralf Wildenhues.
251 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
253 tests: fix typo (copy & paste blunder) in heading comment
254 * tests/maintclean-vpath.test: Correctly refer to the sister test
255 as `maintclean.test', not as `maintclean-vpath.test'.
257 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
259 tests: remove redundant test `mclean.test'
260 * tests/mclean.test: Remove, it's a weak grepping test completely
261 superseded by the much more complete `maintclean.test'.
262 * tests/Makefile.am (TESTS): Update.
264 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
266 testsuite: more environment sanitization
267 * tests/defs.in: Sanity check: abort if any of `parallel_tests'
268 or `required' is in the environment.
269 ($sed_unindent_prog): Initialize to empty, to avoid interferences
270 from the environment.
271 * tests/self-check-me-in-env.test: Renamed to ...
272 * tests/self-check-env-sanitize.test: ... this, and extended.
273 * tests/Makefile.am (TESTS): Update.
274 (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
275 `required'. Adjust comments.
277 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
279 tests: don't allow `$me' to be overridden from the environment
280 * tests/defs.in: Sanity check: abort if $me is in the environment.
281 * tests/self-check-me-in-env.test: New test.
282 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
284 Suggestion by Ralf Wildenhues.
286 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
288 test defs: allow overriding of `$me'
289 * tests/defs.in ($me): Allow overriding by the including test
290 script. Add some explicative comments.
292 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
294 depcomp tests: don't reject slower dependency extractors
295 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
296 option to `configure' invocations, so that slower dependency
297 extractors are not rejected.
298 * tests/depcomp8a.test: Likewise. Also ...
299 (foo.c): ... since we are at it, fix spacing to be consistent
300 with GNU coding standards.
302 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
304 m4: add missing serial numbers to a few files
305 Related to automake bug#8483.
306 * m4/amversion.in: Add serial number.
307 * m4/auxdir.m4: Likewise.
308 * m4/gcj.m4: Likewise.
309 * m4/install-sh.m4: Likewise.
310 * m4/mkdirp.m4: Likewise.
311 * m4/python.m4: Likewise.
312 * m4/runlog.m4: Likewise.
313 * m4/strip.m4: Likewise.
314 * m4/upc.m4: Likewise.
316 2011-04-16 Jim Meyering <meyering@redhat.com>
318 depcomp: correct invalid sed invocation
319 * lib/depcomp: Insert missing -e before '/:$/d'.
320 Otherwise, that use of sed would treat '/:$/d' as a file name.
322 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
324 maintainer check: quote literal `$' in Makefile rule
325 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
326 character in double-quoted string. Fix a bug in which the rule
327 emitted an erroneously empty substring in its error message.
329 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
331 coverage: test for automake bug#8485 (known regression)
332 * tests/yacc-dist-nobuild-subdir.test: New test.
333 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
335 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
337 test defs: define default $distdir (help reducing duplication)
338 * tests/defs.in ($distdir): New variable, might be used in
339 testcases checking distribution-related features.
340 * tests/pr9.test: Use it.
341 * tests/subdir9.test: Likewise.
342 * tests/vtexi3.test: Add comment explaining why we redefine
343 $distdir in this test.
345 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
347 depcomp: fix bugs in tests and in the depcomp script
348 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
349 * tests/depcomp10.test: Make it executable. Fix a blunder that
350 has left part of an intended comment not prefixed by `#', thus
351 causing shell syntax errors. In this same comment, break a
352 too-long reported error message on multiple lines, for clarity.
353 Add reference to the relevant bug report. Add a comment which
354 explains why the test result 'skipped' if the first "make" call
355 fails. Add other useful comments.
356 * tests/depcomp9.test: Slightly improve comments.
358 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
360 Fix hp depmode for VPATH builds with GNU make.
361 * lib/depcomp: Be sure to remove VPATH-prefixed object from
362 dependency output when creating stub rule.
363 * tests/depcomp10.test: New test.
364 * tests/Makefile.am (TESTS): Update.
366 Report by Bruno Haible.
368 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
370 test defs: fix 'javac' requirement for older JDK versions
371 The Java compiler from JDK 1.5 (and presumably earlier versions)
372 cannot handle the `-version' option by itself; and while it does
373 print the version number, it then errors out with an usage error:
376 javac: no source files
377 Usage: javac <options> <source files>
379 Luckily, adding the `-help' option to the `javac' invocation
380 seems to fix this problem.
381 * tests/defs.in (javac): Pass also the `-help' option to the
382 `javac' program. Add a comment explaining why it is needed.
383 Report from Ralf Wildenhues.
385 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
387 test defs: new requirement for the default java compiler
388 * tests/defs.in (for tool in $required): New requirement 'javac'.
389 * tests/java.test: Use it instead of ad-hoc configure check.
390 * tests/java-check.test: Likewise.
391 * tests/instfail-java.test: Likewise.
392 * tests/instdir-java.test: Likewise.
394 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
396 java: check_JAVA does not cause compilation by "make all" anymore
397 Fixes automake bug#8234.
398 * automake.in (handle_java): Make stamp of class files built from
399 java sources in $(check_JAVA) a dependency of `check' target, not
401 * tests/java-check.test: New test.
402 * tests/Makefile.am (TESTS): Update.
405 Report from Petteri Räty.
407 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
409 Clarify regex code in depcomp.
410 * lib/depcomp: Add comment why we don't need regex-escaping here.
411 Suggested by Stefano Lattarini.
413 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
415 Fix makedepend depmode for VPATH builds.
416 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
417 object file name, so a rebuild doesn't attempt to update the
418 .Po files in the source tree.
419 * tests/depcomp9.test: New test.
420 * tests/Makefile.am (TESTS): Update.
423 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
425 tests: fix timestamp-related failures
426 Fixes automake bug#8365.
427 * tests/aclocal6.test: Sleep before modifying m4 files that should
428 trigger remake rules. Remove incorrect/obsoleted comments.
429 * tests/subdir5.test: Likewise, and extend a bit.
430 * tests/subdir8.test: Likewise.
431 * tests/pr8365-remake-timing.test: New xfailing test.
432 * tests/Makefile.am (TESTS): Update.
433 Report from Sam Steingold.
435 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
437 Create subdirs for generated sources even when not dep tracking.
438 * automake.in (handle_single_transform): If $object is derived
439 and lands in subdir, be sure to output a dirstamp dependency.
440 * tests/yacc5.test: Avoid falsely matching the dirstamp
441 dependency when grepping for a rule.
442 * tests/lex-subobj-nodep.test: New test.
443 * tests/Makefile.am (TESTS): Update.
445 Report by Ignacy Gawedzki.
447 Fix locale issue in check-exported-srcdir.test.
448 * tests/check-exported-srcdir.test: Reformulate glob to not fail
449 in a locale that ignores or interleaves character case.
451 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
453 docs: better visibility for aclocal in the index
454 * doc/automake.texi (@menu): Rename title for entry 'configure'
455 from "Scanning configure.ac or configure.in" to the more precise
456 "Scanning configure.ac, using aclocal".
457 (@detailmenu): Adjust.
458 (@node configure): Adjust, and extend @cindex calls accordingly.
460 From a report by Maynard Johnson.
462 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
464 tests: improve tests on "maintainer-clean" target
465 * tests/aclocal6.test: Move checks related to "maintainer-clean"
466 functionalities into ...
467 * tests/maintclean-vpath.test: ... this new test.
468 * tests/maintclean.test: Update heading comments. Extend to also
469 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
470 in configure.in. Add a trailing `:' command. Remove extra blank
472 * tests/Makefile.am (TESTS): Update.
474 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
476 tests: fix unindent to use printf not echo for script.
477 * tests/defs.in: Use printf rather than echo, as the latter may
478 interpret the backslashes in the sed script. Fixes test
479 failures with dash as /bin/sh.
481 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
482 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
484 maintcheck: look for problematic names of testcases
485 The configure.in stub created by default by `tests/defs' obtains
486 the first argument of AC_INIT from the test name, and this can
487 cause some supported autoconf versions to fail with a spurious
488 error if that test name contains the name of an m4 or m4sugar
489 builtin or macro (e.g., `defn' or `m4_undefine').
490 See for example the bug fixed by commit v1.11-287-g1325a8a.
491 This change add a maintainer check that warns about test names
492 which are possibly problematic in this regard.
493 * Makefile.am (sc_test_names): New maintainer-check target.
494 (syntax_check_rules): Add it.
495 (m4_builtins): New helper variable.
496 (TESTS): Updated according to the following renamings.
497 * tests/include.test: Renamed ...
498 * tests/hdr-vars-defined-once.test: ... to this.
499 * tests/sinclude.test: Renamed ...
500 * tests/m4-inclusion.test: ... to this, and simplified
502 * tests/include2.test: Renamed ...
503 * tests/dist-included-parent-dir.test: ... to this, for
506 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
508 tests: fix bug in alloca*.test
509 * tests/alloca.test: Make grepping of automake stderr stricter,
510 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
511 and create a dummy alloca.c file, to ensure that we fail for the
513 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
514 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
515 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
517 From a report by Patrick Welche.
519 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
521 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
522 * tests/comments-in-var-defn.test: The configure.in stub created
523 by default, which has the AC_INIT first argument obtained by the
524 test name, causes autoconf 2.62 to fail with a spurious error
525 message like: "configure.in:1: error: defn: undefined macro:".
526 Thus, to prevent this, the test is renamed to ...
527 * tests/comments-in-var-def.test: ... this.
528 * tests/Makefile.am (TESTS): Updated.
530 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
532 cosmetics: convert encoding from ISO-8859 to UTF-8
533 * ChangeLog.03: Convert encoding to UTF-8.
534 * ChangeLog.96: Likewise.
535 * ChangeLog.98: Likewise.
539 2011-03-01 Peter Rosin <peda@lysator.liu.se>
541 test defs: unindent without temporary file
542 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
543 that strips the "proper" amount of leading whitespace.
544 (unindent): Lazily strip comments from the above program and use it
545 to unindent without using a temporary file.
547 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
549 libtool: suggest LT_INIT if LTLIBRARIES primary is used
550 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
551 defined, automake suggested to add a call to AC_PROG_LIBTOOL
552 in configure.ac. But that macro is deprecated since Libtool
553 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
554 suggest the use of this latter macro instead.
555 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
556 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
557 * tests/libtool4.test: Adjust and extend. Also, add a call to
558 macro AC_PROG_CC in configure.in, to help ensuring that automake
559 does not fail for the wrong reasons.
560 * tests/ltinit.test: New test, ensure that automake's libtool
561 support works with LT_INIT-based interface.
562 Thanks to Jack Kelly for the suggestion.
564 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
566 tests: tempdirs with restrictive permissions are cleaned correctly
567 Before this change, the removal of a temporary test directory
568 containing subdirectories with restrictive permissions (such as
569 'r--r--r--') could fail.
570 * tests/defs: Ensure that all the subdirectories of a temporary
571 test directory have the 'read', 'write' and 'execute' bits set,
572 before trying to remove it with `rm -rf'.
573 * tests/Makefile.am (clean-local-check): Likewise.
575 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
576 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
578 test defs: add subroutine for input unindenting
579 * tests/defs.in (unindent): New subroutine.
581 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
583 python: report the 'PYTHON' influential environment variable
584 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
585 * doc/automake.texi (Python): Update and extend.
586 * tests/help-python.test: New test.
587 * tests/Makefile.am (TESTS): Update.
588 * THANKS (Jack Kelly): Update e-mail address.
589 Suggestion by Jack Kelly.
591 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
593 tests defs: clear TESTS_ENVIRONMENT variable
594 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
595 from environment won't interfere with the testcases.
596 Suggestion by Ralf Wildenhues.
598 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
600 tests: tweak few tests on simple and parallel test drivers
601 * tests/check-exported-srcdir.test: Improve heading comments.
602 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
603 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
604 environment won't risk to interfere with the test.
605 Suggestions by Ralf Wildenhues.
607 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
609 coverage: more tests on simple and parallel test drivers
610 * tests/parallel-tests-subdir.test: New test.
611 * tests/check-exported-srcdir.test: Likewise.
612 * tests/check-tests-in-builddir.test: Likewise.
613 * tests/check-tests_environment.test: Likewise.
614 * tests/Makefile.am (TESTS): Update.
616 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
618 tests: fix spurious failures in lflags*.test
619 * tests/lflags.test: Remove 'LEX' from the environment, so
620 that it won't be erroneously picked up by `make -e'.
621 * tests/lflags2.test: Likewise.
623 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
625 docs: color-tests issues with parallel make
626 * doc/automake.texi (Simple Tests): Document that automatic
627 recognition of a capable terminal attached to stdout can fail
628 with some make implementation when running in parallel mode,
629 thus causing colored test output not to be automatically
630 activated when it should.
632 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
634 tests: avoid instspc.test failures due to make's whitespace trimming
635 * tests/instspc.test: Prepend './' when passing the test
636 characters, to avoid leading whitespace characters to be trimmed
637 from macros set from environment variables. Fixes testsuite
638 failures with HP-UX, IRIX, and Tru64/OSF make.
640 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
642 coverage: test semantics of "dummy" per-target flags
643 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
644 per-target flags triggers the use of renamed objects.
645 * tests/Makefile.am (TESTS): Update.
646 Suggestion by Ralf Wildenhues.
648 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
650 tests defs: sanitize IFS
651 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
652 ($sp): New variable, holding a single whitespace character.
653 ($tab): New variable, holding a tabulation character.
654 ($nl): New variable, holding a newline character.
656 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
658 tests: fix VPATH auto-expansion workarounds.
659 * tests/parallel-tests8.test, tests/suffix13.test:
660 Ensure $< is not surrounded by white space, to prevent Solaris
661 make from applying automatic VPATH text expansion.
663 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
665 tests: fix spurious failures in yflags*.test
666 * tests/yflags.test: Remove 'YACC' from the environment, so
667 that it won't be erroneously picked up by `make -e'.
668 * tests/yflags2.test: Likewise.
670 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
672 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
673 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
674 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
675 up its internal memory when copying this tree.
677 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
678 Stefano Lattarini <stefano.lattarini@gmail.com>
680 Add comment to check-TESTS rule working around make 3.80 bug.
681 * lib/am/check.am (check-TESTS): Update comment.
683 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
685 tests: less strict double-colon spy.test again.
686 * tests/spy.test: We know BSD make doesn't invoke more than one
687 double-colon rule, so no need to expose that failure.
689 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
691 install-sh: avoid Tru64 sh `test' operator precedence issues.
692 * lib/install-sh: Protect file names and directory components
693 that consist of `=', `(', `)', or `!'. Move protection as early
694 as possible, to avoid errors such as with Tru64 sh `test -z ='.
695 * tests/instsh2.test: Extend test to cover more possibilities.
696 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
698 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
699 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
701 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
702 * doc/automake.texi (Simple Tests): Do not claim Automake uses
703 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
704 parallel-tests driver.
706 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
708 Allow _AM_DEPENDENCIES to be used later in configure.
709 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
710 conftest.dir before recreating it.
712 Report by Eric Blake, from report by Scott McCreary against M4.
714 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
716 tests: avoid failure on w32 file systems.
717 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
718 be turned unreadable.
720 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
722 tests: allow double-colon spy.test to work with HP-UX make.
723 * tests/spy.test: Fix comment typos. Ensure prerequisites we
724 do not want to depend on are strictly older than the target.
725 Also test with a target out of date wrt. more than one rule.
727 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
729 tests: remove useless requirements from cond36.test
730 * tests/cond36.test ($required): Remove.
731 Since we are at it, add a trailing `:' command.
733 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
734 Stefano Lattarini <stefano.lattarini@gmail.com>
736 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
737 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
738 Test file readability before redirecting input from it, to avoid
739 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
740 * tests/parallel-tests-unreadable-log.test: New test.
741 * tests/Makefile.am (TESTS): Update.
744 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
746 * NEWS, README: Update copyright years.
748 Fix parallel-tests.test failure with HP-UX make.
749 * tests/parallel-tests.test: Sleep inside inner tests, so logs
750 are newer than logs of tests they depend on, for HP-UX make.
752 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
754 docs: ensure example are separated with empty lines in the input
755 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
756 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
757 lines before `@example' and after `@end example' lines, so info
758 output is rendered correctly, and a following @noindent honored.
759 Report by Stefano Lattarini.
761 2011-01-15 Jim Meyering <meyering@redhat.com>
763 tests: fix comment typo
764 * tests/substref.test: Fix grammar in a comment.
766 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
768 tests: fix spurious failures in two texinfo tests
769 * tests/txinfo.test ($required): Add 'makeinfo'.
770 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
771 that make won't try to run makeinfo (which could be unavailable)
773 Found by NixOS Hydra, reported by Ralf Wildenhues.
775 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
777 Avoid testsuite failures due to Autoconf Fortran change.
778 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
779 require computing the canonical host name. Ensure config.guess
780 and config.sub files are present for respective checks.
781 * tests/compile_f_c_cxx.test: Add stub files.
782 * tests/flibs.test: Likewise.
783 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
785 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
787 docs: clustered '-d' not recognized in YFLAGS
788 This change fixes automake bug#7828.
789 * doc/automake.texi (Yacc and Lex): Document that automake
790 recognizes '-d' in AM_YFLAGS only if it's not clustered with
792 From a report by Юрий Пухальский.
794 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
796 tests: add checks on automatically-distributed files
797 Related to automake bug#7819.
798 * tests/autodist.test: New test.
799 * tests/autodist-subdir.test: Likewise.
800 * tests/autodist-acconfig.test: Likewise.
801 * tests/autodist-acconfig-no-subdir.test: Likewise.
802 * tests/autodist-aclocal-m4.test: Likewise.
803 * tests/autodist-config-headers.test: Likewise.
804 * tests/autodist-configure-no-subdir.test: Likewise.
805 * tests/autodist-stamp-vti.test: Likewise.
806 * tests/Makefile.am (TESTS): Update.
808 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
810 tests: work around a texi+cygnus bug causing a spurious XFAIL
811 * tests/txinfo5b.test: New test, like txinfo5.test but calling
812 automake with the `-Wno-override' option to work around a bug
813 in the texinfo + cygnus interaction.
814 * tests/txinfo5.test: Update heading comments.
815 * tests/Makefile.am (TEST): Updated.
817 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
819 Fix another typo in Rule.pm comment.
820 * lib/Automake/Rule.pm: Fix typo.
822 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
824 Improve, extend and tweak tests on Texinfo support.
825 * tests/instdir-texi.test: Add a call to `ls -l' after that to
826 `make', for debugging. When looking for required tools, do not
827 redirect the output of "$tool --help" to /dev/null, and do not
828 uselessly run it in a subshell.
829 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
830 make. All checks moved into Makefile.am.
831 * tests/txinfo8.test: Likewise, and modernize the generated
833 * tests/txinfo2.test: Moved checks into Makefile.am, and other
835 * tests/txinfo5.test: Enable `errexit' shell flag, and related
836 changes. Add trailing `:' command.
837 * tests/txinfo6.test: Likewise, and make grepping of generated
838 Makefile.in stricter.
839 * tests/txinfo7.test: Enable `errexit' shell flag, and related
840 changes. Add trailing `:' command. Do not add unnecessary stuff
842 * tests/txinfo9.test: Verify that more targets which are expected
843 to be generated only once really are. Make grepping less strict,
844 to avoid exposing too much internal details. More minor changes.
845 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
846 for appending to configure.in. Updated/fixed heading comments.
847 * tests/txinfo23.test: Likewise, and extended a little by making
848 it check that no info file is created in the $(srcdir).
849 * tests/txinfo24.test: Likewise.
850 * tests/txinfo25.test: Likewise.
851 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
852 for appending to configure.in. Also, check that index files are
853 cleaned also by "make clean", not only by "make distclean".
854 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
855 and added trailing `:' command. This testcase also used to check
856 that automake ignores in-line comments when using variables, but
857 preserves them in the output; these checks (added in commit
858 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
859 so they have been moved ...
860 * tests/comments-in-var-defn.test: ... into this new test.
861 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
862 trailing `:' command.
863 * tests/txinfo29.test: Likewise. Relax grepping of generated
864 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
865 append to configure.in.
866 * tests/txinfo3.test: Likewise.
867 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
868 make it stricter, sometimes laxer). Move `set -e' setting just
869 after the inclusion of ./defs. De-uglify a sed command. Other
870 minor cosmetic improvements.
871 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
872 trailing `:' command.
873 * tests/vtexi3.test: New test on version.texi support.
874 * tests/vtexi4.test: Likewise.
875 * tests/Makefile.am (TESTS): Updated.
877 2011-01-09 Peter Rosin <peda@lysator.liu.se>
879 Fix another typo in Rule.pm comment.
880 * lib/Automake/Rule.pm: Fix typo.
882 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
884 cosmetics: remove trailing whitespaces
885 * doc/automake.texi: Remove trailing whitespaces.
886 * tests/cond13.test: Likewise.
887 * tests/cond14.test: Likewise.
888 * tests/fort4.test: Likewise.
889 * tests/fort5.test: Likewise.
890 * tests/suffix7.test: Likewise.
891 * tests/vtexi2.test: Likewise.
893 automake: minor fixes in comments
894 * automake.in: Some minor fixes and enhancements in comments.
896 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
898 Add test coverage for deleted header files.
899 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
900 also check for the deleted header bug. If no dependency
901 tracking mechanism could be found, SKIP rather than exit
902 successfully. Use GNU style spacing and ANSI C prototypes.
904 Fix typos in Rule.pm comments.
905 * lib/Automake/Rule.pm: Fix typos in comments.
907 docs: split 'amhello Explained' node.
908 * doc/automake.texi (amhello Explained): Split node ...
909 (amhello's configure.ac Setup Explained)
910 (amhello's Makefile.am Setup Explained) : ... into these two.
911 (Top, Hello World): Adjust, and add @anchor for stable URL links.
912 Suggestion by Karl Berry in automake bug#7766.
914 2011-01-08 Karl Berry <karl@freefriends.org>
915 Eric Blake <eblake@redhat.com>
917 docs: reference defining directories in amhello node.
918 * doc/automake.texi (amhello Explained): Point to Autoconf
919 manual for how to convert directory values into macros.
920 (Optional): Fix grammar nit.
922 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
924 * NEWS: Fix typo (forgotten word).
926 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
927 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
929 docs: how to work around checks on invalid primary/directory couples
930 * doc/automake.texi (Uniform): Document the blessed idiom which can
931 be used to work around automake checks on invalid primary/directory
932 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
934 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
936 Sync auxiliary files from upstream.
937 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
940 Fix maintainer-check regression.
941 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
944 Bump copyright years.
945 * aclocal.in (write_aclocal, version): Bump copyright years.
946 * automake.in (gen_copyright, version): Likewise.
947 * doc/automake.texi: Likewise.
949 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
950 Stefano Lattarini <stefano.lattarini@gmail.com>
952 Work around a bug in file-inclusion mechanism of Solaris make.
953 * automake.in (handle_single_transform): In the name of the
954 dependency file: collapse multiple slash characters into a single
956 * tests/subobj11a.test: New test.
957 * tests/subobj11b.test: Likewise.
958 * tests/subobj11c.test: Likewise.
959 * tests/depcomp8a.test: Likewise.
960 * tests/depcomp8b.test: Likewise.
961 * tests/Makefile.am (TESTS): Updated.
963 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
964 patch and tests by Stefano Lattarini.
966 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
968 Fix two spurious testsuite failures on IRIX 6.5.
969 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
970 weaker make implementations (e.g. IRIX 6.5).
971 * tests/parallel-tests8.test: Likewise, plus a required related
973 Reported by Ralf Wildenhues. The bugs have been there from the
974 first versions of the affected test scripts.
976 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
978 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
979 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
980 the AM_CYGWIN32 macro (and indeed hasn't required it since at
981 least commit Release-1-2-31-g3038064 "merged changes from
982 Cygnus" of 1997-08-25).
984 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
986 distlinksbrk.test: Work around botched "make -k".
987 * tests/distlinksbrk.test: Run "make" multiple times and grep
988 its output each time for a single error message, rather than
989 running "make -k" one single time and grepping its output for
990 all the expected error messages. This should work around make
991 implementations with limited (broken?) `-k' support; for more
992 information, see these subthreads on the automake-patches list:
993 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
994 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
995 - 2010-11-15, "Testsuite failures on IRIX 6.5",
996 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
998 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1000 Fix sed-related buglet in test "subdir5.test"
1001 * tests/subdir5.test: Always terminate text passed to the
1002 `i' sed command with a newline, to work around limitations
1003 in e.g. older OpenBSD sed.
1005 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1007 docs: fix blunder in example about python extension modules
1008 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
1009 not `quaternion_SOURCES', to declare the sources of python
1010 extension module `quaternion.la'.
1012 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1014 docs: list LTLIBRARIES among Automake primaries
1015 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
1016 the Automake primaries.
1018 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1020 Improve tests on generated portions of configure help screen.
1021 * tests/help-depend.test: Grepping of configure help screen
1022 relaxed to cater for possible line wrapping, and tightened in
1024 * tests/help-depend2.test: Likewise.
1025 * tests/help-dmalloc.test: Likewise.
1026 * tests/help-lispdir.test: Likewise.
1027 * tests/help-maintainer.test: Likewise.
1028 * tests/help-multilib.test: Likewise.
1029 * tests/help-silent.test: Likewise.
1030 * tests/help-upc.test: Likewise.
1031 * tests/help-init.test: Grepping of configure help screen
1034 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1036 Avoid running installed automake from 'libtool --help'.
1037 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
1038 Together with fixed Libtool, this fixes check-coverage to not
1039 invoke installed automake.
1041 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1043 Fix spurious failures in `silent*.test' for $CC != gcc
1044 In some tests on automake-produced silent rules, we forced the
1045 use of gcc depmode to improve testsuite coverage; but this has
1046 unsurprisingly led to spurious failures when some non-GNU C
1047 compilers were used. So we are now careful to require GCC in
1048 tests that force gcc depmode.
1049 From reports by Ralf Wildenhues.
1050 * tests/silent5.test: Test removed, its content split into ...
1051 * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
1052 these new sister tests, the latter of which forces gcc depmode
1053 and lists "gcc" in $required.
1054 * tests/silentlex.test: Test removed, its content split into ...
1055 * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
1056 these new sister tests, the latter of which forces gcc depmode
1057 and lists "gcc" in $required.
1058 * tests/silentyacc.test: Test removed, its content split into ...
1059 * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
1060 these new sister tests, the latter of which forces gcc depmode and
1061 lists "gcc" in $required.
1062 * tests/Makefile.am (TESTS): Updated.
1064 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1066 Tests: consistently use "|| Exit 1" after ". ./defs".
1067 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
1068 `. ./defs', for consistency with other tests.
1069 * tests/autohdr2.test: Likewise.
1070 * tests/autohdr3.test: Likewise.
1071 * tests/autohdr4.test: Likewise.
1072 * tests/cond23.test: Likewise.
1073 * tests/cond24.test: Likewise.
1074 * tests/cond25.test: Likewise.
1075 * tests/cond26.test: Likewise.
1076 * tests/cond27.test: Likewise.
1077 * tests/cond28.test: Likewise.
1078 * tests/cond29.test: Likewise.
1079 * tests/cond30.test: Likewise.
1080 * tests/cond31.test: Likewise.
1081 * tests/cond32.test: Likewise.
1082 * tests/cond33.test: Likewise.
1083 * tests/cond34.test: Likewise.
1084 * tests/cond35.test: Likewise.
1085 * tests/cond36.test: Likewise.
1086 * tests/cond37.test: Likewise.
1087 * tests/cond38.test: Likewise.
1088 * tests/cond39.test: Likewise.
1089 * tests/cond40.test: Likewise.
1090 * tests/cond41.test: Likewise.
1091 * tests/cond42.test: Likewise.
1092 * tests/cond43.test: Likewise.
1093 * tests/cond44.test: Likewise.
1094 * tests/cond45.test: Likewise.
1095 * tests/dollarvar.test: Likewise.
1096 * tests/dollarvar2.test: Likewise.
1097 * tests/hfs.test: Likewise.
1098 * tests/libobj14.test: Likewise.
1099 * tests/percent.test: Likewise.
1100 * tests/percent2.test: Likewise.
1101 * tests/phony.test: Likewise.
1102 * tests/silent.test: Likewise.
1103 * tests/silent2.test: Likewise.
1104 * tests/silent3.test: Likewise.
1105 * tests/silent4.test: Likewise.
1106 * tests/silent5.test: Likewise.
1107 * tests/silent6.test: Likewise.
1108 * tests/silent7.test: Likewise.
1109 * tests/silent9.test: Likewise.
1110 * tests/silentcxx.test: Likewise.
1111 * tests/silentf77.test: Likewise.
1112 * tests/silentf90.test: Likewise.
1113 * tests/silentlex.test: Likewise.
1114 * tests/silentyacc.test: Likewise.
1116 Avoid useless cleaning in some `silent*.test' tests.
1117 * tests/silentf77.test: Removed useless calls to "make clean"
1118 and "make maintainer-clean".
1119 * tests/silentf90.test: Likewise.
1120 * tests/silent3.test: Removed useless call to "make distclean".
1121 * tests/silent4.test: Likewise.
1122 * tests/silent9.test: Likewise.
1124 2010-11-19 Ian Lance Taylor <iant@google.com>
1126 Sync config-ml.in from GCC.
1127 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
1128 compiler/flag environment variables.
1130 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1132 Automake::Config: remove extra trailing semicolon.
1133 * lib/Automake/Config.in: Remove extra trailing semicolon.
1135 help4.test: fix botched heading comment.
1136 * tests/help4.test: Fixed the heading comment, since it
1137 didn't correctly describe what checks the testcase was
1138 supposed to perform.
1140 help2.test: add checks on aclocal too.
1141 * tests/help2.test: Check that also `aclocal --version' and
1142 `aclocal --help' work with configure.in and acinclude.m4 both
1145 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1147 Fix spurious failures of silent-rules tests with Sun Fortran.
1148 * tests/silentf77.test: Strip from the make output some verbose
1149 messages possibly printed by the SunStudio fortran compilers, to
1150 avoid spurious failures. Add a trailing `:' command.
1151 * tests/silentf90.test: Likewise.
1153 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1155 Fix spurious failures of silent5.test with Sun Fortran.
1156 * tests/silent5.test: Strip from the make output some verbose
1157 messages possibly printed by the SunStudio fortran compilers,
1158 to avoid spurious failures. This bug has been there from the
1159 very first version of this test script.
1161 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1163 Fix regression in colon{5,6}.test (failures on AIX 5.3).
1164 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
1165 post-processing the generated Makefile.in, to work around a bug
1166 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
1167 on the commend line. Calls to `$MAKE' adjusted accordingly.
1168 * tests/colon6.test: Likewise.
1169 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
1170 improve and/or extend tests `colon*.test", and reported by Ralf
1173 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1175 Fix regression in ansi.test (failure on AIX 5.3).
1176 * tests/ansi.test: Remove redundant hackish check done using a
1177 hand-postprocessed Makefile.in. This check worked by setting
1178 the `$(SHELL)' macro on the command line of make, but this is
1179 not supported by the AIX 5.3 make implementation.
1180 This bug has been lurking for a long time, and was activated by
1181 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
1182 tests". Report by Ralf Wildenhues.
1184 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1186 tests: avoid '##'-style comments inside recipe commands.
1187 * tests/confh.test, tests/confh8.test: Remove
1188 double-hash comments from makefile rule commands, they
1189 are not part of the Automake API.
1191 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1193 tests: work around dash quoting issue in case statements.
1194 * tests/color.test, tests/color2.test: Quote variable in case
1195 pattern, to avoid skipping tests with dash 0.5.5.1.
1197 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1199 Rebuild menus in the manual.
1200 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
1201 Thanks to Ian Lance Taylor for the suggestion.
1203 Fix install-strip when $(STRIP) contains several words.
1204 * lib/am/install.am (install-strip): Update comment. Use
1205 separate sub-make invocations for empty and nonempty $(STRIP),
1206 to fix quoting issues.
1207 * tests/strip2.test, tests/strip3.test: New tests.
1208 * tests/Makefile.am (TESTS): Adjust.
1210 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1212 Fix yaccdry.test failure: require bison.
1213 * tests/yaccdry.test: Require bison.
1214 Found by NixOS Hydra.
1216 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
1218 Fix a bug in variable concatenation with `+='.
1219 * lib/Automake/VarDef.pm (append): Since the content of the
1220 "appended-to" variable is going to be unconditionally normalized
1221 later, simply separate the appended value with a single whitespace
1222 character, instead of trying to be uselessly smarter by using
1223 escaped newlines. This fixes a bug in which extra backslashes
1224 where erroneously inserted in the variable's final value.
1225 * tests/pluseq11.test: New test, exposing the bug.
1226 * tests/Makefile.am (TESTS): Update.
1227 Reported by Andy Wingo.
1229 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1231 Fix bug in rules for creating vala vapi/header files.
1232 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
1233 if control structure in a generated make rules. Bug introduced
1234 by previous commit `v1.11-221-gd7c1679', and revealed by failure
1235 of test `vala2.test'.
1237 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1239 Fix and document rules to not touch the tree with `make -n'.
1240 * doc/automake.texi (Multiple Outputs): Document the problem of
1241 modifications during dry-run execution, propose solution.
1243 * automake.in (lang_vala_finish_target): Split recipe so the
1244 stamp file is not removed with GNU `make -n'.
1245 (lang_yacc_target_hook): Separate removal of parser output file
1246 and header remaking.
1247 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
1248 passed to make, take care not to remove any files in that case.
1249 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
1250 %STAMP% file from induced remaking of config header.
1251 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
1253 * tests/Makefile.am (TESTS): Update.
1255 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1257 Add FAQ entry for bug reporting instructions.
1258 * doc/automake.texi (Reporting Bugs): New section.
1259 (Introduction): Refer to it.
1261 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1263 Add support for newer python versions.
1264 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
1265 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
1266 line and fix indentation.
1268 From a report by Thomas Klausner.
1270 Add test for `AM_WITH_DMALLOC' macro.
1271 * tests/dmalloc.test: New test.
1272 * tests/Makefile.am (TESTS): Update.
1274 Fix nits and bugs in tests `help*.test'.
1275 * tests/help4.test: Fix broken sed commands used to strip `-W...'
1276 flags away from "$AUTOMAKE" and "$ACLOCAL".
1277 * tests/help3.test: Likewise, and fix a botched comment.
1278 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
1279 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1280 please maintainer-check.
1281 * tests/help2.test: Likewise.
1283 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1284 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1286 Improve tests `help*.test' (also fixes maintcheck failures).
1287 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1288 flags stripped away rather than hard-coded `automake-$APIVERSION',
1289 to better honour user-overrides. Similarly for aclocal.
1290 * tests/help2.test: Likewise.
1291 * tests/help3.test: Likewise.
1292 * tests/help4.test: Likewise.
1294 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1296 Document and fix expansion of variables before rules.
1297 * doc/automake.texi (General Operation): Document that variables
1298 are expanded before rules.
1299 * lib/am/check.am (am__check_post): Reword a bit so it does not
1300 get matched as a rule.
1301 Suggestion by Ben Pfaff.
1303 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1305 Revert "parallel-tests: avoid command-line length limit issue."
1306 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
1307 because it re-opened the bug fixed by v1.11-10-g218e678.
1309 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1311 parallel-tests: avoid command-line length limit issue.
1312 * automake.in (handle_tests): New argument $makefile, new
1313 substitution %MAKEFILE%.
1314 (generate_makefile): Adjust.
1315 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1316 sanitized TEST_LOGS value as makefile snippet on standard
1317 input to $(MAKE), to avoid exceeding the command line limit on
1320 Report by Bob Friesenhahn.
1322 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1324 Extend tests on `--help' and `--version' options.
1325 * tests/help.test: Create a new empty directory and chdir into
1326 it, rather than removing already present files. Run the aclocal
1327 and automake wrapper scripts directly, instead of relying on
1328 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
1329 in aclocal's and automake's stderr. Add a trailing `:' command.
1330 * tests/help2.test: New test, checking that options `--help' and
1331 `--version' works in directories with broken `configure.in'.
1332 * tests/help3.test: New test, checking that options `--help' and
1333 `--version' take precedence on the other options.
1334 * tests/help4.test: New test, checking that the first among the
1335 `--help' and `--version' options to be specified on the command
1337 * tests/Makefile.am (TESTS): Updated.
1339 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1341 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
1342 * tests/compile2.test: Do no uselessly (implicitly) repeat the
1343 computation of PATH_SEPARATOR again.
1344 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
1345 extending/redefining PATH.
1346 * tests/instmany-python.test: Likewise.
1347 * tests/instmany.test: Likewise.
1348 * tests/man4.test: Likewise.
1349 * tests/mkinst3.test: Likewise.
1350 * tests/mmodely.test: Likewise.
1351 * tests/multlib.test: Likewise.
1352 * tests/txinfo30.test: Likewise.
1353 * tests/README (Section "Writing test cases" subsection "Do"):
1355 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
1356 (syntax_check_rules): Updated.
1358 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
1359 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
1360 ($ACLOCAL, $AUTOMAKE): Use it.
1361 ($PATH_SEPARATOR): New AC_SUBST'd variables.
1364 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1366 Manual: be more agnostic w.r.t. version control system used.
1367 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
1368 directories as a type of probably-unwanted files that are copied
1369 regardless when adding directories to EXTRA_DIST.
1370 (The dist Hook): Show a dist-hook example which removes Subversion
1371 `.svn' private directories from distdir, rather than CVS private
1373 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
1374 the version control system used.
1376 Manual: index refer to target "git-dist", not "cvs-dist".
1377 * doc/automake.texi (General Operation): Index the non-standard
1378 example about "git-dist" under the "git-dist" label, not under
1381 Perl modules: remove references to "Automake CVS repository".
1382 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
1383 git repository" rather than to "Automake's CVS repository".
1384 * lib/Automake/Configure_ac.pm: Likewise.
1385 * lib/Automake/FileUtils.pm: Likewise.
1386 * lib/Automake/Struct.pm: Likewise.
1387 * lib/Automake/XFile.pm: Likewise.
1388 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
1389 branches" rather than "CVS branches".
1391 Remove obsolete .cvsignore files.
1392 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
1393 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
1394 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
1395 savannah's CVS readonly mirror there's no way to commit back to
1396 the real repository, so this files are not worth maintaining or
1399 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1401 * m4/dmalloc.m4: Bump serial number and copyright years.
1403 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1405 Fix broken link in `AM_WITH_DMALLOC' help screen.
1406 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
1407 `http://www.dmalloc.com', not to the dmalloc tarball there (which
1408 seems to have been removed, substituted by multiple release
1411 2010-09-17 Eric Blake <eblake@redhat.com>
1413 Avoid triple-space after period.
1414 * automake.in (handle_single_transform): Avoid 3 spaces at
1416 * ChangeLog.03: Likewise.
1417 * lib/Automake/ChannelDefs.pm: Likewise.
1418 * lib/Automake/Channels.pm (_print_message): Likewise.
1419 * lib/Automake/Rule.pm (rule): Likewise.
1420 * lib/Automake/Variable.pm (var): Likewise.
1421 * lib/am/distdir.am: Likewise.
1422 * tests/insthook.test: Likewise.
1424 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1426 Test automake-generated portions of configure help screen.
1427 * tests/help-depend.test: New test.
1428 * tests/help-depend2.test: Likewise.
1429 * tests/help-dmalloc.test: Likewise.
1430 * tests/help-init.test: Likewise.
1431 * tests/help-lispdir.test: Likewise.
1432 * tests/help-maintainer.test: Likewise.
1433 * tests/help-multilib.test: Likewise.
1434 * tests/help-regex.test: Likewise.
1435 * tests/help-silent.test: Likewise.
1436 * tests/help-upc.test: Likewise.
1437 * tests/mmode.test: Remove tests on `configure --help' output,
1438 they are superseded by tests in `help-maintainer.test'.
1439 * tests/Makefile.am (TESTS): Update.
1441 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1443 * tests/README: Don't put GCS mandated tools in $required.
1445 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1447 * HACKING: Hint at old commits with `git describe' output.
1449 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1451 Fix regression in test `colon4.test'.
1452 * tests/colon4.test: Fix botched editing to `configure.in'
1453 that made the test useless. Since we are at it, improve
1454 comments and make grepping of generated Makefile.in slightly
1456 Regression introduced by change "Modernize, improve and/or
1457 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
1459 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1461 Do not require "gzip" explicitly in tests.
1462 The gzip utility is simply expected to be present on any decent
1463 target system for Automake. So it's pointless to put it in
1465 * tests/install2.test ($required): Do not require "gzip".
1466 * tests/lex3.test: Likewise.
1467 * tests/pr9.test: Likewise.
1468 From a suggestion by Ralf Wildenhues.
1470 Make some `confh*.test' tests more "semantic" (plus tweakings).
1471 * tests/confh.test: Run "autoconf", "configure" and "make check",
1472 instead of munging/grepping the generated `Makefile.in'.
1473 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1474 white spaces. Do not create useless dummy source file `foo.c'
1475 and useless dummy header file `acconfig.h'.
1476 (configure.in): Remove superfluous call to `AC_OUTPUT'.
1477 * tests/confh6.test: Add trailing `:' command.
1478 * tests/confh7.test: In comments, add reference to ...
1479 * tests/confh8.test: ... this new test, "semantic" sister
1481 * tests/Makefile.am (TESTS): Updated.
1482 Prompted by a report from Ralf Wildenhues.
1484 Remove useless whitespace padding in XFAIL_TESTS definition.
1485 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1487 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1489 parallel-tests: avoid command-line length limit issue.
1490 * automake.in (handle_tests): New argument $makefile, new
1491 substitution %MAKEFILE%.
1492 (generate_makefile): Adjust.
1493 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1494 sanitized TEST_LOGS value as makefile snippet on standard
1495 input to $(MAKE), to avoid exceeding the command line limit on
1498 Report by Bob Friesenhahn.
1500 Posix 2008 requires make to set errexit.
1501 * lib/am/check.am: Update comment.
1503 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
1505 Fix bug in test missing6.test.
1506 * tests/missing6.test: Fix the hack used to edit `configure.in',
1507 to avoid producing a configure script that breaks with shells
1508 that do not support $LINENO. Also throw in a couple of cosmetic
1511 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1513 Improve robustness of mdate-sh script.
1514 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1515 $ls_command is word-split properly upon invocation.
1516 (error): New function.
1517 (main): Use it. Improve error checking to avoid endless loop
1518 in case $ls_command gave bogus output. Fix eval quotation.
1519 * tests/mdate6.test: New test, to expose eval quotation error.
1520 * tests/Makefile.am: Update.
1522 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1524 Fix potential regressions in depcomp{3,5}.test.
1525 * tests/depcomp3.test: Do not uselessly escape the character `$'
1526 in makefile rules, when it's used to expand a make macro.
1527 * tests/depcomp5.test: Likewise.
1529 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1530 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1532 Docs: clarify how to avoid automatic dependencies tracking.
1533 * doc/automake.texi (Automatic dependency tracking): Mention that
1534 automatic dependencies tracking is enabled by default, but that
1535 the package developer can disable it altogether. Add a reference
1536 to the proper section for a more in-depth explanation.
1538 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
1539 * doc/automake.texi (Automatic dependency tracking): Fix typo.
1541 2010-08-16 Bruno Haible <bruno@clisp.org>
1543 Don't hide the table of contents.
1544 * doc/automake.texi: Move the table of contents to the beginning.
1546 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1548 Tweak and/or extend some `acloca*.test' tests.
1549 * tests/aclocal8.test: Ensure verbose printing of captured
1551 * tests/aclocal.test: Likewise. Also, add trailing `:'
1553 * tests/acloca19.test: Likewise.
1554 * tests/aclocal5.test: Add trailing `:' command, and prefer
1555 `$me' over hard-coded test name.
1556 * tests/aclocal6.test: Likewise.
1557 * tests/aclocal18.test: Add trailing `:' command, and make
1558 some grepping slightly stricter.
1559 * tests/acloca14.test: Likewise. Also, prefer `diff' over
1560 `cmp', and add some "cosmetic" blank lines.
1562 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1564 Tweak and extend tests `pr[!0-9]*.test'.
1565 * tests/primary3.test: Add trailing `:' command.
1566 * tests/primary.test: Make grepping of Automake's stderr stricter.
1567 Also, add trailing `:' command, and cosmetic changes in spacing.
1568 * tests/primary2.test: Likewise.
1569 * tests/prefix.test: Enable `errexit' shell flags, and related
1570 changes. Add a trailing `:' command.
1571 * tests/proginst.test: Likewise.
1573 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1574 * tests/pr2.test: Add trailing `:' command.
1575 * tests/pr229.test: Likewise.
1576 * tests/pr401.test: Likewise.
1577 * tests/pr401b.test: Likewise.
1578 * tests/pr401c.test: Likewise.
1579 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1581 * tests/pr300-lib.test: Likewise.
1582 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1583 of captured make stdout.
1584 * tests/pr211.test: Add trailing `:' command. Also, use the
1585 `configure.in' stub created by ./defs, rather than writing it
1587 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1588 * tests/pr287.test: Likewise, and move setting of `errexit' shell
1589 flag earlier in the script (just after inclusion of ./defs).
1590 * tests/pr220.test: Make grepping of Automake's stderr stricter.
1591 Also, add trailing `:' command, and cosmetic changes in spacing.
1592 * tests/pr224.test: Move setting of `errexit' shell flag earlier
1593 in the script (just after inclusion of ./defs). Do not export
1594 `CC=gcc' to configure explicitly (it's already exported globally
1595 in ./defs, since we have "gcc" in $required). Use the stub for
1596 `configure.in' created by ./defs, rather than writing it from
1597 scratch. Do not create dummy files required by "gnu" mode (e.g.
1598 README, NEWS), since we run automake in foreign mode anyway.
1599 * tests/pr72.test: Enable `errexit' shell flags, and related
1600 changes. Extend existing checks a bit.
1601 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
1602 the generated `configure.in', and extend existing checks over the
1603 generated tarball a bit.
1604 * tests/pr87.test: Enable `errexit' shell flags, and related
1605 changes. Add a trailing `:' command. Also, do not create dummy
1606 files required by "gnu" mode (e.g. README, NEWS), since we run
1607 automake in foreign mode anyway.
1608 * tests/pr243.test: Avoid obsolescent constructs in the generated
1609 `configure.in'. Enable the `errexit' shell flag, and related
1610 changes. Cosmetic changes to spacing, add trailing `:' command,
1611 and add a "FIXME" comment.
1612 * tests/pr266.test: Likewise, and add explicit command line switch
1613 `--enable-dependecy-tracking' to the ./configure call.
1614 * tests/pr279.test: Avoid obsolescent constructs in the generated
1615 `configure.in'; also, use the `configure.in' stub created by
1616 ./defs, rather than writing it from scratch. Enable `errexit'
1617 shell flag, and related changes. Add trailing `:' command.
1618 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1620 * tests/pr307.test: Move setting of `errexit' shell flag earlier
1621 in the script (just after inclusion of ./defs). Escape literal
1622 dots in grep regular expressions. Also, add a trailing `:'
1623 command, and cosmetic changes to spacing.
1625 Tests for PR: add excerpts from original bug report, for clarity.
1626 * tests/pr2.test: Ditto.
1627 * tests/pr9.test: Likewise.
1628 * tests/pr72.test: Likewise.
1629 * tests/pr87.test: Likewise.
1630 * tests/pr211.test: Likewise.
1631 * tests/pr220.test: Likewise.
1632 * tests/pr224.test: Likewise.
1633 * tests/pr229.test: Likewise.
1634 * tests/pr243.test: Likewise.
1635 * tests/pr266.test: Likewise.
1636 * tests/pr279.test: Likewise, and tell to keep it in sync
1637 with its sister test.
1638 * tests/pr279-2.test: Likewise.
1640 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1642 Tweak, extend and improve tests `cond[a-z]*.test'.
1643 * tests/condd.test: Add trailing `:' command. Typofix in
1645 * tests/condhook.test: Make sure target `install-data-hook' is
1646 not called by `make install', but that data files are installed.
1647 Use proper m4 quoting in configure.in. Add trailing `:' command.
1648 * tests/condhook2.test: New test, sister test of condhook, with
1650 * tests/condinc2.test: Use proper m4 quoting in configure.in.
1651 Prefer trailing `:' command over trailing `Exit 0'.
1652 * tests/condman2.test: Enable errexit shell flag, and related
1653 changes. Add trailing `:' command.
1654 * tests/condman.test: Likewise. Also, do not create useless
1655 dummy manpages, and use proper m4 quoting in configure.in.
1656 * tests/condman3.test: New test, similar to condman.test, but
1657 it also runs ./configure and "make install", and check the
1659 * tests/Makefile.am (TESTS): Updated.
1661 Modernize, improve and/or extend tests `colon*.test.
1662 * tests/colon.test: Rely on the `configure.in' stub created by
1663 `./defs', rather than writing one from scratch. Do not create
1664 a useless dummy file. Add trailing `:' command.
1665 * tests/colon4.test: Enable the `errexit' shell flag, and
1666 related changes. Rely on the `configure.in' stub created by
1667 `./defs', rather than writing one from scratch.
1668 * tests/colon7.test: Enable `errexit' shell flag, and related
1669 changes. Improve the generated `configure.in' file. Add
1670 trailing `:' command.
1671 * tests/colon2.test: Likewise. Also, add some new checks.
1672 * tests/colon5.test: Improve the generated `configure.in' file.
1673 Add new, much deeper checks. Add trailing `:' command.
1674 * tests/colon6.test: Likewise.
1675 * tests/colon3.test: Add trailing `:' command. Remove useless
1676 comments and echos. Improve the generated `configure.in' file.
1677 make some grepping tests stricter. Add a "FIXME" comments about
1678 planned improvements.
1680 Improve and extend tests `asm*.test'.
1681 * tests/asm.test: Use configure.in stub generated by ./defs,
1682 and avoid obsoleted autoconf constructs. Make grepping of
1683 Automake stderr stricter. Do not create useless source file.
1684 Improve verbose messages. Minor cosmetic changes. Tell to
1685 keep it in sync with other sister tests asm*.test.
1686 * tests/asm2.test: Likewise.
1687 * tests/asm3.test: Likewise.
1689 Modernize, improve and/or extend test scripts `conf*.test'.
1690 * tests/confh5.test: Cosmetic changes.
1691 * tests/conff.test: Likewise.
1692 * tests/confdeps.test: Likewise.
1693 * tests/conflnk.test: Likewise.
1694 * tests/conflnk2.test: Likewise.
1695 * tests/confsub.test: Likewise.
1696 * tests/confvar.test: Likewise, and make grepping of Makefile.in
1698 * tests/confvar2.test: Likewise.
1699 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
1700 disabled test (which didn't work with autoconf <= 2.59, but now we
1701 are requiring autoconf 2.62, so...)
1702 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1703 accordingly to "TODO" comments.
1704 * tests/conff2.test: Make grepping of Automake's stderr stricter.
1705 Add some comments explaining why we don't use the `configure.in'
1706 stub preset be ./defs.
1707 * tests/confh.test: Use the `configure.in' stub created by ./defs,
1708 rather than writing one from scratch, and do not call AC_OUTPUT.
1709 Enable `errexit' shell flag, and related changes. Prefer diff over
1710 cmp to compare text files. Prefer perl over sed to fetch the value
1711 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
1712 of $(DIST_COMMON) stricter.
1713 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1714 rather than writing one from scratch. Make grepping of Makefile.in
1716 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
1718 * tests/configure.test: Avoid obsolescent constructs in generated
1719 `configure.ac'. Do not write `configure.in' two times. Escape
1720 literal dots in grep regular expressions.
1721 * tests/confincl.test: Enable `errexit' shell flag, and related
1722 changes. Prefer fgrep over grep. Other cosmetic changes.
1723 * tests/config.test: Renamed to ...
1724 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
1725 and make grepping of `config.h' and `config.h.in' stricter.
1726 * tests/conf2.test: Renamed ...
1727 * tests/confh7.test: ... to this. Use the `configure.in' stub
1728 created by ./defs, rather than writing one from scratch. Try to
1729 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1731 * tests/Makefile.am (TESTS): Updated.
1733 Minor improvements and fixes in tests `depcomp*.test'.
1734 * tests/depcomp.test: Do not create useless dummy source files.
1735 Add a trailing `:' command.
1736 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1737 it's not in in the environment, rather than exporting it with an
1738 empty value. Do not pass CC=gcc to configure, as that's already
1739 done in ./defs since we have gcc in $required. Ensure verbose
1740 printing of captured stderr, and normalize its checking. Add a
1741 trailing `:' command.
1742 * tests/depcomp3.test: Quote literal dots and dollar characters in
1743 grep regexps. Always use `: >' rather than `touch' to create empty
1744 files. Explicitly declare phony targets as such in the created
1745 Makefile.am. Add a trailing `:' command.
1746 * tests/depcomp4.test: Quote literal dots and dollar characters in
1747 grep regexp. Explicitly declare phony targets as such in the
1748 created Makefile.am. Ensure verbose printing of captured makes'
1749 stoud/stderr. Add a trailing `:' command.
1750 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1751 in the script (just after inclusion of ./defs). Quote literal dots
1752 and dollar characters in grep regexps. Explicitly declare phony
1753 targets as such in the created Makefile.am. Add a trailing `:'
1755 * tests/depcomp6.test: Consistently use m4 quoting in the generated
1756 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
1757 statement required by OpenBSD's sh `set -e' more robust, and add
1758 explanatory comments to it.
1759 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
1761 Separate failing part of test `all.test'.
1762 * tests/all.test: Keep only (x)failing part of the test. Working
1763 checks moved out to ...
1764 * tests/all2.test: ... this new test.
1765 * tests/Makefile.am (TESTS): Updated.
1767 Modernize, improve and extend tests `subobj*.test'.
1768 * tests/subobjname.test: Add trailing `:' command.
1769 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1770 Escape literal dots in grep regexps.
1771 * tests/subobj2.test: Add trailing `:' command. Do not use the
1772 unportable fgrep option `-e'.
1773 * tests/subobj3.test: Add trailing `:' command.
1774 (configure.in): Use proper m4 quoting, and avoid obsolescent
1776 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
1777 flag, with related changes
1778 * tests/subobj4.test: Likewise. Also, make grepping of
1779 `Makefile.in' stricter.
1780 * tests/subobj5.test: Add trailing `:' command. Move setting of
1781 `errexit' shell flag earlier in the script (just after inclusion
1783 (configure.in): Use the stub created by `./defs', rather than
1784 writing it from scratch, and avoid obsolescent constructs.
1785 * tests/subobj6.test: Add trailing `:' command. Move setting of
1786 `errexit' shell flag earlier in the script (just after inclusion
1787 of ./defs). Do not create useless dummy ac-init file `f'.
1788 * tests/subobj7.test: Do not create useless dummy ac-init file
1790 (configure.in): Use the stub created by `./defs', rather than
1791 writing it from scratch, and avoid obsolescent constructs.
1792 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1793 in the script (just after inclusion of ./defs). Fail the test if
1794 `make distcheck' fails. Ensure verbose printing of captured make
1795 stdout. Avoid useless fork by doing simple grep instead of using
1796 test -n "`COMMAND | grep ...`".
1797 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1798 (Makefile.am): Explicitly mark target "print" as phony.
1799 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
1800 trailing `:' command.
1801 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1803 Remove a couple of obsoleted tests.
1804 * tests/fpinstall.test: Removed.
1805 * tests/fpinst2.test: Likewise.
1806 * tests/Makefile.am (TESTS): Updated.
1808 Bootstrap: updated HACKING entry.
1809 * HACKING ("Working with git"): Explain how to override the
1810 autoconf and autom4te programs used by the bootstrap process.
1813 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1814 since we don't generate it. Correctly quote arguments of
1815 `eval' builtin. Fixed a botched error message. Removed an
1818 Bootstrap: don't search perl in $PATH.
1819 * bootstrap: Do not explicitly search perl in $PATH anymore.
1820 ($PATH_SEPARATOR): Removed, it's no more needed.
1822 Bootstrap: let the user choose which autoconf to use.
1823 * bootstrap ($AUTOCONF): New variable, from the environment.
1824 ($AUTOM4TE): Likewise, for clarity.
1825 Use "$AUTOCONF" instead of calling "autoconf" directly.
1827 Minor improvements to tests ar*.test.
1828 * tests/ar.test: Add trailing `:' command.
1829 * tests/ar2.test: Likewise, and make grepping of generated
1830 Makefile.in stricter.
1832 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1834 Fix maintainer-check failure.
1835 * tests/cond5.test: Quote sleep argument, this isn't about
1836 time stamp differences.
1838 Sync auxiliary files from upstream.
1839 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1842 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1844 Work around a nasty bug (segfault) of Solaris make.
1845 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1846 from $list, to avoid triggering a nasty bug (potential segfault)
1849 2010-08-06 Peter Rosin <peda@lysator.liu.se>
1851 Make cond5.test more robust on MSYS.
1852 * tests/cond5.test: Add delay before the first kill attempt to
1853 cater for problems with MSYS bash.
1855 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1857 Add example git work flow; discuss merge --log in HACKING.
1859 Suggestion by Stefano Lattarini.
1861 Add more hints for debugging make rules.
1862 * doc/automake.texi (Debugging Make Rules): Show command to find
1863 out expanded values of variables; point to makefile debugger.
1865 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1867 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1869 Fix typo in the manual.
1870 * doc/automake.texi (Scripts): Fix typo.
1872 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1874 Document current policy for development with git.
1875 * HACKING (Working with git): Overhaul.
1876 Prompted by suggestion from Stefano Lattarini.
1878 Fix AM_COND_IF for gone-invalid condition shell expression.
1879 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1880 variable, rather than re-evaluating the shell expression for
1882 * tests/cond40.test: Extend test.
1885 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1886 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1887 to avoid shell syntax error if the m4 expansion is empty.
1888 * tests/cond40.test: Enhance test.
1890 Coverage: bogus option to AM_INIT_AUTOMAKE.
1891 * tests/init2.test: New test.
1892 * tests/Makefile.am: Update.
1894 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1896 Modernize and improve test scripts `subdir*.test'.
1897 * tests/subdir.test: Enable `errexit' shell flag, and related
1898 changes. Use the `configure.in' stub created by `./defs',
1899 rather than writing one from scratch.
1900 * tests/subdir2.test: Likewise.
1901 * tests/subdir4.test: Likewise.
1902 * tests/subdir3.test: Enable `errexit' shell flag, and related
1903 changes. Do not create useless dummy source files.
1904 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1905 and in subdirs) stricter. Some minor changes to keep it more
1906 in sync with the related test `subdir8.test'.
1907 * tests/subdir8.test: Likewise (but with the related test being
1908 `subdir5.test' here).
1909 * tests/subdir6.test: Cosmetic change in spacing.
1910 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1911 trailing `:' command.
1912 * tests/subdir10.test: Cosmetic consistency-related change.
1913 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1914 (configure.in): Use stub created by `./defs', rather than writing
1915 it from scratch. Do not use obsoleted and/or deprecated forms of
1916 autoconf/automake macros.
1918 Modernize and improve test scripts `dist*.test'.
1919 * tests/distcleancheck.test: Do not add useless `-e' option to
1920 a $MAKE call. Extend test by grepping stderr of make.
1921 * tests/distcom2.test: Do not run the same test script on the
1922 Makefile.in twice, but save its output in an intermediate file
1923 instead. Make grepping of DIST_COMMON definition stricter.
1924 Display the content of more files, to ease debugging. Add a
1925 trailing `:' command. Improved heading comments w.r.t. sister
1927 * tests/distcom6.test: Likewise, and avoid to uselessly run
1929 * tests/distcom3.test: Ensure verbose printing of captured stdout
1930 and stderr. Make grepping of captured stderr stricter. Also,
1931 add trailing `:' command.
1932 * tests/distcom4.test: Declare the target `test' in the generated
1933 Makefile.am as `.PHONY'. Display content of more files, to ease
1934 debugging. Add trailing `:' command.
1935 * tests/distcom5.test: Likewise. Also, factor out common sed
1936 script in subroutine `extract_distcommon'.
1937 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1938 test Makefile.am files. Add a trailing `:' command.
1939 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1940 call to `set -e' earlier. Be stricter and more verbose in the
1941 checking of the generated tarball.
1942 (configure.in): Use the stub provided by ./defs, instead of
1943 writing it from scratch. Avoid obsoleted constructs. Remove
1944 useless call to `AM_PROG_CC_C_O'.
1945 * tests/distdir.test: Various minor improvements/normalizations.
1946 * tests/distlinks.test: Likewise.
1948 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1950 Improve and extend test cond5.test.
1951 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1952 the background automake process, but poll it every 10 seconds for
1953 at most 30 times (this makes the test both faster on good machines,
1954 and more resilient to spurious timeout-due failures when in low
1955 priority or on heavily-loaded systems).
1956 Check also that automake writes the expected error messages on the
1958 Enable `errexit' flag, and related changes.
1959 Rely on the `configure.in' stub created by `./defs', rather than
1960 writing one from scratch.
1962 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1964 Update program --help output to match current GCS.
1965 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1966 is not defined, for compatibility to Autoconf < 2.64.
1967 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1969 (sc_diff_automake_in_automake): Update number of diff lines for
1970 additional substitutions.
1971 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1972 home page and GNU general help page.
1973 * automake.in (usage): Likewise.
1974 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1976 (Introduction, Creating amhello, amhello Explained, Options):
1978 * lib/Automake/Makefile.am (do_subst): Substitute
1980 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1981 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1984 Clean up @var handling in the manual.
1985 * doc/automake.texi: Throughout the manual, lower-case @var
1986 names, replace a few one-character names.
1988 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1990 Fix typo-related bug in test script silent5.test.
1991 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1994 Tests: remove useless repetitions of `foreign' automake option.
1995 * tests/multlib.test (configure.in): Remove useless use of
1996 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1997 already in $AUTOMAKE by default, so no point in repeating it).
1998 * tests/subobj10.test: Likewise.
1999 * tests/subobj9.test: Likewise.
2000 * tests/lex3.test (Makefile.am): Similarly, remove useless use
2001 of `foreign' option in AUTOMAKE_OPTIONS.
2002 * tests/lex5.test: Likewise.
2003 * tests/pr279.test: Likewise.
2004 * tests/pr279-2.test: Likewise.
2005 * tests/specflg3.test: Likewise.
2006 * tests/target-cflags.test: Likewise.
2008 Drop useless requirement "gzip" in lex5.test.
2009 * tests/lex5.test ($required): Do not list "gzip", as it's
2012 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
2014 Fix bugs in test script silent5.test.
2015 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
2016 instead of egrep) that could have led to false negatives.
2018 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2020 Add a test checking that distributed broken symlinks cause
2021 `make dist' to fail.
2022 * tests/distlinksbrk.test: New test.
2023 * tests/Makefile.am (TESTS): Updated.
2025 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2027 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
2028 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
2029 and AM_LFLAGS, LFLAGS in the order in which they now appear in
2032 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
2033 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
2034 please maintainer-check. Ensure generated C files contain a
2035 declaration, to please compilers.
2037 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2039 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
2040 $(FLAGS) precedence.
2041 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
2042 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
2043 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
2044 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
2047 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
2048 $(AM_FLAGS) and $(FLAGS) precedence.
2049 * tests/lflags.test: New test, check that user $(LFLAGS) takes
2050 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
2052 * tests/lflags2.test: Likewise.
2053 * tests/yflags.test: New test, check that user $(YFLAGS) takes
2054 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
2056 * tests/yflags2.test: Likewise.
2057 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
2059 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2061 Modernize, improve and extend tests `suffix*.test'.
2062 * tests/suffix3.test: Enable `errexit' shell flag, and related
2064 * tests/suffix4.test: Likewise.
2065 * tests/suffix6.test: Likewise, and do not create a useless dummy
2067 * tests/suffix7.test: Likewise.
2068 * tests/suffix5.test: Enable `errexit' shell flag, and related
2069 changes. Make grepping of Makefile.in slightly stricter.
2070 * tests/suffix.test: Enable `errexit' shell flag, and related
2071 changes. Also, do not redirect grep output to /dev/null, as this
2072 might unmotivatedly hide useful information.
2073 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
2074 in the script (just after inclusion of ./defs). Use a more
2075 idiomatic way to count text occurrences in Makefile.in with
2076 grep. Do not create useless dummy source files.
2077 * tests/suffix10.test: Ensure verbose printing of captured make
2078 stdout. Minor cosmetic changes.
2079 * tests/suffix8.test: Likewise. Also, drop useless call to the
2080 env(1) utility, and make grepping of make output stricter by using
2081 $FGREP rather than plain grep.
2082 * tests/suffix11.test: Likewise.
2083 * tests/suffix12.test: Likewise.
2084 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
2085 the `configure.in' stub. Cosmetic changes.
2086 * tests/suffix13.test: Cosmetic spacing change.
2088 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
2090 Add useful comment in test script ext.test.
2091 * tests/ext.test: Add a comment explaining why an apparently
2092 useless `if' statement is indeed required.
2094 Add useful comment in test script obsolete.test.
2095 * tests/obsolete.test: Add a comment explaining why we need
2096 an indirection in adding $AUTOUPDATE to $required.
2098 Normalize whitespaces in 'tests/Makefile.am'.
2099 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
2100 definition of this variable.
2102 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2104 Remove a couple of unneeded conditionals from tests.
2105 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
2106 for the FOOTEST conditional.
2108 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2110 Modernize, improve and/or fix various test scripts.
2111 * tests/symlink3.test: Deleted, separated into two new, more
2113 * tests/forcemiss.test: ... this one ...
2114 * tests/forcemiss2.test: ... and this one.
2115 * tests/symlink2.test: Enable `errexit' shell flag, make test
2116 stricter, and skip it if symlink creation is not supported.
2117 * tests/postproc.test: Enable `errexit' shell flag, related
2118 changes, and a couple of unrelated cosmetic changes.
2119 * tests/recurs.test: Use the `configure.in' stub created by
2120 `./defs', rather than writing one from scratch. Make grepping
2121 of Automake stderr slightly stricter.
2122 * tests/substtarg.test: Likewise.
2123 * tests/strip.test: Likewise, and move the call to `set -e'
2124 earlier (just after the inclusion of `./defs'). Also, make sure
2125 that the script installed by `make install-script' is equal to
2127 * tests/substref.test: Use the `configure.in' stub created by
2128 `./defs', rather than writing one from scratch. Move the call
2129 to `set -e' earlier (just after the inclusion of `./defs').
2130 Avoid to explicitly export CC for configure (that's already done
2131 in ./defs). Avoid potential problems with unpredictable make
2132 output. Finally, make grepping of Makefile.in stricter.
2133 * tests/substre2.test: Ensure verbose printing of the captured
2134 make's output, and make its grepping slightly stricter.
2135 * tests/cygwin32.test: Enable `errexit' shell flag, and related
2136 changes. Also, do not create useless dummy source/data files.
2137 * tests/scripts.test: Likewise.
2138 * tests/recurs2.test: Likewise. Also, use the `configure.in'
2139 stub created by `./defs'.
2140 * tests/Makefile.am (TESTS): Updated.
2142 Modernize, improve and/or fix tests `pluseq*.test.
2143 * tests/pluseq5.test: Append to configure.in using cat with an
2144 here-doc, not using echo.
2145 * tests/pluseq10.test: Make sure that the captured output of
2146 `make' command is always displayed. Where possible, use $FGREP
2147 instead of grep (this change makes some checks slightly stricter).
2148 * tests/pluseq8.test: Enable `errexit' shell flag, with related
2150 * tests/pluseq.test: Likewise. Also, do not create useless dummy
2151 data files, and use better m4 quoting in generated configure.in.
2152 * tests/pluseq2.test: Likewise. Also, append to configure.in
2153 using cat with an here-doc, not using echo.
2154 * tests/pluseq3.test: Likewise.
2155 * tests/pluseq4.test: Likewise.
2156 * tests/pluseq6.test: Likewise.
2157 * tests/pluseq7.test: Do not create useless dummy source file.
2158 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
2159 Automake stderr. Some unrelated cosmetic changes.
2161 Testsuite: ensure verbose printing of captured stderr.
2162 * tests/acloca18.test: Print captured stderr before either failing
2163 or grepping it. Be sure to send captured stderr to stderr, not to
2165 * tests/ansi3b.test: Likewise.
2166 * tests/cond39.test: Likewise.
2167 * tests/configure.test: Likewise.
2168 * tests/missing3.test: Likewise.
2169 * tests/missing6.test: Likewise.
2170 * tests/output-order.test: Likewise.
2171 * tests/pr300-ltlib.test: Likewise.
2172 * tests/python6.test: Likewise.
2173 * tests/python7.test: Likewise.
2174 * tests/python8.test: Likewise.
2175 * tests/python9.test: Likewise.
2176 * tests/subobj.test: Likewise.
2177 * tests/vars3.test: Likewise.
2178 * tests/missing4.test: Likewise, and fix a call to grep not to use
2180 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
2181 created by `./defs', rather than writing one from scratch.
2183 Enable `errexit' shell flag in various tests.
2184 * tests/backsl.test: Enable the `errexit' shell flag, and
2186 * tests/backsl2.test: Likewise.
2187 * tests/block.test: Likewise.
2188 * tests/canon2.test: Likewise.
2189 * tests/canon4.test: Likewise.
2190 * tests/comment2.test: Likewise.
2191 * tests/condlib.test: Likewise.
2192 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
2193 * tests/canon3.test: Likewise. Also, avoid to create an useless
2195 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
2196 related changes. Do some cosmetic improvements in the generated
2197 `configure.in' file.
2198 * tests/cond4.test: Likewise.
2199 * tests/cond14.test: Likewise.
2200 * tests/condinc.test: Likewise.
2201 * tests/cond7.test: Likewise. Also, remove useless setting of
2202 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
2203 * tests/ansi.test: Enable the `errexit' shell flag, and related
2204 changes. Extended, esp. by running autoconf, ./configure and
2205 make, and by looking into the distdir.
2207 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2208 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2210 Extend tests/README w.r.t. trailing `:' in test scripts.
2211 * tests/README (section "Writing test cases" subsection "Do"):
2212 Explain why apparently redundant trailing `:' and `Exit 0' in
2213 test scripts can indeed be useful.
2215 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2217 Improve determination of PATH separator in bootstrap script.
2218 * bootstrap: Determine what the PATH separator is the same way
2221 Minor improvements in bootstrap script.
2222 * bootstrap: Consistently use two-spaces indentation. Cosmetic
2223 improvement to comments.
2224 ($me): New variable, containing program basename.
2225 Prepend it to all error messages.
2227 Testsuite now works with BSD make in parallel mode.
2228 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
2229 which are exported by BSD make when run in parallel mode, and
2230 which can confuse make processes spawned by our testsuite.
2231 This change fixes a lot of spurious failure when the testsuite
2232 is run with BSD make in parallel mode.
2234 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2236 Modernize, improve and/or fix various test scripts.
2237 * tests/sanity.test: Rely on the `configure.in' stub created by
2238 `./defs', rather than writing one from scratch.
2239 * tests/depend2.test: Likewise. Also, call `set -e' just after
2240 the inclusion of `./defs', instead that later in the script.
2241 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
2242 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
2243 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
2244 Make auxiliary rules in the generated Makefile more silent.
2245 These changes make some checks slightly stricter.
2246 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
2247 * tests/gettext2.test: Place final `:' at the end of the script,
2248 rather than in the middle.
2249 * tests/exeext.test: Call `set -e' just after the inclusion of
2250 `./defs', instead that later in the script.
2251 * tests/extra5.test: Likewise.
2252 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
2253 plain `mv', just to be sure.
2254 * tests/depcomp.test: Enable `errexit' shell flag, with related
2255 changes. Also, modernize the generated configure.in.
2256 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
2257 stub created by `./defs', rather than writing one from scratch.
2258 * tests/cond10.test: Likewise.
2259 * tests/depcomp2.test: Likewise.
2260 * tests/depend3.test: Likewise.
2261 * tests/distcom7.test: Likewise.
2262 * tests/fortdep.test: Likewise. Also, remove definition of
2263 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
2264 since that flag is already provided by $AUTOMAKE.
2265 * tests/mdate.test: Made stricter, by checking that Automake
2266 actually failed, and by making a stricter grep on the error
2267 message. Also, set shell `errexit flag'.
2268 * tests/python2.test: Improved verbose messages.
2270 Make test `ammissing.test' stricter.
2271 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
2272 Enable `errexit' shell flag.
2274 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2276 Enable `errexit' shell flag in some test scripts.
2277 * tests/subcond.test: Enabled `errexit' shell flag, and related
2279 * tests/subst.test: Likewise.
2280 * tests/vars.test: Likewise.
2281 * tests/version4.test: Likewise.
2282 * tests/vpath.test: Likewise.
2283 * tests/vtexi2.test: Likewise.
2284 * tests/werror.test: Likewise.
2285 * tests/whoami.test: Likewise.
2286 * tests/tags.test: Likewise, and avoid to crate an useless dummy
2288 * tests/acsilent.test: Likewise, and don't use an easily-avoided
2289 command substitution.
2290 * tests/unused.test: Likewise, and don't use an easily-avoided
2291 command substitution.
2292 * tests/version.test: Likewise, and avoid deprecated constructs
2293 in the generated `configure.in'.
2294 * tests/version2.test: Likewise, and avoid deprecated constructs
2295 in the generated `configure.in'.
2297 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2299 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
2300 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
2301 the verbose log contains all output.
2302 * tests/mdate.test: Likewise.
2303 Prompted by Stefano Lattarini's change to discover.test.
2305 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2307 Improve tests link*.test (enable `errexit' shell flag).
2308 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
2309 changes. Also, do not create useless source files.
2310 * tests/link_dist.test: Likewise.
2311 * tests/link_f90_only.test: Likewise.
2312 * tests/link_f_only.test: Likewise.
2313 * tests/link_fc.test: Likewise.
2314 * tests/link_fccxx.test: Likewise.
2315 * tests/link_fcxx.test: Likewise.
2317 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2319 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
2320 * tests/ext.test: Inside shell compound command, use
2321 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
2322 fix failure with OpenBSD sh introduced with last patch.
2323 Actually ensure that a rule for .EXT.o is created for each
2324 known extension EXT.
2326 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2328 Enable `errexit' shell flag in some test scripts.
2329 * tests/dash.test: Enable `errexit' shell flag, and related
2331 * tests/defun.test: Likewise.
2332 * tests/defun2.test: Likewise.
2333 * tests/dejagnu.test: Likewise.
2334 * tests/double.test: Likewise.
2335 * tests/distcom2.test: Likewise.
2336 * tests/empty2.test: Likewise.
2337 * tests/empty3.test: Likewise.
2338 * tests/empty4.test: Likewise.
2339 * tests/exdir.test: Likewise.
2340 * tests/ext.test: Likewise.
2341 * tests/extra.test: Likewise.
2342 * tests/extra2.test: Likewise.
2343 * tests/extra3.test: Likewise.
2344 * tests/extra4.test: Likewise.
2345 * tests/flibs.test: Likewise.
2346 * tests/fnoc.test: Likewise.
2347 * tests/fo.test: Likewise.
2348 * tests/instexec.test: Likewise.
2349 * tests/ltdeps.test: Likewise.
2350 * tests/nodep.test: Likewise.
2351 * tests/nodepcomp.test: Likewise.
2352 * tests/f90only.test: Likewise, and remove botched/obsoleted
2353 comments and unnecessary commands.
2354 * tests/fonly.test: Likewise, and remove botched/obsoleted
2355 comments and unnecessary commands.
2356 * tests/discover.test: Likewise, and made stricter.
2358 Enable `errexit' shell flag in all tests cxx*.test.
2359 * tests/cxx.test: Enabled `errexit' shell flag, and related
2361 * tests/cxxansi.test: Likewise.
2362 * tests/cxxcpp.test: Likewise.
2363 * tests/cxxlibobj.test: Likewise.
2364 * tests/cxxlink.test: Likewise.
2365 * tests/cxxo.test: Likewise.
2367 Enable `errexit' shell flag in various tests.
2368 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
2370 * tests/acoutpt.test: Likewise.
2371 * tests/acoutqnl.test: Likewise.
2372 * tests/amassign.test: Likewise.
2373 * tests/ansi2.test: Likewise.
2374 * tests/ansi4.test: Likewise.
2375 * tests/badprog.test: Likewise.
2376 * tests/checkall.test: Likewise.
2377 * tests/clean.test: Likewise.
2378 * tests/colneq2.test: Likewise.
2379 * tests/colon.test: Likewise.
2380 * tests/colon5.test: Likewise.
2381 * tests/colon6.test: Likewise.
2382 * tests/comment.test: Likewise.
2383 * tests/compile_f90_c_cxx.test: Likewise.
2384 * tests/compile_f_c_cxx.test: Likewise.
2385 * tests/cond3.test: Likewise.
2386 * tests/cond6.test: Likewise.
2387 * tests/cond13.test: Likewise.
2388 * tests/conf2.test: Likewise.
2389 * tests/confvar.test: Likewise.
2390 * tests/confvar2.test: Likewise.
2391 * tests/cond8.test: Likewise, plus a cosmetic change.
2392 * tests/confh4.test: Likewise. Also, add in the heading comments
2393 an excerpt from the original bug report which motivated the
2394 creation of this test, to make its purpose clearer.
2396 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2398 Rewrite manual to be gender-neutral.
2399 * doc/automake.texi (GNU Build System)
2400 (Standard Directory Variables, General Operation, CVS)
2401 (Hard-Coded Install Paths, Dependencies As Side Effects):
2402 Rewrite text to not contain gender-specific pronouns when
2403 speaking about developers or users, either by avoiding pronouns
2404 or by addressing them as `you' instead.
2406 Report by Christina Gratorp.
2410 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2412 Make tests on user extensibility of silent-rules mode stricter.
2413 * tests/silent6.test: Made stricter w.r.t. the grepping of the
2414 output produced by `make'.
2415 * tests/silent7.test: Likewise.
2417 Tests on silent-mode for C/Libtool made stricter.
2418 * tests/silent.test: Made stricter w.r.t. the grepping of the
2419 output produced by `make'.
2420 * tests/silent2.test: Likewise.
2421 * tests/silent4.test: Likewise.
2422 * tests/silent9.test: Likewise.
2423 * tests/silent3.test: Likewise, and add a final `make distclean'
2424 command to keep it better in sync with tests/silent{4,9}.test.
2426 Improved test silent5.test.
2427 * tests/silent5.test: Remove by hand all generated C files after
2428 non-verbose builds, to ensure the following builds are clean.
2429 Try to clean and rebuild with the same verbosity and without
2430 removing generated sources in between, to check that this does
2431 not trigger a different set of rules. Make grepping of make's
2432 output stricter. Improved/added some comments.
2434 New tests for Automake silent-mode with Fortran.
2435 * tests/silentf77.test: New test.
2436 * tests/silentf90.test: Likewise.
2437 * tests/Makefile.am (TESTS): Updated accordingly.
2439 New test `silentcxx.test' (Automake silent-mode with C++).
2440 * tests/silentcxx.test: New test.
2441 * tests/Makefile.am (TESTS): Updated accordingly.
2443 New test `silentyacc.test' (Automake silent-mode with Yacc).
2444 * tests/silentyacc.test: New test.
2445 * tests/Makefile.am (TESTS): Updated accordingly.
2447 New test `silentlex.test' (Automake silent-mode with Lex).
2448 * tests/silentlex.test: New test.
2449 * tests/Makefile.am (TESTS): Updated accordingly.
2451 Relax tests on silent-rules to cater to overly verbose makes.
2452 * tests/silent.test: When testing silent builds, don't fail if
2453 make's output simply contains the `mv' substring, but only if
2454 it contains the `mv ' substring (note the trailing space).
2455 * tests/silent2.test: Likewise.
2456 * tests/silent3.test: Likewise.
2457 * tests/silent4.test: Likewise.
2458 * tests/silent5.test: Likewise.
2459 * tests/silent9.test: Likewise.
2461 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2463 Fix silent-rules output for disabled dependency tracking.
2464 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2465 expansion code to also work in the case where %AMDEP% expands
2466 to FALSE at config.status time, using new substitution string
2468 * automake.in (verbose_nodep_flag): New function, appending
2469 `@am__nodep@' to the verbose-variable name.
2470 (handle_languages): If dependencies are not disabled, use it to
2471 set %VERBOSE-NODEP%.
2472 * m4/depend.m4: Substitute am__nodep as '_no', so the second
2473 verbose-variable will always expand to an empty string, if
2474 dependencies are enabled.
2475 * tests/silent5.test: Also test --disable-dependency-tracking;
2476 also test per-target flags for non-C language files.
2477 * tests/silent9.test: New test, like silent4.test but disable
2478 dependency tracking.
2479 * tests/Makefile.am: Adjust.
2480 * NEWS, THANKS: Update.
2481 Report by Dmitry V. Levin <ldv@altlinux.org>.
2483 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2485 Extend test on `nostdinc' automake option.
2486 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
2487 unrelated minor changes. Make the grepping of the generated
2488 Makefile.in slightly stricter. Generate and run configure, so that
2489 the generated Makefile can be grepped too.
2491 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2493 Make gnupload portable to EBCDIC hosts.
2494 * lib/gnupload: Use literal newline as argument for 'tr' rather
2495 than \015, for EBCDIC hosts. Also, avoid unportable nested
2496 double-quotes and backquotes.
2498 Report from Eric Blake and Steve Goetze via gnulib.
2500 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2502 Fix Autoconf version required by Automake's configure.
2503 Automake configure script used to tell that automake required
2504 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2505 and if that was not found, it gave an error saying that Automake
2506 required configure 2.61a-341 or later. This change should
2507 eliminate such inconsistencies.
2508 * configure.ac ($required_autoconf_version): New variable.
2511 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2513 Fix unportable sed script in maintainer-check test.
2514 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2515 not contain semicolon after 'b' or brace commands, for NetBSD.
2517 Wildcards are not portable to NetBSD make.
2518 * doc/automake.texi (Wildcards): Document portability issue.
2519 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2522 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2524 Make test for configure.in vs. configure.ac stricter.
2525 * tests/configure.test: Use a configure.in file that provokes
2526 an automake error, to ensure configure.ac is preferred.
2528 Avoid possible false negatives in dejagnu7.test.
2529 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
2530 unportable use of fgrep option `-e'.
2532 Fix conflnk3.test to work with Solaris/Heirloom Sh.
2533 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
2534 instead of respectively `test -e FILE' and `test ! -e FILE',
2535 since Solaris Sh doesn't grok the latter. Do not SKIP the test
2536 if the shell doesn't support `test -e'.
2538 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2541 * doc/automake.texi (Simple Tests using parallel-tests): Add
2542 missing closing parenthesis.
2544 Fix leftover call to removed function macros_dump.
2545 * automake.in (read_main_am_file): Call variables_dump, not
2546 macros_dump. Print actual error before list of variables.
2548 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
2550 Minor improvements in comments of test `silent3.test'.
2551 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
2554 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2556 testsuite: ensure verbose printing of captured output.
2557 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
2558 tests/fort2.test, tests/help.test, tests/missing3.test,
2559 tests/missing6.test: Print captured stdout or stderr before
2562 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2564 Make test badopt.test stricter (by enabling `set -e').
2565 * tests/badopt.test: Add call to `set -e'. Due to this change,
2566 an unexpected failure in the call to `$ACLOCAL' (whose outcome
2567 was previously unchecked) would cause the whole test to fail.
2568 Also, bumped the copyright years.
2570 Make test for configure.in vs. configure.ac stricter.
2571 * tests/configure.test: Use a configure.in file that provokes
2572 an automake error, to ensure configure.ac is preferred.
2574 Use `set -e' in confsub.test (avoids possible false negatives).
2575 * tests/confsub.test: Enable shell `errexit' flag, and related
2576 changes (this helps avoiding some possible minor false negatives).
2577 Also, bumped copyright years.
2579 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2581 Fix -Werror handling for presence of configure.in and configure.ac.
2582 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2583 $configure_ac at the global level, before command-line arguments
2585 (require_variables): Initialize it here.
2586 * tests/configure.test: New test.
2587 * tests/Makefile.am: Update.
2588 Report by Stefano Lattarini.
2590 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2592 Avoid possible false negatives in confh5.test.
2593 * tests/confh5.test: Enable shell `errexit' flag, and bumped
2594 copyright years. Due to this change, any unexpected failure
2595 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2596 a failure in grepping expected text in output files should now
2597 cause the whole test to fail.
2599 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2601 Fixed typo in POD documentation of Automake::Channels.
2602 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2603 @<...> was used instead of C<...>.
2605 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2607 Refactor tests on Automake TESTS color output.
2608 * tests/color.test: Tests using the expect program moved out to...
2609 * tests/color2.test: ... this new file.
2610 * tests/Makefile.am (TESTS): Extended accordingly.
2612 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2614 Fix typos in comments in test confh5.test
2615 * tests/confh5.test: Fix a couple of typos in comments.
2617 Avoid possible false negatives in canon-name.test.
2618 * tests/canon-name.test: Enable shell `errexit' flag. Improve
2621 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2623 Fix per-Makefile.am setting of -Werror.
2624 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2625 Makefile.am would carry over to other Makefile.am files
2626 treated afterwards by the same thread, causing inconsistent
2627 and unstable exit status values.
2628 * lib/Automake/Channels.pm (dup_channel_setup)
2629 (drop_channel_setup): Save and restore the setting of
2630 $warnings_are_errors.
2631 * tests/werror3.test: New test.
2632 * tests/Makefile.am: Adjust.
2635 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2637 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2638 * tests/confh5.test: In the generated Makefile.am: do not use
2639 `test ! -e FILE' to check for the non-existence of a file, since
2640 that is not supported by Solaris/Heirloom Sh.
2642 Make test `aclocal3.test' stricter.
2643 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
2644 succeds unexpectedly.
2646 Add tests checking that symlinks are resolved by `make dist'.
2647 * tests/distlinks.test: New test.
2648 * tests/Makefile.am (TESTS): Updated accordingly.
2649 Suggested by observations from Ralf Wildenhues.
2651 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2653 Use -9 for maximum xz compression with dist-xz.
2654 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2655 * NEWS, THANKS: Update.
2656 Report by Pavel Sanda.
2658 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
2660 Avoid an unportable use of `$status' shell variable.
2661 * Makefile.am (path-check): Don't use the `$status' shell variable
2662 in the target's rules, as it's special in Zsh (equivalent to `$?',
2665 Avoid another use of `chmod -R'.
2666 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2667 $(distdir) before removing it (as Solaris `chmod -R' touches
2668 symlink targets). Instead, use the cleanup strategy used in
2671 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2673 Remove uses of @acronym and @sc.
2674 * doc/automake.texi (Public Macros, Limitations on File Names):
2675 Remove all usage of @acronym and @sc in the manual.
2676 Suggested by Karl Berry.
2678 2010-03-13 Karl Berry <karl@freefriends.org>
2680 GNU hello uses fdl.texi, not gpl.texi.
2681 * doc/automake.texi (Texinfo): Adjust example to upstream
2684 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2686 Formatting cleanups in macro comments.
2687 * automake.in, lib/Automake/Channels.pm,
2688 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2689 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2690 m4/options.m4, m4/substnot.m4: Fix macro comment format.
2692 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2693 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2695 Avoid generation of `tests/defs-p' file.
2696 * tests/defs.in: In the generated `configure.in' snippet: call
2697 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2698 variable `parallel_tests' is set to `yes'.
2699 * tests/Makefile.am (defs-p): Target removed.
2700 (check_SCRIPTS): Removed `defs-p'.
2701 (clean-local-check): Do not unlink `defs-p' anymore.
2702 ($(parallel_tests)): Transformation rules for the test scripts
2704 * tests/gen-parallel-tests: Selection rules for the test
2706 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2707 then include `./defs' (rather than simply including `./defs-p').
2708 * tests/parallel-tests2.test: Likewise.
2709 * tests/parallel-tests3.test: Likewise.
2710 * tests/parallel-tests4.test: Likewise.
2711 * tests/parallel-tests5.test: Likewise.
2712 * tests/parallel-tests6.test: Likewise.
2713 * tests/parallel-tests7.test: Likewise.
2714 * tests/parallel-tests8.test: Likewise.
2715 * tests/parallel-tests9.test: Likewise.
2716 * tests/parallel-tests10.test: Likewise.
2717 * tests/README (Section "Writing Test Cases" subsection "Do"):
2718 Adjusted the parts referring to tests checking `parallel-tests'
2719 behaviour. Some other minor related improvements.
2720 * tests/.gitignore (defs-p): Removed.
2722 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2724 Remove redundant unset of variable TESTS from some test scripts.
2725 * tests/color.test: Do not unset the `TESTS' variable, as it's
2726 already unset in the `defs' file.
2727 * tests/check5.test: Likewise.
2728 * tests/check8.test: Likewise.
2729 * tests/check9.test: Likewise.
2730 * tests/check10.test: Likewise.
2731 * tests/check11.test: Likewise.
2732 * tests/parallel-tests.test: Likewise.
2733 * tests/parallel-tests3.test: Likewise.
2734 * tests/parallel-tests4.test: Likewise.
2735 * tests/parallel-tests5.test: Likewise.
2736 * tests/parallel-tests6.test: Likewise.
2737 * tests/parallel-tests7.test: Likewise.
2739 2010-02-22 Karl Berry <karl@gnu.org>
2741 Improve help message of mdate-sh.
2742 * mdate-sh: mention actual output format in help message.
2744 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2746 Deprecate dist-lzma in favor of dist-xz.
2747 * doc/automake.texi (The Types of Distributions, Options):
2748 Adjust text to reflect renaming of lzma to xz.
2750 Missing deprecation noted by Antonio Diaz Diaz.
2752 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2754 Add tests about support of wildcards in EXTRA_DIST.
2755 * tests/extra10.test: New test, check basic support of wildcards
2757 * tests/extra11.test: New test, check more complex usage of
2758 wildcards in EXTRA_DIST.
2759 * tests/extra12.test: New test, check usage of wildcards in
2760 EXTRA_DIST when $builddir != $srcdir.
2761 * tests/Makefile.am (TESTS): Updated accordingly.
2762 Necessity of these new tests suggested by Braden McDaniel
2763 and Ralf Wildenhues.
2765 2010-02-08 Simon Josefsson <simon@josefsson.org>
2767 Fix copyright statement in gnupload script.
2768 * lib/gnupload: Fix copyright statement.
2770 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
2771 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2773 Fix exit status of signal handlers in shell scripts.
2774 The value of `$?' on entrance to signal handlers in shell scripts
2775 cannot be relied upon, so set the exit code explicitly to
2777 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2778 * lib/elisp-comp: Likewise.
2779 * lib/install-sh: Likewise.
2780 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
2781 * NEWS, THANKS: Update.
2782 Bug report, analysis, and initial patch by Dmitry V. Levin.
2784 2010-02-06 Karl Berry <karl@gnu.org>
2786 Improve gnupload usage text.
2787 * gnupload (usage): Shorten to make more likely to fit on a tty
2788 line. Mention CMD in the synopsis. With ..., plural is implied.
2790 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
2792 Fix some typos in the manual
2793 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2795 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2797 Slighty improve tests acoutbs.test and acoutbs2.test.
2798 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
2799 autoconf and configure work, that the file `zot' is created by
2800 configure, and that no file containing a backslash in its name is
2802 * tests/acoutbs.test: Likewise, plus updated copyright years.
2804 Fix test acoutbs2.test.
2805 * tests/acoutbs2: In the generated configure.in: add proper calls
2806 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2807 PACKAGE and VERSION. Add a call to aclocal before calling automake.
2808 Updated copyright years.
2809 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2811 Add forgotten test scripts to $(TESTS).
2812 * tests/Makefile.am (TESTS): Added test scripts present on the
2813 filesystem, which were erroneously left out from $(TESTS):
2814 acoutbs2.test, badopt.test, extra2.test.
2815 (XFAIL_TESTS): Added acoutbs2.test.
2817 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2819 Sync auxiliary files from upstream.
2820 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2823 Bump copyright years.
2824 * aclocal.in (write_aclocal, version): Bump copyright years.
2825 * automake.in (gen_copyright, version): Likewise.
2826 * doc/automake.texi: Likewise.
2829 * ChangeLog.09: New file, rotated from ...
2830 * ChangeLog: ... here.
2831 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2835 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
2837 Copying and distribution of this file, with or without modification, are
2838 permitted provided the copyright notice and this notice are preserved.