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