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