1 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
3 maintcheck: DISTCHECK_CONFIGURE_FLAGS can be defined on make cmdline
4 * Makefile.am (sc_tests_overriding_macros_on_cmdline): It's now
5 acceptable that the test scripts override DISTCHECK_CONFIGURE_FLAGS
6 on the make command line. Update comments accordingly. Since we
7 are at it, make the relevant grepping rules slightly tighter.
9 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
11 distcheck: add support for AM_DISTCHECK_CONFIGURE_FLAGS
12 * doc/automake.texi (Checking the Distribution): Suggest to use
13 AM_DISTCHECK_CONFIGURE_FLAGS, not DISTCHECK_CONFIGURE_FLAGS, to
14 define (in the top-level Makefile.am) extra flags to be passed
15 to configure at "make distcheck" time; DISTCHECK_CONFIGURE_FLAGS
16 should be reserved for the user. Add proper `@vindex' directive.
17 Document that AM_DISTCHECK_CONFIGURE_FLAGS is not honoured in a
18 subpackage Makefile.am, but the flags in it are passed down to
19 the configure script of the subpackage.
20 * lib/am/distdir.am (distcheck): Also pass the flags in
21 $(AM_DISTCHECK_CONFIGURE_FLAGS) to the configure invocation.
23 * tests/defs.in.test (AM_DISTCHECK_CONFIGURE_FLAGS,
24 DISTCHECK_CONFIGURE_FLAGS): Unset in case they are exported in
25 the environment, they might improperly influence our testsuite.
26 * tests/distcheck-configure-flags.test: New test.
27 * tests/distcheck-configure-flags-am.test: Likewise.
28 * tests/distcheck-configure-flags-subpkg.test: Likewise.
29 * distcheck-hook.test: Likewise.
30 * distcheck-hook2.test: Likewise.
31 * tests/Makefile.am (TESTS): Update.
32 Closes automake bug#8784.
34 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
36 docs: better documentation for silent make rules
37 * doc/automake.texi (Options): Detailed description of the
38 automake option `silent-rules' moved from here ...
39 (Silent Make): ... into this new chapter, expanded, improved,
40 and subdivided into ...
41 (Make verbosity, Tricks For Silencing Make,
42 Automake silent-rules Option): ... these new sections.
43 (@menu, @detailmenu): Update.
44 * tests/silent-configsite.test: New test, checking that the
45 user can control default mode of silent-rules from config.site,
46 as is documented in the manual.
47 * tests/Makefile.am (TESTS): Updated.
49 2011-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
51 Warnings about primary/prefix mismatch fixed and extended.
52 * automake.in (%standard_prefix): Add `doc' and `locale'.
53 Rename `pkgdatadir' to `pkgdata'. Similarly for`pkglibdir',
54 `pkgincludedir' and `pkglibexecdir'.
55 (handle_programs): List `pkglibexec', not `pkglib', among the
56 prefixes valid for the `PROGRAMS' primary.
57 (handle_data): List also `doc' among the prefixes valid for
58 the `DATA' primary. This is required by automake's own build
60 * tests/dirforbid.test: Test removed, superseded by ...
61 * tests/primary-prefix-invalid-couples.test: ... this new test.
62 * tests/primary-prefix-valid-couples.test: New test.
63 * tests/primary-prefix-couples-documented-valid.test: Likewise.
64 * tests/primary-prefix-couples-force-valid.test: Likewise.
65 * tests/java3.test: Adjusted, and extended a bit.
66 * tests/Makefile.am (TESTS): Updated.
68 From a report by Eric Blake.
70 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
72 test defs: new function 'fatal_', for hard errors
73 Before this patch, the only way offered by tests/defs to
74 properly signal a hard error was the `framework_failure_'
75 function. But the error message issued by that function,
76 as its name would suggest, refers to a set-up failure in the
77 testsuite, while hard errors can obviously also be due to
78 other reasons. The best way to fix this inconsistency is to
79 introduce a new function with a more general error message.
80 Inspired by a recent similar change to Gnulib's tests/init.sh.
81 * tests/defs.in (fatal_): New function.
82 * tests/README (Section "Writing test cases" subsection "Do"):
83 Suggest the use of `fatal_', not of `framework_failure_', for
84 generic hard errors. The latter should be reserved for "real"
87 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
89 maintcheck: fix some failures, extend some checks
90 * Makefile.am (sc_diff_automake_in_automake): Update, as we
91 now expect 9 lines, not 8, to be changed from `automake.in'
93 (sc_diff_aclocal_in_aclocal): New maintainer check, similar to
94 the above, and checking that only 10 lines are changed from
95 `aclocal.in' to `aclocal'.
96 (syntax_check_rules): Update.
97 (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test'
98 from this check, as they can legitimately use the bare `exit'
99 builtin in various places.
100 * doc/automake.texi (Python): Remove stray `@' from the end of
101 a line. Typo introduced in commit `v1.11-312-g5bf7af6'.
102 * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make
103 from the environment rather than from the command line, to
104 pacify the `sc_tests_overriding_macros_on_cmdline' maintainer
106 * tests/depcomp8b.test: Likewise.
108 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
110 remake: behave better with non-GNU make in subdirectories
111 Currently, with every decent make program, it is possible to
112 rebuild out-of-date autotools-generated files with a simple
113 "make Makefile" -- but for this to work reliably with non-GNU
114 make implementations, the command must be issued from the
115 top-level directory. This patch removes such limitation.
116 * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'.
117 * tests/defs.in (using_gmake): New function, backported from the
118 `master' branch (and simplified).
119 * tests/remake-subdir.test: New test.
120 * tests/remake-subdir2.test: Likewise.
121 * tests/remake-subdir-gnu.test: Likewise.
122 * tests/remake-subdir-from-subdir.test: Likewise.
123 * tests/Makefile.am (TESTS): Update.
125 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
127 automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE
128 Currently, the Automake's own configure script allow definition
129 of AUTOCONF and AUTOM4TE, expected to point respectively to an
130 autoconf and autom4te programs. But while these definitions are
131 honoured in the Automake's build systems and test suite, they
132 were *not* honoured in the generated `automake' and `aclocal'
133 scripts. This behaviour, apart from being wrong in that it does
134 not allow the user enough freedom in choosing his tools, also
135 caused inconsistencies in the test suite, brining to spurious
137 Problem reported by Graham Reitz on the automake list; see thread:
138 <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html>
139 * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'.
140 * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'.
141 * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and
146 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
148 build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
149 Our build system allows the user to override AUTOCONF and AUTOHEADER
150 at configure time, and honours these overrides in our testsuite.
151 But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
152 This change fixes that inconsistency.
153 * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
154 AC_SUBSTitutions. Update comments.
155 * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
156 ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
157 ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
158 * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
160 2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
161 Stefano Lattarini <stefano.lattarini@gmail.com>
163 tests/README: fix example about `make -e' usage
164 * tests/README (Section "Writing test cases" subsection "Do"): When
165 some variable is never initialized in the Makefile, `-e' is not
166 necessary in order to override it. DESTDIR is such a variable: we
167 ensure that we do not ever initialize it. And as such, it is quite
169 $ make DESTDIR=/foo/bar install
170 and in fact, quite widely used.
171 So our example about when `make -e' is required, which references
172 the `DESTDIR' variable, is poorly chosen, if not downright wrong.
173 Rewrite it to use `prefix' as the overridden variable instead.
175 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
177 testsuite: avoid re-running few tests with 'parallel-tests' option
178 Some tests in our testsuite use the 'simple-tests' driver only
179 marginally, or simply as a mean to conveniently check unrelated
180 invariants. It makes little sense to force these tests to also
181 run with the 'parallel-tests' Automake option active, as doing so
182 offers no real gain in coverage, while often causing a measurable
183 overhead in execution time (for an already too-slow testsuite).
184 * tests/pr401.test (parallel_tests): Define to "no", to prevent
185 the generation of a sibling test script using the 'parallel-tests'
187 * tests/pr401b.test: Likewise.
188 * tests/pr401c.test: Likewise.
190 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
192 testsuite: allow tests to avoid the use of 'parallel-tests' option
193 * tests/gen-parallel-tests: Do not generate "siblings" for tests
194 that explicitly define the `parallel_tests', whether to "yes" or
195 to any other value. Extend heading comments to give a rationale
197 * tests/README: Update.
199 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
201 tests/README: update obsoleted advice
202 * tests/README (Section "Writing test cases" subsection "Do"):
203 Do not suggest to use the `*-p.test' pattern for the names of
204 hand-written tests which use the `parallel-tests' Automake option.
205 Not only is this not respected by the existing tests, but it is
206 more likely to cause conflicts with auto-generated tests.
207 So, suggest to *avoid* using the `*-p.test' pattern in names
208 of hand-written tests instead.
209 (Section "Writing test cases" subsection "Do not"): When
210 suggesting not to override Makefile variables using command
211 line arguments, do not use the badly outdated variables `U'
212 and 'ANSI2KNR' in the example; instead, use the more common
213 and typical `DESTDIR'.
215 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
217 test defs: rename requirement 'non-cross' -> 'native'
218 * tests/defs.in (non-cross): Rename requirement ...
219 (native): ... to this, which is clearer and fits the
220 existing lingo better.
221 Suggestion by Ralf Wildenhues.
223 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
225 testsuite: be more cross-compile friendly
226 * tests/defs.in (cross_compiling): New subroutine.
227 (am__tool_prefix): New internal variable.
228 (gcc, g++, gcj): Force the use of the correct "tool prefix"
229 when cross compiling.
230 (gfortran, g77, non-cross): New requirements.
232 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
234 tests: fix spurious failure of txinfo21.test on FreeBSD
235 * tests/txinfo21.test: Use the `is_newest' subroutine instead of
236 the `ls -t' hack to to determine whether a file has been updated.
237 This is required because at least FreeBSD `ls' do not sort files
238 with the same timestamp in alphabetical order when using the `-t'
241 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
243 tests defs: allow requirements for compilers (mostly dummy)
244 Most of the new requirements that are now accepted in `$required'
245 as consequence of this patch are still dummy. They are planned
246 to be implemented only in master (or in some derived branch), but
247 having them here (even just as no-op) will allow for an easier
248 integration/backporting of potential new testcases.
249 * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
251 (flex): New requirement, picking LEX for configure.
252 (lex): New requirement, alias for `flex'. A more appropriate
253 implementation, looking for a generic `lex' program, will follow
255 (yacc): New requirement, alias for `bison'. A more appropriate
256 implementation, looking for a generic `yacc' program, will follow
259 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
261 tests: fix spurious failure in a test on TESTS (VPATH-related)
262 * tests/check-tests-in-builddir.test: When not using the
263 parallel-tests option, do not check that VPATH components are
264 not present in the displayed test name, since the simple-tests
265 driver do not try to strip them.
267 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
269 test: self check subroutines for skipping/failing of tests
270 * tests/self-check-report.test: New test.
271 * tests/Makefile.am (TESTS): Update.
273 2011-04-23 Jim Meyering <meyering@redhat.com>
274 Stefano Lattarini <stefano.lattarini@gmail.com>
276 test defs: new subroutines for test skipping/failing
277 * tests/defs.in (Exit): Move definition of this function earlier.
278 (warn_, skip_, fail_, framework_failure_): New functions, inspired
279 to the homonyms in gnulib's tests/init.sh.
280 ($stderr_fileno_): New global variable, used by the new functions
282 * tests/README: Updated.
283 From a suggestion by Ralf Wildenhues.
285 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
287 tests: fix typo (copy & paste blunder) in heading comment
288 * tests/maintclean-vpath.test: Correctly refer to the sister test
289 as `maintclean.test', not as `maintclean-vpath.test'.
291 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
293 tests: remove redundant test `mclean.test'
294 * tests/mclean.test: Remove, it's a weak grepping test completely
295 superseded by the much more complete `maintclean.test'.
296 * tests/Makefile.am (TESTS): Update.
298 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
300 testsuite: more environment sanitization
301 * tests/defs.in: Sanity check: abort if any of `parallel_tests'
302 or `required' is in the environment.
303 ($sed_unindent_prog): Initialize to empty, to avoid interferences
304 from the environment.
305 * tests/self-check-me-in-env.test: Renamed to ...
306 * tests/self-check-env-sanitize.test: ... this, and extended.
307 * tests/Makefile.am (TESTS): Update.
308 (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
309 `required'. Adjust comments.
311 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
313 tests: don't allow `$me' to be overridden from the environment
314 * tests/defs.in: Sanity check: abort if $me is in the environment.
315 * tests/self-check-me-in-env.test: New test.
316 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
318 Suggestion by Ralf Wildenhues.
320 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
322 test defs: allow overriding of `$me'
323 * tests/defs.in ($me): Allow overriding by the including test
324 script. Add some explicative comments.
326 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
328 depcomp tests: don't reject slower dependency extractors
329 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
330 option to `configure' invocations, so that slower dependency
331 extractors are not rejected.
332 * tests/depcomp8a.test: Likewise. Also ...
333 (foo.c): ... since we are at it, fix spacing to be consistent
334 with GNU coding standards.
336 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
338 m4: add missing serial numbers to a few files
339 Related to automake bug#8483.
340 * m4/amversion.in: Add serial number.
341 * m4/auxdir.m4: Likewise.
342 * m4/gcj.m4: Likewise.
343 * m4/install-sh.m4: Likewise.
344 * m4/mkdirp.m4: Likewise.
345 * m4/python.m4: Likewise.
346 * m4/runlog.m4: Likewise.
347 * m4/strip.m4: Likewise.
348 * m4/upc.m4: Likewise.
350 2011-04-16 Jim Meyering <meyering@redhat.com>
352 depcomp: correct invalid sed invocation
353 * lib/depcomp: Insert missing -e before '/:$/d'.
354 Otherwise, that use of sed would treat '/:$/d' as a file name.
356 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
358 maintainer check: quote literal `$' in Makefile rule
359 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
360 character in double-quoted string. Fix a bug in which the rule
361 emitted an erroneously empty substring in its error message.
363 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
365 coverage: test for automake bug#8485 (known regression)
366 * tests/yacc-dist-nobuild-subdir.test: New test.
367 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
369 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
371 test defs: define default $distdir (help reducing duplication)
372 * tests/defs.in ($distdir): New variable, might be used in
373 testcases checking distribution-related features.
374 * tests/pr9.test: Use it.
375 * tests/subdir9.test: Likewise.
376 * tests/vtexi3.test: Add comment explaining why we redefine
377 $distdir in this test.
379 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
381 depcomp: fix bugs in tests and in the depcomp script
382 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
383 * tests/depcomp10.test: Make it executable. Fix a blunder that
384 has left part of an intended comment not prefixed by `#', thus
385 causing shell syntax errors. In this same comment, break a
386 too-long reported error message on multiple lines, for clarity.
387 Add reference to the relevant bug report. Add a comment which
388 explains why the test result 'skipped' if the first "make" call
389 fails. Add other useful comments.
390 * tests/depcomp9.test: Slightly improve comments.
392 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
394 Fix hp depmode for VPATH builds with GNU make.
395 * lib/depcomp: Be sure to remove VPATH-prefixed object from
396 dependency output when creating stub rule.
397 * tests/depcomp10.test: New test.
398 * tests/Makefile.am (TESTS): Update.
400 Report by Bruno Haible.
402 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
404 test defs: fix 'javac' requirement for older JDK versions
405 The Java compiler from JDK 1.5 (and presumably earlier versions)
406 cannot handle the `-version' option by itself; and while it does
407 print the version number, it then errors out with an usage error:
410 javac: no source files
411 Usage: javac <options> <source files>
413 Luckily, adding the `-help' option to the `javac' invocation
414 seems to fix this problem.
415 * tests/defs.in (javac): Pass also the `-help' option to the
416 `javac' program. Add a comment explaining why it is needed.
417 Report from Ralf Wildenhues.
419 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
421 test defs: new requirement for the default java compiler
422 * tests/defs.in (for tool in $required): New requirement 'javac'.
423 * tests/java.test: Use it instead of ad-hoc configure check.
424 * tests/java-check.test: Likewise.
425 * tests/instfail-java.test: Likewise.
426 * tests/instdir-java.test: Likewise.
428 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
430 java: check_JAVA does not cause compilation by "make all" anymore
431 Fixes automake bug#8234.
432 * automake.in (handle_java): Make stamp of class files built from
433 java sources in $(check_JAVA) a dependency of `check' target, not
435 * tests/java-check.test: New test.
436 * tests/Makefile.am (TESTS): Update.
439 Report from Petteri Räty.
441 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
443 Clarify regex code in depcomp.
444 * lib/depcomp: Add comment why we don't need regex-escaping here.
445 Suggested by Stefano Lattarini.
447 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
449 Fix makedepend depmode for VPATH builds.
450 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
451 object file name, so a rebuild doesn't attempt to update the
452 .Po files in the source tree.
453 * tests/depcomp9.test: New test.
454 * tests/Makefile.am (TESTS): Update.
457 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
459 tests: fix timestamp-related failures
460 Fixes automake bug#8365.
461 * tests/aclocal6.test: Sleep before modifying m4 files that should
462 trigger remake rules. Remove incorrect/obsoleted comments.
463 * tests/subdir5.test: Likewise, and extend a bit.
464 * tests/subdir8.test: Likewise.
465 * tests/pr8365-remake-timing.test: New xfailing test.
466 * tests/Makefile.am (TESTS): Update.
467 Report from Sam Steingold.
469 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
471 Create subdirs for generated sources even when not dep tracking.
472 * automake.in (handle_single_transform): If $object is derived
473 and lands in subdir, be sure to output a dirstamp dependency.
474 * tests/yacc5.test: Avoid falsely matching the dirstamp
475 dependency when grepping for a rule.
476 * tests/lex-subobj-nodep.test: New test.
477 * tests/Makefile.am (TESTS): Update.
479 Report by Ignacy Gawedzki.
481 Fix locale issue in check-exported-srcdir.test.
482 * tests/check-exported-srcdir.test: Reformulate glob to not fail
483 in a locale that ignores or interleaves character case.
485 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
487 docs: better visibility for aclocal in the index
488 * doc/automake.texi (@menu): Rename title for entry 'configure'
489 from "Scanning configure.ac or configure.in" to the more precise
490 "Scanning configure.ac, using aclocal".
491 (@detailmenu): Adjust.
492 (@node configure): Adjust, and extend @cindex calls accordingly.
494 From a report by Maynard Johnson.
496 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
498 tests: improve tests on "maintainer-clean" target
499 * tests/aclocal6.test: Move checks related to "maintainer-clean"
500 functionalities into ...
501 * tests/maintclean-vpath.test: ... this new test.
502 * tests/maintclean.test: Update heading comments. Extend to also
503 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
504 in configure.in. Add a trailing `:' command. Remove extra blank
506 * tests/Makefile.am (TESTS): Update.
508 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
510 tests: fix unindent to use printf not echo for script.
511 * tests/defs.in: Use printf rather than echo, as the latter may
512 interpret the backslashes in the sed script. Fixes test
513 failures with dash as /bin/sh.
515 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
516 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
518 maintcheck: look for problematic names of testcases
519 The configure.in stub created by default by `tests/defs' obtains
520 the first argument of AC_INIT from the test name, and this can
521 cause some supported autoconf versions to fail with a spurious
522 error if that test name contains the name of an m4 or m4sugar
523 builtin or macro (e.g., `defn' or `m4_undefine').
524 See for example the bug fixed by commit v1.11-287-g1325a8a.
525 This change add a maintainer check that warns about test names
526 which are possibly problematic in this regard.
527 * Makefile.am (sc_test_names): New maintainer-check target.
528 (syntax_check_rules): Add it.
529 (m4_builtins): New helper variable.
530 (TESTS): Updated according to the following renamings.
531 * tests/include.test: Renamed ...
532 * tests/hdr-vars-defined-once.test: ... to this.
533 * tests/sinclude.test: Renamed ...
534 * tests/m4-inclusion.test: ... to this, and simplified
536 * tests/include2.test: Renamed ...
537 * tests/dist-included-parent-dir.test: ... to this, for
540 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
542 tests: fix bug in alloca*.test
543 * tests/alloca.test: Make grepping of automake stderr stricter,
544 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
545 and create a dummy alloca.c file, to ensure that we fail for the
547 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
548 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
549 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
551 From a report by Patrick Welche.
553 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
555 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
556 * tests/comments-in-var-defn.test: The configure.in stub created
557 by default, which has the AC_INIT first argument obtained by the
558 test name, causes autoconf 2.62 to fail with a spurious error
559 message like: "configure.in:1: error: defn: undefined macro:".
560 Thus, to prevent this, the test is renamed to ...
561 * tests/comments-in-var-def.test: ... this.
562 * tests/Makefile.am (TESTS): Updated.
564 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
566 cosmetics: convert encoding from ISO-8859 to UTF-8
567 * ChangeLog.03: Convert encoding to UTF-8.
568 * ChangeLog.96: Likewise.
569 * ChangeLog.98: Likewise.
573 2011-03-01 Peter Rosin <peda@lysator.liu.se>
575 test defs: unindent without temporary file
576 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
577 that strips the "proper" amount of leading whitespace.
578 (unindent): Lazily strip comments from the above program and use it
579 to unindent without using a temporary file.
581 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
583 libtool: suggest LT_INIT if LTLIBRARIES primary is used
584 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
585 defined, automake suggested to add a call to AC_PROG_LIBTOOL
586 in configure.ac. But that macro is deprecated since Libtool
587 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
588 suggest the use of this latter macro instead.
589 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
590 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
591 * tests/libtool4.test: Adjust and extend. Also, add a call to
592 macro AC_PROG_CC in configure.in, to help ensuring that automake
593 does not fail for the wrong reasons.
594 * tests/ltinit.test: New test, ensure that automake's libtool
595 support works with LT_INIT-based interface.
596 Thanks to Jack Kelly for the suggestion.
598 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
600 tests: tempdirs with restrictive permissions are cleaned correctly
601 Before this change, the removal of a temporary test directory
602 containing subdirectories with restrictive permissions (such as
603 'r--r--r--') could fail.
604 * tests/defs: Ensure that all the subdirectories of a temporary
605 test directory have the 'read', 'write' and 'execute' bits set,
606 before trying to remove it with `rm -rf'.
607 * tests/Makefile.am (clean-local-check): Likewise.
609 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
610 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
612 test defs: add subroutine for input unindenting
613 * tests/defs.in (unindent): New subroutine.
615 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
617 python: report the 'PYTHON' influential environment variable
618 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
619 * doc/automake.texi (Python): Update and extend.
620 * tests/help-python.test: New test.
621 * tests/Makefile.am (TESTS): Update.
622 * THANKS (Jack Kelly): Update e-mail address.
623 Suggestion by Jack Kelly.
625 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
627 tests defs: clear TESTS_ENVIRONMENT variable
628 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
629 from environment won't interfere with the testcases.
630 Suggestion by Ralf Wildenhues.
632 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
634 tests: tweak few tests on simple and parallel test drivers
635 * tests/check-exported-srcdir.test: Improve heading comments.
636 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
637 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
638 environment won't risk to interfere with the test.
639 Suggestions by Ralf Wildenhues.
641 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
643 coverage: more tests on simple and parallel test drivers
644 * tests/parallel-tests-subdir.test: New test.
645 * tests/check-exported-srcdir.test: Likewise.
646 * tests/check-tests-in-builddir.test: Likewise.
647 * tests/check-tests_environment.test: Likewise.
648 * tests/Makefile.am (TESTS): Update.
650 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
652 tests: fix spurious failures in lflags*.test
653 * tests/lflags.test: Remove 'LEX' from the environment, so
654 that it won't be erroneously picked up by `make -e'.
655 * tests/lflags2.test: Likewise.
657 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
659 docs: color-tests issues with parallel make
660 * doc/automake.texi (Simple Tests): Document that automatic
661 recognition of a capable terminal attached to stdout can fail
662 with some make implementation when running in parallel mode,
663 thus causing colored test output not to be automatically
664 activated when it should.
666 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
668 tests: avoid instspc.test failures due to make's whitespace trimming
669 * tests/instspc.test: Prepend './' when passing the test
670 characters, to avoid leading whitespace characters to be trimmed
671 from macros set from environment variables. Fixes testsuite
672 failures with HP-UX, IRIX, and Tru64/OSF make.
674 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
676 coverage: test semantics of "dummy" per-target flags
677 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
678 per-target flags triggers the use of renamed objects.
679 * tests/Makefile.am (TESTS): Update.
680 Suggestion by Ralf Wildenhues.
682 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
684 tests defs: sanitize IFS
685 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
686 ($sp): New variable, holding a single whitespace character.
687 ($tab): New variable, holding a tabulation character.
688 ($nl): New variable, holding a newline character.
690 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
692 tests: fix VPATH auto-expansion workarounds.
693 * tests/parallel-tests8.test, tests/suffix13.test:
694 Ensure $< is not surrounded by white space, to prevent Solaris
695 make from applying automatic VPATH text expansion.
697 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
699 tests: fix spurious failures in yflags*.test
700 * tests/yflags.test: Remove 'YACC' from the environment, so
701 that it won't be erroneously picked up by `make -e'.
702 * tests/yflags2.test: Likewise.
704 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
706 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
707 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
708 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
709 up its internal memory when copying this tree.
711 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
712 Stefano Lattarini <stefano.lattarini@gmail.com>
714 Add comment to check-TESTS rule working around make 3.80 bug.
715 * lib/am/check.am (check-TESTS): Update comment.
717 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
719 tests: less strict double-colon spy.test again.
720 * tests/spy.test: We know BSD make doesn't invoke more than one
721 double-colon rule, so no need to expose that failure.
723 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
725 install-sh: avoid Tru64 sh `test' operator precedence issues.
726 * lib/install-sh: Protect file names and directory components
727 that consist of `=', `(', `)', or `!'. Move protection as early
728 as possible, to avoid errors such as with Tru64 sh `test -z ='.
729 * tests/instsh2.test: Extend test to cover more possibilities.
730 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
732 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
733 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
735 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
736 * doc/automake.texi (Simple Tests): Do not claim Automake uses
737 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
738 parallel-tests driver.
740 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
742 Allow _AM_DEPENDENCIES to be used later in configure.
743 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
744 conftest.dir before recreating it.
746 Report by Eric Blake, from report by Scott McCreary against M4.
748 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
750 tests: avoid failure on w32 file systems.
751 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
752 be turned unreadable.
754 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
756 tests: allow double-colon spy.test to work with HP-UX make.
757 * tests/spy.test: Fix comment typos. Ensure prerequisites we
758 do not want to depend on are strictly older than the target.
759 Also test with a target out of date wrt. more than one rule.
761 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
763 tests: remove useless requirements from cond36.test
764 * tests/cond36.test ($required): Remove.
765 Since we are at it, add a trailing `:' command.
767 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
768 Stefano Lattarini <stefano.lattarini@gmail.com>
770 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
771 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
772 Test file readability before redirecting input from it, to avoid
773 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
774 * tests/parallel-tests-unreadable-log.test: New test.
775 * tests/Makefile.am (TESTS): Update.
778 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
780 * NEWS, README: Update copyright years.
782 Fix parallel-tests.test failure with HP-UX make.
783 * tests/parallel-tests.test: Sleep inside inner tests, so logs
784 are newer than logs of tests they depend on, for HP-UX make.
786 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
788 docs: ensure example are separated with empty lines in the input
789 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
790 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
791 lines before `@example' and after `@end example' lines, so info
792 output is rendered correctly, and a following @noindent honored.
793 Report by Stefano Lattarini.
795 2011-01-15 Jim Meyering <meyering@redhat.com>
797 tests: fix comment typo
798 * tests/substref.test: Fix grammar in a comment.
800 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
802 tests: fix spurious failures in two texinfo tests
803 * tests/txinfo.test ($required): Add 'makeinfo'.
804 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
805 that make won't try to run makeinfo (which could be unavailable)
807 Found by NixOS Hydra, reported by Ralf Wildenhues.
809 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
811 Avoid testsuite failures due to Autoconf Fortran change.
812 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
813 require computing the canonical host name. Ensure config.guess
814 and config.sub files are present for respective checks.
815 * tests/compile_f_c_cxx.test: Add stub files.
816 * tests/flibs.test: Likewise.
817 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
819 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
821 docs: clustered '-d' not recognized in YFLAGS
822 This change fixes automake bug#7828.
823 * doc/automake.texi (Yacc and Lex): Document that automake
824 recognizes '-d' in AM_YFLAGS only if it's not clustered with
826 From a report by Юрий Пухальский.
828 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
830 tests: add checks on automatically-distributed files
831 Related to automake bug#7819.
832 * tests/autodist.test: New test.
833 * tests/autodist-subdir.test: Likewise.
834 * tests/autodist-acconfig.test: Likewise.
835 * tests/autodist-acconfig-no-subdir.test: Likewise.
836 * tests/autodist-aclocal-m4.test: Likewise.
837 * tests/autodist-config-headers.test: Likewise.
838 * tests/autodist-configure-no-subdir.test: Likewise.
839 * tests/autodist-stamp-vti.test: Likewise.
840 * tests/Makefile.am (TESTS): Update.
842 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
844 tests: work around a texi+cygnus bug causing a spurious XFAIL
845 * tests/txinfo5b.test: New test, like txinfo5.test but calling
846 automake with the `-Wno-override' option to work around a bug
847 in the texinfo + cygnus interaction.
848 * tests/txinfo5.test: Update heading comments.
849 * tests/Makefile.am (TEST): Updated.
851 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
853 Fix another typo in Rule.pm comment.
854 * lib/Automake/Rule.pm: Fix typo.
856 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
858 Improve, extend and tweak tests on Texinfo support.
859 * tests/instdir-texi.test: Add a call to `ls -l' after that to
860 `make', for debugging. When looking for required tools, do not
861 redirect the output of "$tool --help" to /dev/null, and do not
862 uselessly run it in a subshell.
863 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
864 make. All checks moved into Makefile.am.
865 * tests/txinfo8.test: Likewise, and modernize the generated
867 * tests/txinfo2.test: Moved checks into Makefile.am, and other
869 * tests/txinfo5.test: Enable `errexit' shell flag, and related
870 changes. Add trailing `:' command.
871 * tests/txinfo6.test: Likewise, and make grepping of generated
872 Makefile.in stricter.
873 * tests/txinfo7.test: Enable `errexit' shell flag, and related
874 changes. Add trailing `:' command. Do not add unnecessary stuff
876 * tests/txinfo9.test: Verify that more targets which are expected
877 to be generated only once really are. Make grepping less strict,
878 to avoid exposing too much internal details. More minor changes.
879 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
880 for appending to configure.in. Updated/fixed heading comments.
881 * tests/txinfo23.test: Likewise, and extended a little by making
882 it check that no info file is created in the $(srcdir).
883 * tests/txinfo24.test: Likewise.
884 * tests/txinfo25.test: Likewise.
885 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
886 for appending to configure.in. Also, check that index files are
887 cleaned also by "make clean", not only by "make distclean".
888 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
889 and added trailing `:' command. This testcase also used to check
890 that automake ignores in-line comments when using variables, but
891 preserves them in the output; these checks (added in commit
892 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
893 so they have been moved ...
894 * tests/comments-in-var-defn.test: ... into this new test.
895 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
896 trailing `:' command.
897 * tests/txinfo29.test: Likewise. Relax grepping of generated
898 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
899 append to configure.in.
900 * tests/txinfo3.test: Likewise.
901 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
902 make it stricter, sometimes laxer). Move `set -e' setting just
903 after the inclusion of ./defs. De-uglify a sed command. Other
904 minor cosmetic improvements.
905 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
906 trailing `:' command.
907 * tests/vtexi3.test: New test on version.texi support.
908 * tests/vtexi4.test: Likewise.
909 * tests/Makefile.am (TESTS): Updated.
911 2011-01-09 Peter Rosin <peda@lysator.liu.se>
913 Fix another typo in Rule.pm comment.
914 * lib/Automake/Rule.pm: Fix typo.
916 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
918 cosmetics: remove trailing whitespaces
919 * doc/automake.texi: Remove trailing whitespaces.
920 * tests/cond13.test: Likewise.
921 * tests/cond14.test: Likewise.
922 * tests/fort4.test: Likewise.
923 * tests/fort5.test: Likewise.
924 * tests/suffix7.test: Likewise.
925 * tests/vtexi2.test: Likewise.
927 automake: minor fixes in comments
928 * automake.in: Some minor fixes and enhancements in comments.
930 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
932 Add test coverage for deleted header files.
933 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
934 also check for the deleted header bug. If no dependency
935 tracking mechanism could be found, SKIP rather than exit
936 successfully. Use GNU style spacing and ANSI C prototypes.
938 Fix typos in Rule.pm comments.
939 * lib/Automake/Rule.pm: Fix typos in comments.
941 docs: split 'amhello Explained' node.
942 * doc/automake.texi (amhello Explained): Split node ...
943 (amhello's configure.ac Setup Explained)
944 (amhello's Makefile.am Setup Explained) : ... into these two.
945 (Top, Hello World): Adjust, and add @anchor for stable URL links.
946 Suggestion by Karl Berry in automake bug#7766.
948 2011-01-08 Karl Berry <karl@freefriends.org>
949 Eric Blake <eblake@redhat.com>
951 docs: reference defining directories in amhello node.
952 * doc/automake.texi (amhello Explained): Point to Autoconf
953 manual for how to convert directory values into macros.
954 (Optional): Fix grammar nit.
956 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
958 * NEWS: Fix typo (forgotten word).
960 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
961 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
963 docs: how to work around checks on invalid primary/directory couples
964 * doc/automake.texi (Uniform): Document the blessed idiom which can
965 be used to work around automake checks on invalid primary/directory
966 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
968 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
970 Sync auxiliary files from upstream.
971 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
974 Fix maintainer-check regression.
975 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
978 Bump copyright years.
979 * aclocal.in (write_aclocal, version): Bump copyright years.
980 * automake.in (gen_copyright, version): Likewise.
981 * doc/automake.texi: Likewise.
983 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
984 Stefano Lattarini <stefano.lattarini@gmail.com>
986 Work around a bug in file-inclusion mechanism of Solaris make.
987 * automake.in (handle_single_transform): In the name of the
988 dependency file: collapse multiple slash characters into a single
990 * tests/subobj11a.test: New test.
991 * tests/subobj11b.test: Likewise.
992 * tests/subobj11c.test: Likewise.
993 * tests/depcomp8a.test: Likewise.
994 * tests/depcomp8b.test: Likewise.
995 * tests/Makefile.am (TESTS): Updated.
997 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
998 patch and tests by Stefano Lattarini.
1000 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1002 Fix two spurious testsuite failures on IRIX 6.5.
1003 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
1004 weaker make implementations (e.g. IRIX 6.5).
1005 * tests/parallel-tests8.test: Likewise, plus a required related
1007 Reported by Ralf Wildenhues. The bugs have been there from the
1008 first versions of the affected test scripts.
1010 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1012 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
1013 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
1014 the AM_CYGWIN32 macro (and indeed hasn't required it since at
1015 least commit Release-1-2-31-g3038064 "merged changes from
1016 Cygnus" of 1997-08-25).
1018 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1020 distlinksbrk.test: Work around botched "make -k".
1021 * tests/distlinksbrk.test: Run "make" multiple times and grep
1022 its output each time for a single error message, rather than
1023 running "make -k" one single time and grepping its output for
1024 all the expected error messages. This should work around make
1025 implementations with limited (broken?) `-k' support; for more
1026 information, see these subthreads on the automake-patches list:
1027 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
1028 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
1029 - 2010-11-15, "Testsuite failures on IRIX 6.5",
1030 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
1032 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1034 Fix sed-related buglet in test "subdir5.test"
1035 * tests/subdir5.test: Always terminate text passed to the
1036 `i' sed command with a newline, to work around limitations
1037 in e.g. older OpenBSD sed.
1039 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1041 docs: fix blunder in example about python extension modules
1042 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
1043 not `quaternion_SOURCES', to declare the sources of python
1044 extension module `quaternion.la'.
1046 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1048 docs: list LTLIBRARIES among Automake primaries
1049 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
1050 the Automake primaries.
1052 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1054 Improve tests on generated portions of configure help screen.
1055 * tests/help-depend.test: Grepping of configure help screen
1056 relaxed to cater for possible line wrapping, and tightened in
1058 * tests/help-depend2.test: Likewise.
1059 * tests/help-dmalloc.test: Likewise.
1060 * tests/help-lispdir.test: Likewise.
1061 * tests/help-maintainer.test: Likewise.
1062 * tests/help-multilib.test: Likewise.
1063 * tests/help-silent.test: Likewise.
1064 * tests/help-upc.test: Likewise.
1065 * tests/help-init.test: Grepping of configure help screen
1068 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1070 Avoid running installed automake from 'libtool --help'.
1071 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
1072 Together with fixed Libtool, this fixes check-coverage to not
1073 invoke installed automake.
1075 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1077 Fix spurious failures in `silent*.test' for $CC != gcc
1078 In some tests on automake-produced silent rules, we forced the
1079 use of gcc depmode to improve testsuite coverage; but this has
1080 unsurprisingly led to spurious failures when some non-GNU C
1081 compilers were used. So we are now careful to require GCC in
1082 tests that force gcc depmode.
1083 From reports by Ralf Wildenhues.
1084 * tests/silent5.test: Test removed, its content split into ...
1085 * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
1086 these new sister tests, the latter of which forces gcc depmode
1087 and lists "gcc" in $required.
1088 * tests/silentlex.test: Test removed, its content split into ...
1089 * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
1090 these new sister tests, the latter of which forces gcc depmode
1091 and lists "gcc" in $required.
1092 * tests/silentyacc.test: Test removed, its content split into ...
1093 * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
1094 these new sister tests, the latter of which forces gcc depmode and
1095 lists "gcc" in $required.
1096 * tests/Makefile.am (TESTS): Updated.
1098 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1100 Tests: consistently use "|| Exit 1" after ". ./defs".
1101 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
1102 `. ./defs', for consistency with other tests.
1103 * tests/autohdr2.test: Likewise.
1104 * tests/autohdr3.test: Likewise.
1105 * tests/autohdr4.test: Likewise.
1106 * tests/cond23.test: Likewise.
1107 * tests/cond24.test: Likewise.
1108 * tests/cond25.test: Likewise.
1109 * tests/cond26.test: Likewise.
1110 * tests/cond27.test: Likewise.
1111 * tests/cond28.test: Likewise.
1112 * tests/cond29.test: Likewise.
1113 * tests/cond30.test: Likewise.
1114 * tests/cond31.test: Likewise.
1115 * tests/cond32.test: Likewise.
1116 * tests/cond33.test: Likewise.
1117 * tests/cond34.test: Likewise.
1118 * tests/cond35.test: Likewise.
1119 * tests/cond36.test: Likewise.
1120 * tests/cond37.test: Likewise.
1121 * tests/cond38.test: Likewise.
1122 * tests/cond39.test: Likewise.
1123 * tests/cond40.test: Likewise.
1124 * tests/cond41.test: Likewise.
1125 * tests/cond42.test: Likewise.
1126 * tests/cond43.test: Likewise.
1127 * tests/cond44.test: Likewise.
1128 * tests/cond45.test: Likewise.
1129 * tests/dollarvar.test: Likewise.
1130 * tests/dollarvar2.test: Likewise.
1131 * tests/hfs.test: Likewise.
1132 * tests/libobj14.test: Likewise.
1133 * tests/percent.test: Likewise.
1134 * tests/percent2.test: Likewise.
1135 * tests/phony.test: Likewise.
1136 * tests/silent.test: Likewise.
1137 * tests/silent2.test: Likewise.
1138 * tests/silent3.test: Likewise.
1139 * tests/silent4.test: Likewise.
1140 * tests/silent5.test: Likewise.
1141 * tests/silent6.test: Likewise.
1142 * tests/silent7.test: Likewise.
1143 * tests/silent9.test: Likewise.
1144 * tests/silentcxx.test: Likewise.
1145 * tests/silentf77.test: Likewise.
1146 * tests/silentf90.test: Likewise.
1147 * tests/silentlex.test: Likewise.
1148 * tests/silentyacc.test: Likewise.
1150 Avoid useless cleaning in some `silent*.test' tests.
1151 * tests/silentf77.test: Removed useless calls to "make clean"
1152 and "make maintainer-clean".
1153 * tests/silentf90.test: Likewise.
1154 * tests/silent3.test: Removed useless call to "make distclean".
1155 * tests/silent4.test: Likewise.
1156 * tests/silent9.test: Likewise.
1158 2010-11-19 Ian Lance Taylor <iant@google.com>
1160 Sync config-ml.in from GCC.
1161 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
1162 compiler/flag environment variables.
1164 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1166 Automake::Config: remove extra trailing semicolon.
1167 * lib/Automake/Config.in: Remove extra trailing semicolon.
1169 help4.test: fix botched heading comment.
1170 * tests/help4.test: Fixed the heading comment, since it
1171 didn't correctly describe what checks the testcase was
1172 supposed to perform.
1174 help2.test: add checks on aclocal too.
1175 * tests/help2.test: Check that also `aclocal --version' and
1176 `aclocal --help' work with configure.in and acinclude.m4 both
1179 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1181 Fix spurious failures of silent-rules tests with Sun Fortran.
1182 * tests/silentf77.test: Strip from the make output some verbose
1183 messages possibly printed by the SunStudio fortran compilers, to
1184 avoid spurious failures. Add a trailing `:' command.
1185 * tests/silentf90.test: Likewise.
1187 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1189 Fix spurious failures of silent5.test with Sun Fortran.
1190 * tests/silent5.test: Strip from the make output some verbose
1191 messages possibly printed by the SunStudio fortran compilers,
1192 to avoid spurious failures. This bug has been there from the
1193 very first version of this test script.
1195 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1197 Fix regression in colon{5,6}.test (failures on AIX 5.3).
1198 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
1199 post-processing the generated Makefile.in, to work around a bug
1200 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
1201 on the commend line. Calls to `$MAKE' adjusted accordingly.
1202 * tests/colon6.test: Likewise.
1203 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
1204 improve and/or extend tests `colon*.test", and reported by Ralf
1207 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1209 Fix regression in ansi.test (failure on AIX 5.3).
1210 * tests/ansi.test: Remove redundant hackish check done using a
1211 hand-postprocessed Makefile.in. This check worked by setting
1212 the `$(SHELL)' macro on the command line of make, but this is
1213 not supported by the AIX 5.3 make implementation.
1214 This bug has been lurking for a long time, and was activated by
1215 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
1216 tests". Report by Ralf Wildenhues.
1218 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1220 tests: avoid '##'-style comments inside recipe commands.
1221 * tests/confh.test, tests/confh8.test: Remove
1222 double-hash comments from makefile rule commands, they
1223 are not part of the Automake API.
1225 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1227 tests: work around dash quoting issue in case statements.
1228 * tests/color.test, tests/color2.test: Quote variable in case
1229 pattern, to avoid skipping tests with dash 0.5.5.1.
1231 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1233 Rebuild menus in the manual.
1234 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
1235 Thanks to Ian Lance Taylor for the suggestion.
1237 Fix install-strip when $(STRIP) contains several words.
1238 * lib/am/install.am (install-strip): Update comment. Use
1239 separate sub-make invocations for empty and nonempty $(STRIP),
1240 to fix quoting issues.
1241 * tests/strip2.test, tests/strip3.test: New tests.
1242 * tests/Makefile.am (TESTS): Adjust.
1244 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1246 Fix yaccdry.test failure: require bison.
1247 * tests/yaccdry.test: Require bison.
1248 Found by NixOS Hydra.
1250 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
1252 Fix a bug in variable concatenation with `+='.
1253 * lib/Automake/VarDef.pm (append): Since the content of the
1254 "appended-to" variable is going to be unconditionally normalized
1255 later, simply separate the appended value with a single whitespace
1256 character, instead of trying to be uselessly smarter by using
1257 escaped newlines. This fixes a bug in which extra backslashes
1258 where erroneously inserted in the variable's final value.
1259 * tests/pluseq11.test: New test, exposing the bug.
1260 * tests/Makefile.am (TESTS): Update.
1261 Reported by Andy Wingo.
1263 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1265 Fix bug in rules for creating vala vapi/header files.
1266 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
1267 if control structure in a generated make rules. Bug introduced
1268 by previous commit `v1.11-221-gd7c1679', and revealed by failure
1269 of test `vala2.test'.
1271 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1273 Fix and document rules to not touch the tree with `make -n'.
1274 * doc/automake.texi (Multiple Outputs): Document the problem of
1275 modifications during dry-run execution, propose solution.
1277 * automake.in (lang_vala_finish_target): Split recipe so the
1278 stamp file is not removed with GNU `make -n'.
1279 (lang_yacc_target_hook): Separate removal of parser output file
1280 and header remaking.
1281 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
1282 passed to make, take care not to remove any files in that case.
1283 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
1284 %STAMP% file from induced remaking of config header.
1285 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
1287 * tests/Makefile.am (TESTS): Update.
1289 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1291 Add FAQ entry for bug reporting instructions.
1292 * doc/automake.texi (Reporting Bugs): New section.
1293 (Introduction): Refer to it.
1295 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1297 Add support for newer python versions.
1298 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
1299 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
1300 line and fix indentation.
1302 From a report by Thomas Klausner.
1304 Add test for `AM_WITH_DMALLOC' macro.
1305 * tests/dmalloc.test: New test.
1306 * tests/Makefile.am (TESTS): Update.
1308 Fix nits and bugs in tests `help*.test'.
1309 * tests/help4.test: Fix broken sed commands used to strip `-W...'
1310 flags away from "$AUTOMAKE" and "$ACLOCAL".
1311 * tests/help3.test: Likewise, and fix a botched comment.
1312 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
1313 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1314 please maintainer-check.
1315 * tests/help2.test: Likewise.
1317 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1318 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1320 Improve tests `help*.test' (also fixes maintcheck failures).
1321 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1322 flags stripped away rather than hard-coded `automake-$APIVERSION',
1323 to better honour user-overrides. Similarly for aclocal.
1324 * tests/help2.test: Likewise.
1325 * tests/help3.test: Likewise.
1326 * tests/help4.test: Likewise.
1328 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1330 Document and fix expansion of variables before rules.
1331 * doc/automake.texi (General Operation): Document that variables
1332 are expanded before rules.
1333 * lib/am/check.am (am__check_post): Reword a bit so it does not
1334 get matched as a rule.
1335 Suggestion by Ben Pfaff.
1337 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1339 Revert "parallel-tests: avoid command-line length limit issue."
1340 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
1341 because it re-opened the bug fixed by v1.11-10-g218e678.
1343 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1345 parallel-tests: avoid command-line length limit issue.
1346 * automake.in (handle_tests): New argument $makefile, new
1347 substitution %MAKEFILE%.
1348 (generate_makefile): Adjust.
1349 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1350 sanitized TEST_LOGS value as makefile snippet on standard
1351 input to $(MAKE), to avoid exceeding the command line limit on
1354 Report by Bob Friesenhahn.
1356 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1358 Extend tests on `--help' and `--version' options.
1359 * tests/help.test: Create a new empty directory and chdir into
1360 it, rather than removing already present files. Run the aclocal
1361 and automake wrapper scripts directly, instead of relying on
1362 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
1363 in aclocal's and automake's stderr. Add a trailing `:' command.
1364 * tests/help2.test: New test, checking that options `--help' and
1365 `--version' works in directories with broken `configure.in'.
1366 * tests/help3.test: New test, checking that options `--help' and
1367 `--version' take precedence on the other options.
1368 * tests/help4.test: New test, checking that the first among the
1369 `--help' and `--version' options to be specified on the command
1371 * tests/Makefile.am (TESTS): Updated.
1373 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1375 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
1376 * tests/compile2.test: Do no uselessly (implicitly) repeat the
1377 computation of PATH_SEPARATOR again.
1378 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
1379 extending/redefining PATH.
1380 * tests/instmany-python.test: Likewise.
1381 * tests/instmany.test: Likewise.
1382 * tests/man4.test: Likewise.
1383 * tests/mkinst3.test: Likewise.
1384 * tests/mmodely.test: Likewise.
1385 * tests/multlib.test: Likewise.
1386 * tests/txinfo30.test: Likewise.
1387 * tests/README (Section "Writing test cases" subsection "Do"):
1389 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
1390 (syntax_check_rules): Updated.
1392 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
1393 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
1394 ($ACLOCAL, $AUTOMAKE): Use it.
1395 ($PATH_SEPARATOR): New AC_SUBST'd variables.
1398 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1400 Manual: be more agnostic w.r.t. version control system used.
1401 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
1402 directories as a type of probably-unwanted files that are copied
1403 regardless when adding directories to EXTRA_DIST.
1404 (The dist Hook): Show a dist-hook example which removes Subversion
1405 `.svn' private directories from distdir, rather than CVS private
1407 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
1408 the version control system used.
1410 Manual: index refer to target "git-dist", not "cvs-dist".
1411 * doc/automake.texi (General Operation): Index the non-standard
1412 example about "git-dist" under the "git-dist" label, not under
1415 Perl modules: remove references to "Automake CVS repository".
1416 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
1417 git repository" rather than to "Automake's CVS repository".
1418 * lib/Automake/Configure_ac.pm: Likewise.
1419 * lib/Automake/FileUtils.pm: Likewise.
1420 * lib/Automake/Struct.pm: Likewise.
1421 * lib/Automake/XFile.pm: Likewise.
1422 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
1423 branches" rather than "CVS branches".
1425 Remove obsolete .cvsignore files.
1426 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
1427 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
1428 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
1429 savannah's CVS readonly mirror there's no way to commit back to
1430 the real repository, so this files are not worth maintaining or
1433 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1435 * m4/dmalloc.m4: Bump serial number and copyright years.
1437 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1439 Fix broken link in `AM_WITH_DMALLOC' help screen.
1440 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
1441 `http://www.dmalloc.com', not to the dmalloc tarball there (which
1442 seems to have been removed, substituted by multiple release
1445 2010-09-17 Eric Blake <eblake@redhat.com>
1447 Avoid triple-space after period.
1448 * automake.in (handle_single_transform): Avoid 3 spaces at
1450 * ChangeLog.03: Likewise.
1451 * lib/Automake/ChannelDefs.pm: Likewise.
1452 * lib/Automake/Channels.pm (_print_message): Likewise.
1453 * lib/Automake/Rule.pm (rule): Likewise.
1454 * lib/Automake/Variable.pm (var): Likewise.
1455 * lib/am/distdir.am: Likewise.
1456 * tests/insthook.test: Likewise.
1458 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
1460 Test automake-generated portions of configure help screen.
1461 * tests/help-depend.test: New test.
1462 * tests/help-depend2.test: Likewise.
1463 * tests/help-dmalloc.test: Likewise.
1464 * tests/help-init.test: Likewise.
1465 * tests/help-lispdir.test: Likewise.
1466 * tests/help-maintainer.test: Likewise.
1467 * tests/help-multilib.test: Likewise.
1468 * tests/help-regex.test: Likewise.
1469 * tests/help-silent.test: Likewise.
1470 * tests/help-upc.test: Likewise.
1471 * tests/mmode.test: Remove tests on `configure --help' output,
1472 they are superseded by tests in `help-maintainer.test'.
1473 * tests/Makefile.am (TESTS): Update.
1475 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1477 * tests/README: Don't put GCS mandated tools in $required.
1479 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1481 * HACKING: Hint at old commits with `git describe' output.
1483 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1485 Fix regression in test `colon4.test'.
1486 * tests/colon4.test: Fix botched editing to `configure.in'
1487 that made the test useless. Since we are at it, improve
1488 comments and make grepping of generated Makefile.in slightly
1490 Regression introduced by change "Modernize, improve and/or
1491 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
1493 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1495 Do not require "gzip" explicitly in tests.
1496 The gzip utility is simply expected to be present on any decent
1497 target system for Automake. So it's pointless to put it in
1499 * tests/install2.test ($required): Do not require "gzip".
1500 * tests/lex3.test: Likewise.
1501 * tests/pr9.test: Likewise.
1502 From a suggestion by Ralf Wildenhues.
1504 Make some `confh*.test' tests more "semantic" (plus tweakings).
1505 * tests/confh.test: Run "autoconf", "configure" and "make check",
1506 instead of munging/grepping the generated `Makefile.in'.
1507 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1508 white spaces. Do not create useless dummy source file `foo.c'
1509 and useless dummy header file `acconfig.h'.
1510 (configure.in): Remove superfluous call to `AC_OUTPUT'.
1511 * tests/confh6.test: Add trailing `:' command.
1512 * tests/confh7.test: In comments, add reference to ...
1513 * tests/confh8.test: ... this new test, "semantic" sister
1515 * tests/Makefile.am (TESTS): Updated.
1516 Prompted by a report from Ralf Wildenhues.
1518 Remove useless whitespace padding in XFAIL_TESTS definition.
1519 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1521 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1523 parallel-tests: avoid command-line length limit issue.
1524 * automake.in (handle_tests): New argument $makefile, new
1525 substitution %MAKEFILE%.
1526 (generate_makefile): Adjust.
1527 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1528 sanitized TEST_LOGS value as makefile snippet on standard
1529 input to $(MAKE), to avoid exceeding the command line limit on
1532 Report by Bob Friesenhahn.
1534 Posix 2008 requires make to set errexit.
1535 * lib/am/check.am: Update comment.
1537 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
1539 Fix bug in test missing6.test.
1540 * tests/missing6.test: Fix the hack used to edit `configure.in',
1541 to avoid producing a configure script that breaks with shells
1542 that do not support $LINENO. Also throw in a couple of cosmetic
1545 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1547 Improve robustness of mdate-sh script.
1548 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1549 $ls_command is word-split properly upon invocation.
1550 (error): New function.
1551 (main): Use it. Improve error checking to avoid endless loop
1552 in case $ls_command gave bogus output. Fix eval quotation.
1553 * tests/mdate6.test: New test, to expose eval quotation error.
1554 * tests/Makefile.am: Update.
1556 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1558 Fix potential regressions in depcomp{3,5}.test.
1559 * tests/depcomp3.test: Do not uselessly escape the character `$'
1560 in makefile rules, when it's used to expand a make macro.
1561 * tests/depcomp5.test: Likewise.
1563 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1564 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1566 Docs: clarify how to avoid automatic dependencies tracking.
1567 * doc/automake.texi (Automatic dependency tracking): Mention that
1568 automatic dependencies tracking is enabled by default, but that
1569 the package developer can disable it altogether. Add a reference
1570 to the proper section for a more in-depth explanation.
1572 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
1573 * doc/automake.texi (Automatic dependency tracking): Fix typo.
1575 2010-08-16 Bruno Haible <bruno@clisp.org>
1577 Don't hide the table of contents.
1578 * doc/automake.texi: Move the table of contents to the beginning.
1580 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1582 Tweak and/or extend some `acloca*.test' tests.
1583 * tests/aclocal8.test: Ensure verbose printing of captured
1585 * tests/aclocal.test: Likewise. Also, add trailing `:'
1587 * tests/acloca19.test: Likewise.
1588 * tests/aclocal5.test: Add trailing `:' command, and prefer
1589 `$me' over hard-coded test name.
1590 * tests/aclocal6.test: Likewise.
1591 * tests/aclocal18.test: Add trailing `:' command, and make
1592 some grepping slightly stricter.
1593 * tests/acloca14.test: Likewise. Also, prefer `diff' over
1594 `cmp', and add some "cosmetic" blank lines.
1596 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1598 Tweak and extend tests `pr[!0-9]*.test'.
1599 * tests/primary3.test: Add trailing `:' command.
1600 * tests/primary.test: Make grepping of Automake's stderr stricter.
1601 Also, add trailing `:' command, and cosmetic changes in spacing.
1602 * tests/primary2.test: Likewise.
1603 * tests/prefix.test: Enable `errexit' shell flags, and related
1604 changes. Add a trailing `:' command.
1605 * tests/proginst.test: Likewise.
1607 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1608 * tests/pr2.test: Add trailing `:' command.
1609 * tests/pr229.test: Likewise.
1610 * tests/pr401.test: Likewise.
1611 * tests/pr401b.test: Likewise.
1612 * tests/pr401c.test: Likewise.
1613 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1615 * tests/pr300-lib.test: Likewise.
1616 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1617 of captured make stdout.
1618 * tests/pr211.test: Add trailing `:' command. Also, use the
1619 `configure.in' stub created by ./defs, rather than writing it
1621 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1622 * tests/pr287.test: Likewise, and move setting of `errexit' shell
1623 flag earlier in the script (just after inclusion of ./defs).
1624 * tests/pr220.test: Make grepping of Automake's stderr stricter.
1625 Also, add trailing `:' command, and cosmetic changes in spacing.
1626 * tests/pr224.test: Move setting of `errexit' shell flag earlier
1627 in the script (just after inclusion of ./defs). Do not export
1628 `CC=gcc' to configure explicitly (it's already exported globally
1629 in ./defs, since we have "gcc" in $required). Use the stub for
1630 `configure.in' created by ./defs, rather than writing it from
1631 scratch. Do not create dummy files required by "gnu" mode (e.g.
1632 README, NEWS), since we run automake in foreign mode anyway.
1633 * tests/pr72.test: Enable `errexit' shell flags, and related
1634 changes. Extend existing checks a bit.
1635 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
1636 the generated `configure.in', and extend existing checks over the
1637 generated tarball a bit.
1638 * tests/pr87.test: Enable `errexit' shell flags, and related
1639 changes. Add a trailing `:' command. Also, do not create dummy
1640 files required by "gnu" mode (e.g. README, NEWS), since we run
1641 automake in foreign mode anyway.
1642 * tests/pr243.test: Avoid obsolescent constructs in the generated
1643 `configure.in'. Enable the `errexit' shell flag, and related
1644 changes. Cosmetic changes to spacing, add trailing `:' command,
1645 and add a "FIXME" comment.
1646 * tests/pr266.test: Likewise, and add explicit command line switch
1647 `--enable-dependecy-tracking' to the ./configure call.
1648 * tests/pr279.test: Avoid obsolescent constructs in the generated
1649 `configure.in'; also, use the `configure.in' stub created by
1650 ./defs, rather than writing it from scratch. Enable `errexit'
1651 shell flag, and related changes. Add trailing `:' command.
1652 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1654 * tests/pr307.test: Move setting of `errexit' shell flag earlier
1655 in the script (just after inclusion of ./defs). Escape literal
1656 dots in grep regular expressions. Also, add a trailing `:'
1657 command, and cosmetic changes to spacing.
1659 Tests for PR: add excerpts from original bug report, for clarity.
1660 * tests/pr2.test: Ditto.
1661 * tests/pr9.test: Likewise.
1662 * tests/pr72.test: Likewise.
1663 * tests/pr87.test: Likewise.
1664 * tests/pr211.test: Likewise.
1665 * tests/pr220.test: Likewise.
1666 * tests/pr224.test: Likewise.
1667 * tests/pr229.test: Likewise.
1668 * tests/pr243.test: Likewise.
1669 * tests/pr266.test: Likewise.
1670 * tests/pr279.test: Likewise, and tell to keep it in sync
1671 with its sister test.
1672 * tests/pr279-2.test: Likewise.
1674 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1676 Tweak, extend and improve tests `cond[a-z]*.test'.
1677 * tests/condd.test: Add trailing `:' command. Typofix in
1679 * tests/condhook.test: Make sure target `install-data-hook' is
1680 not called by `make install', but that data files are installed.
1681 Use proper m4 quoting in configure.in. Add trailing `:' command.
1682 * tests/condhook2.test: New test, sister test of condhook, with
1684 * tests/condinc2.test: Use proper m4 quoting in configure.in.
1685 Prefer trailing `:' command over trailing `Exit 0'.
1686 * tests/condman2.test: Enable errexit shell flag, and related
1687 changes. Add trailing `:' command.
1688 * tests/condman.test: Likewise. Also, do not create useless
1689 dummy manpages, and use proper m4 quoting in configure.in.
1690 * tests/condman3.test: New test, similar to condman.test, but
1691 it also runs ./configure and "make install", and check the
1693 * tests/Makefile.am (TESTS): Updated.
1695 Modernize, improve and/or extend tests `colon*.test.
1696 * tests/colon.test: Rely on the `configure.in' stub created by
1697 `./defs', rather than writing one from scratch. Do not create
1698 a useless dummy file. Add trailing `:' command.
1699 * tests/colon4.test: Enable the `errexit' shell flag, and
1700 related changes. Rely on the `configure.in' stub created by
1701 `./defs', rather than writing one from scratch.
1702 * tests/colon7.test: Enable `errexit' shell flag, and related
1703 changes. Improve the generated `configure.in' file. Add
1704 trailing `:' command.
1705 * tests/colon2.test: Likewise. Also, add some new checks.
1706 * tests/colon5.test: Improve the generated `configure.in' file.
1707 Add new, much deeper checks. Add trailing `:' command.
1708 * tests/colon6.test: Likewise.
1709 * tests/colon3.test: Add trailing `:' command. Remove useless
1710 comments and echos. Improve the generated `configure.in' file.
1711 make some grepping tests stricter. Add a "FIXME" comments about
1712 planned improvements.
1714 Improve and extend tests `asm*.test'.
1715 * tests/asm.test: Use configure.in stub generated by ./defs,
1716 and avoid obsoleted autoconf constructs. Make grepping of
1717 Automake stderr stricter. Do not create useless source file.
1718 Improve verbose messages. Minor cosmetic changes. Tell to
1719 keep it in sync with other sister tests asm*.test.
1720 * tests/asm2.test: Likewise.
1721 * tests/asm3.test: Likewise.
1723 Modernize, improve and/or extend test scripts `conf*.test'.
1724 * tests/confh5.test: Cosmetic changes.
1725 * tests/conff.test: Likewise.
1726 * tests/confdeps.test: Likewise.
1727 * tests/conflnk.test: Likewise.
1728 * tests/conflnk2.test: Likewise.
1729 * tests/confsub.test: Likewise.
1730 * tests/confvar.test: Likewise, and make grepping of Makefile.in
1732 * tests/confvar2.test: Likewise.
1733 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
1734 disabled test (which didn't work with autoconf <= 2.59, but now we
1735 are requiring autoconf 2.62, so...)
1736 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1737 accordingly to "TODO" comments.
1738 * tests/conff2.test: Make grepping of Automake's stderr stricter.
1739 Add some comments explaining why we don't use the `configure.in'
1740 stub preset be ./defs.
1741 * tests/confh.test: Use the `configure.in' stub created by ./defs,
1742 rather than writing one from scratch, and do not call AC_OUTPUT.
1743 Enable `errexit' shell flag, and related changes. Prefer diff over
1744 cmp to compare text files. Prefer perl over sed to fetch the value
1745 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
1746 of $(DIST_COMMON) stricter.
1747 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1748 rather than writing one from scratch. Make grepping of Makefile.in
1750 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
1752 * tests/configure.test: Avoid obsolescent constructs in generated
1753 `configure.ac'. Do not write `configure.in' two times. Escape
1754 literal dots in grep regular expressions.
1755 * tests/confincl.test: Enable `errexit' shell flag, and related
1756 changes. Prefer fgrep over grep. Other cosmetic changes.
1757 * tests/config.test: Renamed to ...
1758 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
1759 and make grepping of `config.h' and `config.h.in' stricter.
1760 * tests/conf2.test: Renamed ...
1761 * tests/confh7.test: ... to this. Use the `configure.in' stub
1762 created by ./defs, rather than writing one from scratch. Try to
1763 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1765 * tests/Makefile.am (TESTS): Updated.
1767 Minor improvements and fixes in tests `depcomp*.test'.
1768 * tests/depcomp.test: Do not create useless dummy source files.
1769 Add a trailing `:' command.
1770 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1771 it's not in in the environment, rather than exporting it with an
1772 empty value. Do not pass CC=gcc to configure, as that's already
1773 done in ./defs since we have gcc in $required. Ensure verbose
1774 printing of captured stderr, and normalize its checking. Add a
1775 trailing `:' command.
1776 * tests/depcomp3.test: Quote literal dots and dollar characters in
1777 grep regexps. Always use `: >' rather than `touch' to create empty
1778 files. Explicitly declare phony targets as such in the created
1779 Makefile.am. Add a trailing `:' command.
1780 * tests/depcomp4.test: Quote literal dots and dollar characters in
1781 grep regexp. Explicitly declare phony targets as such in the
1782 created Makefile.am. Ensure verbose printing of captured makes'
1783 stoud/stderr. Add a trailing `:' command.
1784 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1785 in the script (just after inclusion of ./defs). Quote literal dots
1786 and dollar characters in grep regexps. Explicitly declare phony
1787 targets as such in the created Makefile.am. Add a trailing `:'
1789 * tests/depcomp6.test: Consistently use m4 quoting in the generated
1790 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
1791 statement required by OpenBSD's sh `set -e' more robust, and add
1792 explanatory comments to it.
1793 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
1795 Separate failing part of test `all.test'.
1796 * tests/all.test: Keep only (x)failing part of the test. Working
1797 checks moved out to ...
1798 * tests/all2.test: ... this new test.
1799 * tests/Makefile.am (TESTS): Updated.
1801 Modernize, improve and extend tests `subobj*.test'.
1802 * tests/subobjname.test: Add trailing `:' command.
1803 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1804 Escape literal dots in grep regexps.
1805 * tests/subobj2.test: Add trailing `:' command. Do not use the
1806 unportable fgrep option `-e'.
1807 * tests/subobj3.test: Add trailing `:' command.
1808 (configure.in): Use proper m4 quoting, and avoid obsolescent
1810 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
1811 flag, with related changes
1812 * tests/subobj4.test: Likewise. Also, make grepping of
1813 `Makefile.in' stricter.
1814 * tests/subobj5.test: Add trailing `:' command. Move setting of
1815 `errexit' shell flag earlier in the script (just after inclusion
1817 (configure.in): Use the stub created by `./defs', rather than
1818 writing it from scratch, and avoid obsolescent constructs.
1819 * tests/subobj6.test: Add trailing `:' command. Move setting of
1820 `errexit' shell flag earlier in the script (just after inclusion
1821 of ./defs). Do not create useless dummy ac-init file `f'.
1822 * tests/subobj7.test: Do not create useless dummy ac-init file
1824 (configure.in): Use the stub created by `./defs', rather than
1825 writing it from scratch, and avoid obsolescent constructs.
1826 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1827 in the script (just after inclusion of ./defs). Fail the test if
1828 `make distcheck' fails. Ensure verbose printing of captured make
1829 stdout. Avoid useless fork by doing simple grep instead of using
1830 test -n "`COMMAND | grep ...`".
1831 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1832 (Makefile.am): Explicitly mark target "print" as phony.
1833 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
1834 trailing `:' command.
1835 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1837 Remove a couple of obsoleted tests.
1838 * tests/fpinstall.test: Removed.
1839 * tests/fpinst2.test: Likewise.
1840 * tests/Makefile.am (TESTS): Updated.
1842 Bootstrap: updated HACKING entry.
1843 * HACKING ("Working with git"): Explain how to override the
1844 autoconf and autom4te programs used by the bootstrap process.
1847 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1848 since we don't generate it. Correctly quote arguments of
1849 `eval' builtin. Fixed a botched error message. Removed an
1852 Bootstrap: don't search perl in $PATH.
1853 * bootstrap: Do not explicitly search perl in $PATH anymore.
1854 ($PATH_SEPARATOR): Removed, it's no more needed.
1856 Bootstrap: let the user choose which autoconf to use.
1857 * bootstrap ($AUTOCONF): New variable, from the environment.
1858 ($AUTOM4TE): Likewise, for clarity.
1859 Use "$AUTOCONF" instead of calling "autoconf" directly.
1861 Minor improvements to tests ar*.test.
1862 * tests/ar.test: Add trailing `:' command.
1863 * tests/ar2.test: Likewise, and make grepping of generated
1864 Makefile.in stricter.
1866 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1868 Fix maintainer-check failure.
1869 * tests/cond5.test: Quote sleep argument, this isn't about
1870 time stamp differences.
1872 Sync auxiliary files from upstream.
1873 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1876 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1878 Work around a nasty bug (segfault) of Solaris make.
1879 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1880 from $list, to avoid triggering a nasty bug (potential segfault)
1883 2010-08-06 Peter Rosin <peda@lysator.liu.se>
1885 Make cond5.test more robust on MSYS.
1886 * tests/cond5.test: Add delay before the first kill attempt to
1887 cater for problems with MSYS bash.
1889 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1891 Add example git work flow; discuss merge --log in HACKING.
1893 Suggestion by Stefano Lattarini.
1895 Add more hints for debugging make rules.
1896 * doc/automake.texi (Debugging Make Rules): Show command to find
1897 out expanded values of variables; point to makefile debugger.
1899 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1901 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1903 Fix typo in the manual.
1904 * doc/automake.texi (Scripts): Fix typo.
1906 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1908 Document current policy for development with git.
1909 * HACKING (Working with git): Overhaul.
1910 Prompted by suggestion from Stefano Lattarini.
1912 Fix AM_COND_IF for gone-invalid condition shell expression.
1913 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1914 variable, rather than re-evaluating the shell expression for
1916 * tests/cond40.test: Extend test.
1919 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1920 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1921 to avoid shell syntax error if the m4 expansion is empty.
1922 * tests/cond40.test: Enhance test.
1924 Coverage: bogus option to AM_INIT_AUTOMAKE.
1925 * tests/init2.test: New test.
1926 * tests/Makefile.am: Update.
1928 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1930 Modernize and improve test scripts `subdir*.test'.
1931 * tests/subdir.test: Enable `errexit' shell flag, and related
1932 changes. Use the `configure.in' stub created by `./defs',
1933 rather than writing one from scratch.
1934 * tests/subdir2.test: Likewise.
1935 * tests/subdir4.test: Likewise.
1936 * tests/subdir3.test: Enable `errexit' shell flag, and related
1937 changes. Do not create useless dummy source files.
1938 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1939 and in subdirs) stricter. Some minor changes to keep it more
1940 in sync with the related test `subdir8.test'.
1941 * tests/subdir8.test: Likewise (but with the related test being
1942 `subdir5.test' here).
1943 * tests/subdir6.test: Cosmetic change in spacing.
1944 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1945 trailing `:' command.
1946 * tests/subdir10.test: Cosmetic consistency-related change.
1947 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1948 (configure.in): Use stub created by `./defs', rather than writing
1949 it from scratch. Do not use obsoleted and/or deprecated forms of
1950 autoconf/automake macros.
1952 Modernize and improve test scripts `dist*.test'.
1953 * tests/distcleancheck.test: Do not add useless `-e' option to
1954 a $MAKE call. Extend test by grepping stderr of make.
1955 * tests/distcom2.test: Do not run the same test script on the
1956 Makefile.in twice, but save its output in an intermediate file
1957 instead. Make grepping of DIST_COMMON definition stricter.
1958 Display the content of more files, to ease debugging. Add a
1959 trailing `:' command. Improved heading comments w.r.t. sister
1961 * tests/distcom6.test: Likewise, and avoid to uselessly run
1963 * tests/distcom3.test: Ensure verbose printing of captured stdout
1964 and stderr. Make grepping of captured stderr stricter. Also,
1965 add trailing `:' command.
1966 * tests/distcom4.test: Declare the target `test' in the generated
1967 Makefile.am as `.PHONY'. Display content of more files, to ease
1968 debugging. Add trailing `:' command.
1969 * tests/distcom5.test: Likewise. Also, factor out common sed
1970 script in subroutine `extract_distcommon'.
1971 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1972 test Makefile.am files. Add a trailing `:' command.
1973 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1974 call to `set -e' earlier. Be stricter and more verbose in the
1975 checking of the generated tarball.
1976 (configure.in): Use the stub provided by ./defs, instead of
1977 writing it from scratch. Avoid obsoleted constructs. Remove
1978 useless call to `AM_PROG_CC_C_O'.
1979 * tests/distdir.test: Various minor improvements/normalizations.
1980 * tests/distlinks.test: Likewise.
1982 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1984 Improve and extend test cond5.test.
1985 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1986 the background automake process, but poll it every 10 seconds for
1987 at most 30 times (this makes the test both faster on good machines,
1988 and more resilient to spurious timeout-due failures when in low
1989 priority or on heavily-loaded systems).
1990 Check also that automake writes the expected error messages on the
1992 Enable `errexit' flag, and related changes.
1993 Rely on the `configure.in' stub created by `./defs', rather than
1994 writing one from scratch.
1996 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1998 Update program --help output to match current GCS.
1999 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
2000 is not defined, for compatibility to Autoconf < 2.64.
2001 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
2003 (sc_diff_automake_in_automake): Update number of diff lines for
2004 additional substitutions.
2005 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
2006 home page and GNU general help page.
2007 * automake.in (usage): Likewise.
2008 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
2010 (Introduction, Creating amhello, amhello Explained, Options):
2012 * lib/Automake/Makefile.am (do_subst): Substitute
2014 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
2015 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
2018 Clean up @var handling in the manual.
2019 * doc/automake.texi: Throughout the manual, lower-case @var
2020 names, replace a few one-character names.
2022 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
2024 Fix typo-related bug in test script silent5.test.
2025 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
2028 Tests: remove useless repetitions of `foreign' automake option.
2029 * tests/multlib.test (configure.in): Remove useless use of
2030 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
2031 already in $AUTOMAKE by default, so no point in repeating it).
2032 * tests/subobj10.test: Likewise.
2033 * tests/subobj9.test: Likewise.
2034 * tests/lex3.test (Makefile.am): Similarly, remove useless use
2035 of `foreign' option in AUTOMAKE_OPTIONS.
2036 * tests/lex5.test: Likewise.
2037 * tests/pr279.test: Likewise.
2038 * tests/pr279-2.test: Likewise.
2039 * tests/specflg3.test: Likewise.
2040 * tests/target-cflags.test: Likewise.
2042 Drop useless requirement "gzip" in lex5.test.
2043 * tests/lex5.test ($required): Do not list "gzip", as it's
2046 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
2048 Fix bugs in test script silent5.test.
2049 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
2050 instead of egrep) that could have led to false negatives.
2052 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2054 Add a test checking that distributed broken symlinks cause
2055 `make dist' to fail.
2056 * tests/distlinksbrk.test: New test.
2057 * tests/Makefile.am (TESTS): Updated.
2059 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2061 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
2062 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
2063 and AM_LFLAGS, LFLAGS in the order in which they now appear in
2066 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
2067 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
2068 please maintainer-check. Ensure generated C files contain a
2069 declaration, to please compilers.
2071 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2073 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
2074 $(FLAGS) precedence.
2075 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
2076 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
2077 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
2078 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
2081 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
2082 $(AM_FLAGS) and $(FLAGS) precedence.
2083 * tests/lflags.test: New test, check that user $(LFLAGS) takes
2084 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
2086 * tests/lflags2.test: Likewise.
2087 * tests/yflags.test: New test, check that user $(YFLAGS) takes
2088 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
2090 * tests/yflags2.test: Likewise.
2091 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
2093 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2095 Modernize, improve and extend tests `suffix*.test'.
2096 * tests/suffix3.test: Enable `errexit' shell flag, and related
2098 * tests/suffix4.test: Likewise.
2099 * tests/suffix6.test: Likewise, and do not create a useless dummy
2101 * tests/suffix7.test: Likewise.
2102 * tests/suffix5.test: Enable `errexit' shell flag, and related
2103 changes. Make grepping of Makefile.in slightly stricter.
2104 * tests/suffix.test: Enable `errexit' shell flag, and related
2105 changes. Also, do not redirect grep output to /dev/null, as this
2106 might unmotivatedly hide useful information.
2107 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
2108 in the script (just after inclusion of ./defs). Use a more
2109 idiomatic way to count text occurrences in Makefile.in with
2110 grep. Do not create useless dummy source files.
2111 * tests/suffix10.test: Ensure verbose printing of captured make
2112 stdout. Minor cosmetic changes.
2113 * tests/suffix8.test: Likewise. Also, drop useless call to the
2114 env(1) utility, and make grepping of make output stricter by using
2115 $FGREP rather than plain grep.
2116 * tests/suffix11.test: Likewise.
2117 * tests/suffix12.test: Likewise.
2118 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
2119 the `configure.in' stub. Cosmetic changes.
2120 * tests/suffix13.test: Cosmetic spacing change.
2122 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
2124 Add useful comment in test script ext.test.
2125 * tests/ext.test: Add a comment explaining why an apparently
2126 useless `if' statement is indeed required.
2128 Add useful comment in test script obsolete.test.
2129 * tests/obsolete.test: Add a comment explaining why we need
2130 an indirection in adding $AUTOUPDATE to $required.
2132 Normalize whitespaces in 'tests/Makefile.am'.
2133 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
2134 definition of this variable.
2136 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2138 Remove a couple of unneeded conditionals from tests.
2139 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
2140 for the FOOTEST conditional.
2142 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2144 Modernize, improve and/or fix various test scripts.
2145 * tests/symlink3.test: Deleted, separated into two new, more
2147 * tests/forcemiss.test: ... this one ...
2148 * tests/forcemiss2.test: ... and this one.
2149 * tests/symlink2.test: Enable `errexit' shell flag, make test
2150 stricter, and skip it if symlink creation is not supported.
2151 * tests/postproc.test: Enable `errexit' shell flag, related
2152 changes, and a couple of unrelated cosmetic changes.
2153 * tests/recurs.test: Use the `configure.in' stub created by
2154 `./defs', rather than writing one from scratch. Make grepping
2155 of Automake stderr slightly stricter.
2156 * tests/substtarg.test: Likewise.
2157 * tests/strip.test: Likewise, and move the call to `set -e'
2158 earlier (just after the inclusion of `./defs'). Also, make sure
2159 that the script installed by `make install-script' is equal to
2161 * tests/substref.test: Use the `configure.in' stub created by
2162 `./defs', rather than writing one from scratch. Move the call
2163 to `set -e' earlier (just after the inclusion of `./defs').
2164 Avoid to explicitly export CC for configure (that's already done
2165 in ./defs). Avoid potential problems with unpredictable make
2166 output. Finally, make grepping of Makefile.in stricter.
2167 * tests/substre2.test: Ensure verbose printing of the captured
2168 make's output, and make its grepping slightly stricter.
2169 * tests/cygwin32.test: Enable `errexit' shell flag, and related
2170 changes. Also, do not create useless dummy source/data files.
2171 * tests/scripts.test: Likewise.
2172 * tests/recurs2.test: Likewise. Also, use the `configure.in'
2173 stub created by `./defs'.
2174 * tests/Makefile.am (TESTS): Updated.
2176 Modernize, improve and/or fix tests `pluseq*.test.
2177 * tests/pluseq5.test: Append to configure.in using cat with an
2178 here-doc, not using echo.
2179 * tests/pluseq10.test: Make sure that the captured output of
2180 `make' command is always displayed. Where possible, use $FGREP
2181 instead of grep (this change makes some checks slightly stricter).
2182 * tests/pluseq8.test: Enable `errexit' shell flag, with related
2184 * tests/pluseq.test: Likewise. Also, do not create useless dummy
2185 data files, and use better m4 quoting in generated configure.in.
2186 * tests/pluseq2.test: Likewise. Also, append to configure.in
2187 using cat with an here-doc, not using echo.
2188 * tests/pluseq3.test: Likewise.
2189 * tests/pluseq4.test: Likewise.
2190 * tests/pluseq6.test: Likewise.
2191 * tests/pluseq7.test: Do not create useless dummy source file.
2192 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
2193 Automake stderr. Some unrelated cosmetic changes.
2195 Testsuite: ensure verbose printing of captured stderr.
2196 * tests/acloca18.test: Print captured stderr before either failing
2197 or grepping it. Be sure to send captured stderr to stderr, not to
2199 * tests/ansi3b.test: Likewise.
2200 * tests/cond39.test: Likewise.
2201 * tests/configure.test: Likewise.
2202 * tests/missing3.test: Likewise.
2203 * tests/missing6.test: Likewise.
2204 * tests/output-order.test: Likewise.
2205 * tests/pr300-ltlib.test: Likewise.
2206 * tests/python6.test: Likewise.
2207 * tests/python7.test: Likewise.
2208 * tests/python8.test: Likewise.
2209 * tests/python9.test: Likewise.
2210 * tests/subobj.test: Likewise.
2211 * tests/vars3.test: Likewise.
2212 * tests/missing4.test: Likewise, and fix a call to grep not to use
2214 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
2215 created by `./defs', rather than writing one from scratch.
2217 Enable `errexit' shell flag in various tests.
2218 * tests/backsl.test: Enable the `errexit' shell flag, and
2220 * tests/backsl2.test: Likewise.
2221 * tests/block.test: Likewise.
2222 * tests/canon2.test: Likewise.
2223 * tests/canon4.test: Likewise.
2224 * tests/comment2.test: Likewise.
2225 * tests/condlib.test: Likewise.
2226 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
2227 * tests/canon3.test: Likewise. Also, avoid to create an useless
2229 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
2230 related changes. Do some cosmetic improvements in the generated
2231 `configure.in' file.
2232 * tests/cond4.test: Likewise.
2233 * tests/cond14.test: Likewise.
2234 * tests/condinc.test: Likewise.
2235 * tests/cond7.test: Likewise. Also, remove useless setting of
2236 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
2237 * tests/ansi.test: Enable the `errexit' shell flag, and related
2238 changes. Extended, esp. by running autoconf, ./configure and
2239 make, and by looking into the distdir.
2241 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2242 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2244 Extend tests/README w.r.t. trailing `:' in test scripts.
2245 * tests/README (section "Writing test cases" subsection "Do"):
2246 Explain why apparently redundant trailing `:' and `Exit 0' in
2247 test scripts can indeed be useful.
2249 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2251 Improve determination of PATH separator in bootstrap script.
2252 * bootstrap: Determine what the PATH separator is the same way
2255 Minor improvements in bootstrap script.
2256 * bootstrap: Consistently use two-spaces indentation. Cosmetic
2257 improvement to comments.
2258 ($me): New variable, containing program basename.
2259 Prepend it to all error messages.
2261 Testsuite now works with BSD make in parallel mode.
2262 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
2263 which are exported by BSD make when run in parallel mode, and
2264 which can confuse make processes spawned by our testsuite.
2265 This change fixes a lot of spurious failure when the testsuite
2266 is run with BSD make in parallel mode.
2268 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2270 Modernize, improve and/or fix various test scripts.
2271 * tests/sanity.test: Rely on the `configure.in' stub created by
2272 `./defs', rather than writing one from scratch.
2273 * tests/depend2.test: Likewise. Also, call `set -e' just after
2274 the inclusion of `./defs', instead that later in the script.
2275 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
2276 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
2277 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
2278 Make auxiliary rules in the generated Makefile more silent.
2279 These changes make some checks slightly stricter.
2280 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
2281 * tests/gettext2.test: Place final `:' at the end of the script,
2282 rather than in the middle.
2283 * tests/exeext.test: Call `set -e' just after the inclusion of
2284 `./defs', instead that later in the script.
2285 * tests/extra5.test: Likewise.
2286 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
2287 plain `mv', just to be sure.
2288 * tests/depcomp.test: Enable `errexit' shell flag, with related
2289 changes. Also, modernize the generated configure.in.
2290 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
2291 stub created by `./defs', rather than writing one from scratch.
2292 * tests/cond10.test: Likewise.
2293 * tests/depcomp2.test: Likewise.
2294 * tests/depend3.test: Likewise.
2295 * tests/distcom7.test: Likewise.
2296 * tests/fortdep.test: Likewise. Also, remove definition of
2297 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
2298 since that flag is already provided by $AUTOMAKE.
2299 * tests/mdate.test: Made stricter, by checking that Automake
2300 actually failed, and by making a stricter grep on the error
2301 message. Also, set shell `errexit flag'.
2302 * tests/python2.test: Improved verbose messages.
2304 Make test `ammissing.test' stricter.
2305 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
2306 Enable `errexit' shell flag.
2308 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
2310 Enable `errexit' shell flag in some test scripts.
2311 * tests/subcond.test: Enabled `errexit' shell flag, and related
2313 * tests/subst.test: Likewise.
2314 * tests/vars.test: Likewise.
2315 * tests/version4.test: Likewise.
2316 * tests/vpath.test: Likewise.
2317 * tests/vtexi2.test: Likewise.
2318 * tests/werror.test: Likewise.
2319 * tests/whoami.test: Likewise.
2320 * tests/tags.test: Likewise, and avoid to crate an useless dummy
2322 * tests/acsilent.test: Likewise, and don't use an easily-avoided
2323 command substitution.
2324 * tests/unused.test: Likewise, and don't use an easily-avoided
2325 command substitution.
2326 * tests/version.test: Likewise, and avoid deprecated constructs
2327 in the generated `configure.in'.
2328 * tests/version2.test: Likewise, and avoid deprecated constructs
2329 in the generated `configure.in'.
2331 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2333 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
2334 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
2335 the verbose log contains all output.
2336 * tests/mdate.test: Likewise.
2337 Prompted by Stefano Lattarini's change to discover.test.
2339 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2341 Improve tests link*.test (enable `errexit' shell flag).
2342 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
2343 changes. Also, do not create useless source files.
2344 * tests/link_dist.test: Likewise.
2345 * tests/link_f90_only.test: Likewise.
2346 * tests/link_f_only.test: Likewise.
2347 * tests/link_fc.test: Likewise.
2348 * tests/link_fccxx.test: Likewise.
2349 * tests/link_fcxx.test: Likewise.
2351 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2353 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
2354 * tests/ext.test: Inside shell compound command, use
2355 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
2356 fix failure with OpenBSD sh introduced with last patch.
2357 Actually ensure that a rule for .EXT.o is created for each
2358 known extension EXT.
2360 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2362 Enable `errexit' shell flag in some test scripts.
2363 * tests/dash.test: Enable `errexit' shell flag, and related
2365 * tests/defun.test: Likewise.
2366 * tests/defun2.test: Likewise.
2367 * tests/dejagnu.test: Likewise.
2368 * tests/double.test: Likewise.
2369 * tests/distcom2.test: Likewise.
2370 * tests/empty2.test: Likewise.
2371 * tests/empty3.test: Likewise.
2372 * tests/empty4.test: Likewise.
2373 * tests/exdir.test: Likewise.
2374 * tests/ext.test: Likewise.
2375 * tests/extra.test: Likewise.
2376 * tests/extra2.test: Likewise.
2377 * tests/extra3.test: Likewise.
2378 * tests/extra4.test: Likewise.
2379 * tests/flibs.test: Likewise.
2380 * tests/fnoc.test: Likewise.
2381 * tests/fo.test: Likewise.
2382 * tests/instexec.test: Likewise.
2383 * tests/ltdeps.test: Likewise.
2384 * tests/nodep.test: Likewise.
2385 * tests/nodepcomp.test: Likewise.
2386 * tests/f90only.test: Likewise, and remove botched/obsoleted
2387 comments and unnecessary commands.
2388 * tests/fonly.test: Likewise, and remove botched/obsoleted
2389 comments and unnecessary commands.
2390 * tests/discover.test: Likewise, and made stricter.
2392 Enable `errexit' shell flag in all tests cxx*.test.
2393 * tests/cxx.test: Enabled `errexit' shell flag, and related
2395 * tests/cxxansi.test: Likewise.
2396 * tests/cxxcpp.test: Likewise.
2397 * tests/cxxlibobj.test: Likewise.
2398 * tests/cxxlink.test: Likewise.
2399 * tests/cxxo.test: Likewise.
2401 Enable `errexit' shell flag in various tests.
2402 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
2404 * tests/acoutpt.test: Likewise.
2405 * tests/acoutqnl.test: Likewise.
2406 * tests/amassign.test: Likewise.
2407 * tests/ansi2.test: Likewise.
2408 * tests/ansi4.test: Likewise.
2409 * tests/badprog.test: Likewise.
2410 * tests/checkall.test: Likewise.
2411 * tests/clean.test: Likewise.
2412 * tests/colneq2.test: Likewise.
2413 * tests/colon.test: Likewise.
2414 * tests/colon5.test: Likewise.
2415 * tests/colon6.test: Likewise.
2416 * tests/comment.test: Likewise.
2417 * tests/compile_f90_c_cxx.test: Likewise.
2418 * tests/compile_f_c_cxx.test: Likewise.
2419 * tests/cond3.test: Likewise.
2420 * tests/cond6.test: Likewise.
2421 * tests/cond13.test: Likewise.
2422 * tests/conf2.test: Likewise.
2423 * tests/confvar.test: Likewise.
2424 * tests/confvar2.test: Likewise.
2425 * tests/cond8.test: Likewise, plus a cosmetic change.
2426 * tests/confh4.test: Likewise. Also, add in the heading comments
2427 an excerpt from the original bug report which motivated the
2428 creation of this test, to make its purpose clearer.
2430 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2432 Rewrite manual to be gender-neutral.
2433 * doc/automake.texi (GNU Build System)
2434 (Standard Directory Variables, General Operation, CVS)
2435 (Hard-Coded Install Paths, Dependencies As Side Effects):
2436 Rewrite text to not contain gender-specific pronouns when
2437 speaking about developers or users, either by avoiding pronouns
2438 or by addressing them as `you' instead.
2440 Report by Christina Gratorp.
2444 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2446 Make tests on user extensibility of silent-rules mode stricter.
2447 * tests/silent6.test: Made stricter w.r.t. the grepping of the
2448 output produced by `make'.
2449 * tests/silent7.test: Likewise.
2451 Tests on silent-mode for C/Libtool made stricter.
2452 * tests/silent.test: Made stricter w.r.t. the grepping of the
2453 output produced by `make'.
2454 * tests/silent2.test: Likewise.
2455 * tests/silent4.test: Likewise.
2456 * tests/silent9.test: Likewise.
2457 * tests/silent3.test: Likewise, and add a final `make distclean'
2458 command to keep it better in sync with tests/silent{4,9}.test.
2460 Improved test silent5.test.
2461 * tests/silent5.test: Remove by hand all generated C files after
2462 non-verbose builds, to ensure the following builds are clean.
2463 Try to clean and rebuild with the same verbosity and without
2464 removing generated sources in between, to check that this does
2465 not trigger a different set of rules. Make grepping of make's
2466 output stricter. Improved/added some comments.
2468 New tests for Automake silent-mode with Fortran.
2469 * tests/silentf77.test: New test.
2470 * tests/silentf90.test: Likewise.
2471 * tests/Makefile.am (TESTS): Updated accordingly.
2473 New test `silentcxx.test' (Automake silent-mode with C++).
2474 * tests/silentcxx.test: New test.
2475 * tests/Makefile.am (TESTS): Updated accordingly.
2477 New test `silentyacc.test' (Automake silent-mode with Yacc).
2478 * tests/silentyacc.test: New test.
2479 * tests/Makefile.am (TESTS): Updated accordingly.
2481 New test `silentlex.test' (Automake silent-mode with Lex).
2482 * tests/silentlex.test: New test.
2483 * tests/Makefile.am (TESTS): Updated accordingly.
2485 Relax tests on silent-rules to cater to overly verbose makes.
2486 * tests/silent.test: When testing silent builds, don't fail if
2487 make's output simply contains the `mv' substring, but only if
2488 it contains the `mv ' substring (note the trailing space).
2489 * tests/silent2.test: Likewise.
2490 * tests/silent3.test: Likewise.
2491 * tests/silent4.test: Likewise.
2492 * tests/silent5.test: Likewise.
2493 * tests/silent9.test: Likewise.
2495 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2497 Fix silent-rules output for disabled dependency tracking.
2498 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2499 expansion code to also work in the case where %AMDEP% expands
2500 to FALSE at config.status time, using new substitution string
2502 * automake.in (verbose_nodep_flag): New function, appending
2503 `@am__nodep@' to the verbose-variable name.
2504 (handle_languages): If dependencies are not disabled, use it to
2505 set %VERBOSE-NODEP%.
2506 * m4/depend.m4: Substitute am__nodep as '_no', so the second
2507 verbose-variable will always expand to an empty string, if
2508 dependencies are enabled.
2509 * tests/silent5.test: Also test --disable-dependency-tracking;
2510 also test per-target flags for non-C language files.
2511 * tests/silent9.test: New test, like silent4.test but disable
2512 dependency tracking.
2513 * tests/Makefile.am: Adjust.
2514 * NEWS, THANKS: Update.
2515 Report by Dmitry V. Levin <ldv@altlinux.org>.
2517 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2519 Extend test on `nostdinc' automake option.
2520 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
2521 unrelated minor changes. Make the grepping of the generated
2522 Makefile.in slightly stricter. Generate and run configure, so that
2523 the generated Makefile can be grepped too.
2525 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2527 Make gnupload portable to EBCDIC hosts.
2528 * lib/gnupload: Use literal newline as argument for 'tr' rather
2529 than \015, for EBCDIC hosts. Also, avoid unportable nested
2530 double-quotes and backquotes.
2532 Report from Eric Blake and Steve Goetze via gnulib.
2534 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2536 Fix Autoconf version required by Automake's configure.
2537 Automake configure script used to tell that automake required
2538 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2539 and if that was not found, it gave an error saying that Automake
2540 required configure 2.61a-341 or later. This change should
2541 eliminate such inconsistencies.
2542 * configure.ac ($required_autoconf_version): New variable.
2545 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2547 Fix unportable sed script in maintainer-check test.
2548 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2549 not contain semicolon after 'b' or brace commands, for NetBSD.
2551 Wildcards are not portable to NetBSD make.
2552 * doc/automake.texi (Wildcards): Document portability issue.
2553 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2556 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2558 Make test for configure.in vs. configure.ac stricter.
2559 * tests/configure.test: Use a configure.in file that provokes
2560 an automake error, to ensure configure.ac is preferred.
2562 Avoid possible false negatives in dejagnu7.test.
2563 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
2564 unportable use of fgrep option `-e'.
2566 Fix conflnk3.test to work with Solaris/Heirloom Sh.
2567 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
2568 instead of respectively `test -e FILE' and `test ! -e FILE',
2569 since Solaris Sh doesn't grok the latter. Do not SKIP the test
2570 if the shell doesn't support `test -e'.
2572 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2575 * doc/automake.texi (Simple Tests using parallel-tests): Add
2576 missing closing parenthesis.
2578 Fix leftover call to removed function macros_dump.
2579 * automake.in (read_main_am_file): Call variables_dump, not
2580 macros_dump. Print actual error before list of variables.
2582 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
2584 Minor improvements in comments of test `silent3.test'.
2585 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
2588 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2590 testsuite: ensure verbose printing of captured output.
2591 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
2592 tests/fort2.test, tests/help.test, tests/missing3.test,
2593 tests/missing6.test: Print captured stdout or stderr before
2596 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2598 Make test badopt.test stricter (by enabling `set -e').
2599 * tests/badopt.test: Add call to `set -e'. Due to this change,
2600 an unexpected failure in the call to `$ACLOCAL' (whose outcome
2601 was previously unchecked) would cause the whole test to fail.
2602 Also, bumped the copyright years.
2604 Make test for configure.in vs. configure.ac stricter.
2605 * tests/configure.test: Use a configure.in file that provokes
2606 an automake error, to ensure configure.ac is preferred.
2608 Use `set -e' in confsub.test (avoids possible false negatives).
2609 * tests/confsub.test: Enable shell `errexit' flag, and related
2610 changes (this helps avoiding some possible minor false negatives).
2611 Also, bumped copyright years.
2613 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2615 Fix -Werror handling for presence of configure.in and configure.ac.
2616 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2617 $configure_ac at the global level, before command-line arguments
2619 (require_variables): Initialize it here.
2620 * tests/configure.test: New test.
2621 * tests/Makefile.am: Update.
2622 Report by Stefano Lattarini.
2624 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2626 Avoid possible false negatives in confh5.test.
2627 * tests/confh5.test: Enable shell `errexit' flag, and bumped
2628 copyright years. Due to this change, any unexpected failure
2629 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2630 a failure in grepping expected text in output files should now
2631 cause the whole test to fail.
2633 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2635 Fixed typo in POD documentation of Automake::Channels.
2636 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2637 @<...> was used instead of C<...>.
2639 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2641 Refactor tests on Automake TESTS color output.
2642 * tests/color.test: Tests using the expect program moved out to...
2643 * tests/color2.test: ... this new file.
2644 * tests/Makefile.am (TESTS): Extended accordingly.
2646 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2648 Fix typos in comments in test confh5.test
2649 * tests/confh5.test: Fix a couple of typos in comments.
2651 Avoid possible false negatives in canon-name.test.
2652 * tests/canon-name.test: Enable shell `errexit' flag. Improve
2655 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2657 Fix per-Makefile.am setting of -Werror.
2658 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2659 Makefile.am would carry over to other Makefile.am files
2660 treated afterwards by the same thread, causing inconsistent
2661 and unstable exit status values.
2662 * lib/Automake/Channels.pm (dup_channel_setup)
2663 (drop_channel_setup): Save and restore the setting of
2664 $warnings_are_errors.
2665 * tests/werror3.test: New test.
2666 * tests/Makefile.am: Adjust.
2669 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2671 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2672 * tests/confh5.test: In the generated Makefile.am: do not use
2673 `test ! -e FILE' to check for the non-existence of a file, since
2674 that is not supported by Solaris/Heirloom Sh.
2676 Make test `aclocal3.test' stricter.
2677 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
2678 succeds unexpectedly.
2680 Add tests checking that symlinks are resolved by `make dist'.
2681 * tests/distlinks.test: New test.
2682 * tests/Makefile.am (TESTS): Updated accordingly.
2683 Suggested by observations from Ralf Wildenhues.
2685 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2687 Use -9 for maximum xz compression with dist-xz.
2688 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2689 * NEWS, THANKS: Update.
2690 Report by Pavel Sanda.
2692 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
2694 Avoid an unportable use of `$status' shell variable.
2695 * Makefile.am (path-check): Don't use the `$status' shell variable
2696 in the target's rules, as it's special in Zsh (equivalent to `$?',
2699 Avoid another use of `chmod -R'.
2700 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2701 $(distdir) before removing it (as Solaris `chmod -R' touches
2702 symlink targets). Instead, use the cleanup strategy used in
2705 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2707 Remove uses of @acronym and @sc.
2708 * doc/automake.texi (Public Macros, Limitations on File Names):
2709 Remove all usage of @acronym and @sc in the manual.
2710 Suggested by Karl Berry.
2712 2010-03-13 Karl Berry <karl@freefriends.org>
2714 GNU hello uses fdl.texi, not gpl.texi.
2715 * doc/automake.texi (Texinfo): Adjust example to upstream
2718 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2720 Formatting cleanups in macro comments.
2721 * automake.in, lib/Automake/Channels.pm,
2722 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2723 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2724 m4/options.m4, m4/substnot.m4: Fix macro comment format.
2726 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2727 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2729 Avoid generation of `tests/defs-p' file.
2730 * tests/defs.in: In the generated `configure.in' snippet: call
2731 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2732 variable `parallel_tests' is set to `yes'.
2733 * tests/Makefile.am (defs-p): Target removed.
2734 (check_SCRIPTS): Removed `defs-p'.
2735 (clean-local-check): Do not unlink `defs-p' anymore.
2736 ($(parallel_tests)): Transformation rules for the test scripts
2738 * tests/gen-parallel-tests: Selection rules for the test
2740 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2741 then include `./defs' (rather than simply including `./defs-p').
2742 * tests/parallel-tests2.test: Likewise.
2743 * tests/parallel-tests3.test: Likewise.
2744 * tests/parallel-tests4.test: Likewise.
2745 * tests/parallel-tests5.test: Likewise.
2746 * tests/parallel-tests6.test: Likewise.
2747 * tests/parallel-tests7.test: Likewise.
2748 * tests/parallel-tests8.test: Likewise.
2749 * tests/parallel-tests9.test: Likewise.
2750 * tests/parallel-tests10.test: Likewise.
2751 * tests/README (Section "Writing Test Cases" subsection "Do"):
2752 Adjusted the parts referring to tests checking `parallel-tests'
2753 behaviour. Some other minor related improvements.
2754 * tests/.gitignore (defs-p): Removed.
2756 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2758 Remove redundant unset of variable TESTS from some test scripts.
2759 * tests/color.test: Do not unset the `TESTS' variable, as it's
2760 already unset in the `defs' file.
2761 * tests/check5.test: Likewise.
2762 * tests/check8.test: Likewise.
2763 * tests/check9.test: Likewise.
2764 * tests/check10.test: Likewise.
2765 * tests/check11.test: Likewise.
2766 * tests/parallel-tests.test: Likewise.
2767 * tests/parallel-tests3.test: Likewise.
2768 * tests/parallel-tests4.test: Likewise.
2769 * tests/parallel-tests5.test: Likewise.
2770 * tests/parallel-tests6.test: Likewise.
2771 * tests/parallel-tests7.test: Likewise.
2773 2010-02-22 Karl Berry <karl@gnu.org>
2775 Improve help message of mdate-sh.
2776 * mdate-sh: mention actual output format in help message.
2778 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2780 Deprecate dist-lzma in favor of dist-xz.
2781 * doc/automake.texi (The Types of Distributions, Options):
2782 Adjust text to reflect renaming of lzma to xz.
2784 Missing deprecation noted by Antonio Diaz Diaz.
2786 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2788 Add tests about support of wildcards in EXTRA_DIST.
2789 * tests/extra10.test: New test, check basic support of wildcards
2791 * tests/extra11.test: New test, check more complex usage of
2792 wildcards in EXTRA_DIST.
2793 * tests/extra12.test: New test, check usage of wildcards in
2794 EXTRA_DIST when $builddir != $srcdir.
2795 * tests/Makefile.am (TESTS): Updated accordingly.
2796 Necessity of these new tests suggested by Braden McDaniel
2797 and Ralf Wildenhues.
2799 2010-02-08 Simon Josefsson <simon@josefsson.org>
2801 Fix copyright statement in gnupload script.
2802 * lib/gnupload: Fix copyright statement.
2804 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
2805 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2807 Fix exit status of signal handlers in shell scripts.
2808 The value of `$?' on entrance to signal handlers in shell scripts
2809 cannot be relied upon, so set the exit code explicitly to
2811 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2812 * lib/elisp-comp: Likewise.
2813 * lib/install-sh: Likewise.
2814 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
2815 * NEWS, THANKS: Update.
2816 Bug report, analysis, and initial patch by Dmitry V. Levin.
2818 2010-02-06 Karl Berry <karl@gnu.org>
2820 Improve gnupload usage text.
2821 * gnupload (usage): Shorten to make more likely to fit on a tty
2822 line. Mention CMD in the synopsis. With ..., plural is implied.
2824 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
2826 Fix some typos in the manual
2827 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2829 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2831 Slighty improve tests acoutbs.test and acoutbs2.test.
2832 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
2833 autoconf and configure work, that the file `zot' is created by
2834 configure, and that no file containing a backslash in its name is
2836 * tests/acoutbs.test: Likewise, plus updated copyright years.
2838 Fix test acoutbs2.test.
2839 * tests/acoutbs2: In the generated configure.in: add proper calls
2840 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2841 PACKAGE and VERSION. Add a call to aclocal before calling automake.
2842 Updated copyright years.
2843 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2845 Add forgotten test scripts to $(TESTS).
2846 * tests/Makefile.am (TESTS): Added test scripts present on the
2847 filesystem, which were erroneously left out from $(TESTS):
2848 acoutbs2.test, badopt.test, extra2.test.
2849 (XFAIL_TESTS): Added acoutbs2.test.
2851 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2853 Sync auxiliary files from upstream.
2854 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2857 Bump copyright years.
2858 * aclocal.in (write_aclocal, version): Bump copyright years.
2859 * automake.in (gen_copyright, version): Likewise.
2860 * doc/automake.texi: Likewise.
2863 * ChangeLog.09: New file, rotated from ...
2864 * ChangeLog: ... here.
2865 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2869 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
2871 Copying and distribution of this file, with or without modification, are
2872 permitted provided the copyright notice and this notice are preserved.