1 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
3 python: report the 'PYTHON' influential environment variable
4 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
5 * doc/automake.texi (Python): Update and extend.
6 * tests/help-python.test: New test.
7 * tests/Makefile.am (TESTS): Update.
8 * THANKS (Jack Kelly): Update e-mail address.
9 Suggestion by Jack Kelly.
11 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
13 tests defs: clear TESTS_ENVIRONMENT variable
14 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
15 from environment won't interfere with the testcases.
16 Suggestion by Ralf Wildenhues.
18 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
20 tests: tweak few tests on simple and parallel test drivers
21 * tests/check-exported-srcdir.test: Improve heading comments.
22 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
23 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
24 environment won't risk to interfere with the test.
25 Suggestions by Ralf Wildenhues.
27 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
29 coverage: more tests on simple and parallel test drivers
30 * tests/parallel-tests-subdir.test: New test.
31 * tests/check-exported-srcdir.test: Likewise.
32 * tests/check-tests-in-builddir.test: Likewise.
33 * tests/check-tests_environment.test: Likewise.
34 * tests/Makefile.am (TESTS): Update.
36 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
38 tests: fix spurious failures in lflags*.test
39 * tests/lflags.test: Remove 'LEX' from the environment, so
40 that it won't be erroneously picked up by `make -e'.
41 * tests/lflags2.test: Likewise.
43 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
45 docs: color-tests issues with parallel make
46 * doc/automake.texi (Simple Tests): Document that automatic
47 recognition of a capable terminal attached to stdout can fail
48 with some make implementation when running in parallel mode,
49 thus causing colored test output not to be automatically
50 activated when it should.
52 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
54 tests: avoid instspc.test failures due to make's whitespace trimming
55 * tests/instspc.test: Prepend './' when passing the test
56 characters, to avoid leading whitespace characters to be trimmed
57 from macros set from environment variables. Fixes testsuite
58 failures with HP-UX, IRIX, and Tru64/OSF make.
60 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
62 coverage: test semantics of "dummy" per-target flags
63 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
64 per-target flags triggers the use of renamed objects.
65 * tests/Makefile.am (TESTS): Update.
66 Suggestion by Ralf Wildenhues.
68 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
70 tests defs: sanitize IFS
71 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
72 ($sp): New variable, holding a single whitespace character.
73 ($tab): New variable, holding a tabulation character.
74 ($nl): New variable, holding a newline character.
76 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
78 tests: fix VPATH auto-expansion workarounds.
79 * tests/parallel-tests8.test, tests/suffix13.test:
80 Ensure $< is not surrounded by white space, to prevent Solaris
81 make from applying automatic VPATH text expansion.
83 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
85 tests: fix spurious failures in yflags*.test
86 * tests/yflags.test: Remove 'YACC' from the environment, so
87 that it won't be erroneously picked up by `make -e'.
88 * tests/yflags2.test: Likewise.
90 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
92 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
93 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
94 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
95 up its internal memory when copying this tree.
97 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
98 Stefano Lattarini <stefano.lattarini@gmail.com>
100 Add comment to check-TESTS rule working around make 3.80 bug.
101 * lib/am/check.am (check-TESTS): Update comment.
103 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
105 tests: less strict double-colon spy.test again.
106 * tests/spy.test: We know BSD make doesn't invoke more than one
107 double-colon rule, so no need to expose that failure.
109 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
111 install-sh: avoid Tru64 sh `test' operator precedence issues.
112 * lib/install-sh: Protect file names and directory components
113 that consist of `=', `(', `)', or `!'. Move protection as early
114 as possible, to avoid errors such as with Tru64 sh `test -z ='.
115 * tests/instsh2.test: Extend test to cover more possibilities.
116 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
118 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
119 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
121 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
122 * doc/automake.texi (Simple Tests): Do not claim Automake uses
123 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
124 parallel-tests driver.
126 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
128 Allow _AM_DEPENDENCIES to be used later in configure.
129 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
130 conftest.dir before recreating it.
132 Report by Eric Blake, from report by Scott McCreary against M4.
134 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
136 tests: avoid failure on w32 file systems.
137 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
138 be turned unreadable.
140 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
142 tests: allow double-colon spy.test to work with HP-UX make.
143 * tests/spy.test: Fix comment typos. Ensure prerequisites we
144 do not want to depend on are strictly older than the target.
145 Also test with a target out of date wrt. more than one rule.
147 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
149 tests: remove useless requirements from cond36.test
150 * tests/cond36.test ($required): Remove.
151 Since we are at it, add a trailing `:' command.
153 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
154 Stefano Lattarini <stefano.lattarini@gmail.com>
156 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
157 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
158 Test file readability before redirecting input from it, to avoid
159 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
160 * tests/parallel-tests-unreadable-log.test: New test.
161 * tests/Makefile.am (TESTS): Update.
164 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
166 * NEWS, README: Update copyright years.
168 Fix parallel-tests.test failure with HP-UX make.
169 * tests/parallel-tests.test: Sleep inside inner tests, so logs
170 are newer than logs of tests they depend on, for HP-UX make.
172 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
174 docs: ensure example are separated with empty lines in the input
175 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
176 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
177 lines before `@example' and after `@end example' lines, so info
178 output is rendered correctly, and a following @noindent honored.
179 Report by Stefano Lattarini.
181 2011-01-15 Jim Meyering <meyering@redhat.com>
183 tests: fix comment typo
184 * tests/substref.test: Fix grammar in a comment.
186 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
188 tests: fix spurious failures in two texinfo tests
189 * tests/txinfo.test ($required): Add 'makeinfo'.
190 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
191 that make won't try to run makeinfo (which could be unavailable)
193 Found by NixOS Hydra, reported by Ralf Wildenhues.
195 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
197 Avoid testsuite failures due to Autoconf Fortran change.
198 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
199 require computing the canonical host name. Ensure config.guess
200 and config.sub files are present for respective checks.
201 * tests/compile_f_c_cxx.test: Add stub files.
202 * tests/flibs.test: Likewise.
203 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
205 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
207 docs: clustered '-d' not recognized in YFLAGS
208 This change fixes automake bug#7828.
209 * doc/automake.texi (Yacc and Lex): Document that automake
210 recognizes '-d' in AM_YFLAGS only if it's not clustered with
212 From a report by Юрий Пухальский.
214 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
216 tests: add checks on automatically-distributed files
217 Related to automake bug#7819.
218 * tests/autodist.test: New test.
219 * tests/autodist-subdir.test: Likewise.
220 * tests/autodist-acconfig.test: Likewise.
221 * tests/autodist-acconfig-no-subdir.test: Likewise.
222 * tests/autodist-aclocal-m4.test: Likewise.
223 * tests/autodist-config-headers.test: Likewise.
224 * tests/autodist-configure-no-subdir.test: Likewise.
225 * tests/autodist-stamp-vti.test: Likewise.
226 * tests/Makefile.am (TESTS): Update.
228 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
230 tests: work around a texi+cygnus bug causing a spurious XFAIL
231 * tests/txinfo5b.test: New test, like txinfo5.test but calling
232 automake with the `-Wno-override' option to work around a bug
233 in the texinfo + cygnus interaction.
234 * tests/txinfo5.test: Update heading comments.
235 * tests/Makefile.am (TEST): Updated.
237 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
239 Fix another typo in Rule.pm comment.
240 * lib/Automake/Rule.pm: Fix typo.
242 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
244 Improve, extend and tweak tests on Texinfo support.
245 * tests/instdir-texi.test: Add a call to `ls -l' after that to
246 `make', for debugging. When looking for required tools, do not
247 redirect the output of "$tool --help" to /dev/null, and do not
248 uselessly run it in a subshell.
249 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
250 make. All checks moved into Makefile.am.
251 * tests/txinfo8.test: Likewise, and modernize the generated
253 * tests/txinfo2.test: Moved checks into Makefile.am, and other
255 * tests/txinfo5.test: Enable `errexit' shell flag, and related
256 changes. Add trailing `:' command.
257 * tests/txinfo6.test: Likewise, and make grepping of generated
258 Makefile.in stricter.
259 * tests/txinfo7.test: Enable `errexit' shell flag, and related
260 changes. Add trailing `:' command. Do not add unnecessary stuff
262 * tests/txinfo9.test: Verify that more targets which are expected
263 to be generated only once really are. Make grepping less strict,
264 to avoid exposing too much internal details. More minor changes.
265 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
266 for appending to configure.in. Updated/fixed heading comments.
267 * tests/txinfo23.test: Likewise, and extended a little by making
268 it check that no info file is created in the $(srcdir).
269 * tests/txinfo24.test: Likewise.
270 * tests/txinfo25.test: Likewise.
271 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
272 for appending to configure.in. Also, check that index files are
273 cleaned also by "make clean", not only by "make distclean".
274 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
275 and added trailing `:' command. This testcase also used to check
276 that automake ignores in-line comments when using variables, but
277 preserves them in the output; these checks (added in commit
278 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
279 so they have been moved ...
280 * tests/comments-in-var-defn.test: ... into this new test.
281 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
282 trailing `:' command.
283 * tests/txinfo29.test: Likewise. Relax grepping of generated
284 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
285 append to configure.in.
286 * tests/txinfo3.test: Likewise.
287 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
288 make it stricter, sometimes laxer). Move `set -e' setting just
289 after the inclusion of ./defs. De-uglify a sed command. Other
290 minor cosmetic improvements.
291 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
292 trailing `:' command.
293 * tests/vtexi3.test: New test on version.texi support.
294 * tests/vtexi4.test: Likewise.
295 * tests/Makefile.am (TESTS): Updated.
297 2011-01-09 Peter Rosin <peda@lysator.liu.se>
299 Fix another typo in Rule.pm comment.
300 * lib/Automake/Rule.pm: Fix typo.
302 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
304 cosmetics: remove trailing whitespaces
305 * doc/automake.texi: Remove trailing whitespaces.
306 * tests/cond13.test: Likewise.
307 * tests/cond14.test: Likewise.
308 * tests/fort4.test: Likewise.
309 * tests/fort5.test: Likewise.
310 * tests/suffix7.test: Likewise.
311 * tests/vtexi2.test: Likewise.
313 automake: minor fixes in comments
314 * automake.in: Some minor fixes and enhancements in comments.
316 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
318 Add test coverage for deleted header files.
319 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
320 also check for the deleted header bug. If no dependency
321 tracking mechanism could be found, SKIP rather than exit
322 successfully. Use GNU style spacing and ANSI C prototypes.
324 Fix typos in Rule.pm comments.
325 * lib/Automake/Rule.pm: Fix typos in comments.
327 docs: split 'amhello Explained' node.
328 * doc/automake.texi (amhello Explained): Split node ...
329 (amhello's configure.ac Setup Explained)
330 (amhello's Makefile.am Setup Explained) : ... into these two.
331 (Top, Hello World): Adjust, and add @anchor for stable URL links.
332 Suggestion by Karl Berry in automake bug#7766.
334 2011-01-08 Karl Berry <karl@freefriends.org>
335 Eric Blake <eblake@redhat.com>
337 docs: reference defining directories in amhello node.
338 * doc/automake.texi (amhello Explained): Point to Autoconf
339 manual for how to convert directory values into macros.
340 (Optional): Fix grammar nit.
342 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
344 * NEWS: Fix typo (forgotten word).
346 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
347 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
349 docs: how to work around checks on invalid primary/directory couples
350 * doc/automake.texi (Uniform): Document the blessed idiom which can
351 be used to work around automake checks on invalid primary/directory
352 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
354 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
356 Sync auxiliary files from upstream.
357 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
360 Fix maintainer-check regression.
361 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
364 Bump copyright years.
365 * aclocal.in (write_aclocal, version): Bump copyright years.
366 * automake.in (gen_copyright, version): Likewise.
367 * doc/automake.texi: Likewise.
369 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
370 Stefano Lattarini <stefano.lattarini@gmail.com>
372 Work around a bug in file-inclusion mechanism of Solaris make.
373 * automake.in (handle_single_transform): In the name of the
374 dependency file: collapse multiple slash characters into a single
376 * tests/subobj11a.test: New test.
377 * tests/subobj11b.test: Likewise.
378 * tests/subobj11c.test: Likewise.
379 * tests/depcomp8a.test: Likewise.
380 * tests/depcomp8b.test: Likewise.
381 * tests/Makefile.am (TESTS): Updated.
383 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
384 patch and tests by Stefano Lattarini.
386 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
388 Fix two spurious testsuite failures on IRIX 6.5.
389 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
390 weaker make implementations (e.g. IRIX 6.5).
391 * tests/parallel-tests8.test: Likewise, plus a required related
393 Reported by Ralf Wildenhues. The bugs have been there from the
394 first versions of the affected test scripts.
396 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
398 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
399 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
400 the AM_CYGWIN32 macro (and indeed hasn't required it since at
401 least commit Release-1-2-31-g3038064 "merged changes from
402 Cygnus" of 1997-08-25).
404 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
406 distlinksbrk.test: Work around botched "make -k".
407 * tests/distlinksbrk.test: Run "make" multiple times and grep
408 its output each time for a single error message, rather than
409 running "make -k" one single time and grepping its output for
410 all the expected error messages. This should work around make
411 implementations with limited (broken?) `-k' support; for more
412 information, see these subthreads on the automake-patches list:
413 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
414 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
415 - 2010-11-15, "Testsuite failures on IRIX 6.5",
416 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
418 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
420 Fix sed-related buglet in test "subdir5.test"
421 * tests/subdir5.test: Always terminate text passed to the
422 `i' sed command with a newline, to work around limitations
423 in e.g. older OpenBSD sed.
425 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
427 docs: fix blunder in example about python extension modules
428 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
429 not `quaternion_SOURCES', to declare the sources of python
430 extension module `quaternion.la'.
432 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
434 docs: list LTLIBRARIES among Automake primaries
435 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
436 the Automake primaries.
438 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
440 Improve tests on generated portions of configure help screen.
441 * tests/help-depend.test: Grepping of configure help screen
442 relaxed to cater for possible line wrapping, and tightened in
444 * tests/help-depend2.test: Likewise.
445 * tests/help-dmalloc.test: Likewise.
446 * tests/help-lispdir.test: Likewise.
447 * tests/help-maintainer.test: Likewise.
448 * tests/help-multilib.test: Likewise.
449 * tests/help-silent.test: Likewise.
450 * tests/help-upc.test: Likewise.
451 * tests/help-init.test: Grepping of configure help screen
454 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
456 Avoid running installed automake from 'libtool --help'.
457 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
458 Together with fixed Libtool, this fixes check-coverage to not
459 invoke installed automake.
461 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
463 Fix spurious failures in `silent*.test' for $CC != gcc
464 In some tests on automake-produced silent rules, we forced the
465 use of gcc depmode to improve testsuite coverage; but this has
466 unsurprisingly led to spurious failures when some non-GNU C
467 compilers were used. So we are now careful to require GCC in
468 tests that force gcc depmode.
469 From reports by Ralf Wildenhues.
470 * silent5.test: Test removed, its content split into ...
471 * silent-many-generic.test, silent-many-gcc.test: ... these new
472 sister tests, the latter of which forces gcc depmode and lists
474 * silentlex.test: Test removed, its content split into ...
475 * silent-lex-generic.test, silent-lex-gcc.test: ... these new
476 sister tests, the latter of which forces gcc depmode and lists
478 * silentyacc.test: Test removed, its content split into ...
479 * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
480 sister tests, the latter of which forces gcc depmode and lists
482 * tests/Makefile.am (TESTS): Updated.
484 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
486 Tests: consistently use "|| Exit 1" after ". ./defs".
487 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
488 `. ./defs', for consistency with other tests.
489 * tests/autohdr2.test: Likewise.
490 * tests/autohdr3.test: Likewise.
491 * tests/autohdr4.test: Likewise.
492 * tests/cond23.test: Likewise.
493 * tests/cond24.test: Likewise.
494 * tests/cond25.test: Likewise.
495 * tests/cond26.test: Likewise.
496 * tests/cond27.test: Likewise.
497 * tests/cond28.test: Likewise.
498 * tests/cond29.test: Likewise.
499 * tests/cond30.test: Likewise.
500 * tests/cond31.test: Likewise.
501 * tests/cond32.test: Likewise.
502 * tests/cond33.test: Likewise.
503 * tests/cond34.test: Likewise.
504 * tests/cond35.test: Likewise.
505 * tests/cond36.test: Likewise.
506 * tests/cond37.test: Likewise.
507 * tests/cond38.test: Likewise.
508 * tests/cond39.test: Likewise.
509 * tests/cond40.test: Likewise.
510 * tests/cond41.test: Likewise.
511 * tests/cond42.test: Likewise.
512 * tests/cond43.test: Likewise.
513 * tests/cond44.test: Likewise.
514 * tests/cond45.test: Likewise.
515 * tests/dollarvar.test: Likewise.
516 * tests/dollarvar2.test: Likewise.
517 * tests/hfs.test: Likewise.
518 * tests/libobj14.test: Likewise.
519 * tests/percent.test: Likewise.
520 * tests/percent2.test: Likewise.
521 * tests/phony.test: Likewise.
522 * tests/silent.test: Likewise.
523 * tests/silent2.test: Likewise.
524 * tests/silent3.test: Likewise.
525 * tests/silent4.test: Likewise.
526 * tests/silent5.test: Likewise.
527 * tests/silent6.test: Likewise.
528 * tests/silent7.test: Likewise.
529 * tests/silent9.test: Likewise.
530 * tests/silentcxx.test: Likewise.
531 * tests/silentf77.test: Likewise.
532 * tests/silentf90.test: Likewise.
533 * tests/silentlex.test: Likewise.
534 * tests/silentyacc.test: Likewise.
536 Avoid useless cleaning in some `silent*.test' tests.
537 * tests/silentf77.test: Removed useless calls to "make clean"
538 and "make maintainer-clean".
539 * tests/silentf90.test: Likewise.
540 * tests/silent3.test: Removed useless call to "make distclean".
541 * tests/silent4.test: Likewise.
542 * tests/silent9.test: Likewise.
544 2010-11-19 Ian Lance Taylor <iant@google.com>
546 Sync config-ml.in from GCC.
547 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
548 compiler/flag environment variables.
550 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
552 Automake::Config: remove extra trailing semicolon.
553 * lib/Automake/Config.in: Remove extra trailing semicolon.
555 help4.test: fix botched heading comment.
556 * tests/help4.test: Fixed the heading comment, since it
557 didn't correctly describe what checks the testcase was
560 help2.test: add checks on aclocal too.
561 * tests/help2.test: Check that also `aclocal --version' and
562 `aclocal --help' work with configure.in and acinclude.m4 both
565 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
567 Fix spurious failures of silent-rules tests with Sun Fortran.
568 * tests/silentf77.test: Strip from the make output some verbose
569 messages possibly printed by the SunStudio fortran compilers, to
570 avoid spurious failures. Add a trailing `:' command.
571 * tests/silentf90.test: Likewise.
573 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
575 Fix spurious failures of silent5.test with Sun Fortran.
576 * tests/silent5.test: Strip from the make output some verbose
577 messages possibly printed by the SunStudio fortran compilers,
578 to avoid spurious failures. This bug has been there from the
579 very first version of this test script.
581 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
583 Fix regression in colon{5,6}.test (failures on AIX 5.3).
584 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
585 post-processing the generated Makefile.in, to work around a bug
586 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
587 on the commend line. Calls to `$MAKE' adjusted accordingly.
588 * tests/colon6.test: Likewise.
589 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
590 improve and/or extend tests `colon*.test", and reported by Ralf
593 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
595 Fix regression in ansi.test (failure on AIX 5.3).
596 * tests/ansi.test: Remove redundant hackish check done using a
597 hand-postprocessed Makefile.in. This check worked by setting
598 the `$(SHELL)' macro on the command line of make, but this is
599 not supported by the AIX 5.3 make implementation.
600 This bug has been lurking for a long time, and was activated by
601 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
602 tests". Report by Ralf Wildenhues.
604 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
606 tests: avoid '##'-style comments inside recipe commands.
607 * tests/confh.test, tests/confh8.test: Remove
608 double-hash comments from makefile rule commands, they
609 are not part of the Automake API.
611 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
613 tests: work around dash quoting issue in case statements.
614 * tests/color.test, tests/color2.test: Quote variable in case
615 pattern, to avoid skipping tests with dash 0.5.5.1.
617 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
619 Rebuild menus in the manual.
620 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
621 Thanks to Ian Lance Taylor for the suggestion.
623 Fix install-strip when $(STRIP) contains several words.
624 * lib/am/install.am (install-strip): Update comment. Use
625 separate sub-make invocations for empty and nonempty $(STRIP),
626 to fix quoting issues.
627 * tests/strip2.test, tests/strip3.test: New tests.
628 * tests/Makefile.am (TESTS): Adjust.
630 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
632 Fix yaccdry.test failure: require bison.
633 * tests/yaccdry.test: Require bison.
634 Found by NixOS Hydra.
636 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
638 Fix a bug in variable concatenation with `+='.
639 * lib/Automake/VarDef.pm (append): Since the content of the
640 "appended-to" variable is going to be unconditionally normalized
641 later, simply separate the appended value with a single whitespace
642 character, instead of trying to be uselessly smarter by using
643 escaped newlines. This fixes a bug in which extra backslashes
644 where erroneously inserted in the variable's final value.
645 * tests/pluseq11.test: New test, exposing the bug.
646 * tests/Makefile.am (TESTS): Update.
647 Reported by Andy Wingo.
649 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
651 Fix bug in rules for creating vala vapi/header files.
652 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
653 if control structure in a generated make rules. Bug introduced
654 by previous commit `v1.11-221-gd7c1679', and revealed by failure
655 of test `vala2.test'.
657 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
659 Fix and document rules to not touch the tree with `make -n'.
660 * doc/automake.texi (Multiple Outputs): Document the problem of
661 modifications during dry-run execution, propose solution.
663 * automake.in (lang_vala_finish_target): Split recipe so the
664 stamp file is not removed with GNU `make -n'.
665 (lang_yacc_target_hook): Separate removal of parser output file
667 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
668 passed to make, take care not to remove any files in that case.
669 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
670 %STAMP% file from induced remaking of config header.
671 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
673 * tests/Makefile.am (TESTS): Update.
675 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
677 Add FAQ entry for bug reporting instructions.
678 * doc/automake.texi (Reporting Bugs): New section.
679 (Introduction): Refer to it.
681 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
683 Add support for newer python versions.
684 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
685 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
686 line and fix indentation.
688 From a report by Thomas Klausner.
690 Add test for `AM_WITH_DMALLOC' macro.
691 * tests/dmalloc.test: New test.
692 * tests/Makefile.am (TESTS): Update.
694 Fix nits and bugs in tests `help*.test'.
695 * tests/help4.test: Fix broken sed commands used to strip `-W...'
696 flags away from "$AUTOMAKE" and "$ACLOCAL".
697 * tests/help3.test: Likewise, and fix a botched comment.
698 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
699 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
700 please maintainer-check.
701 * tests/help2.test: Likewise.
703 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
704 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
706 Improve tests `help*.test' (also fixes maintcheck failures).
707 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
708 flags stripped away rather than hard-coded `automake-$APIVERSION',
709 to better honour user-overrides. Similarly for aclocal.
710 * tests/help2.test: Likewise.
711 * tests/help3.test: Likewise.
712 * tests/help4.test: Likewise.
714 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
716 Document and fix expansion of variables before rules.
717 * doc/automake.texi (General Operation): Document that variables
718 are expanded before rules.
719 * lib/am/check.am (am__check_post): Reword a bit so it does not
720 get matched as a rule.
721 Suggestion by Ben Pfaff.
723 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
725 Revert "parallel-tests: avoid command-line length limit issue."
726 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
727 because it re-opened the bug fixed by v1.11-10-g218e678.
729 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
731 parallel-tests: avoid command-line length limit issue.
732 * automake.in (handle_tests): New argument $makefile, new
733 substitution %MAKEFILE%.
734 (generate_makefile): Adjust.
735 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
736 sanitized TEST_LOGS value as makefile snippet on standard
737 input to $(MAKE), to avoid exceeding the command line limit on
740 Report by Bob Friesenhahn.
742 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
744 Extend tests on `--help' and `--version' options.
745 * tests/help.test: Create a new empty directory and chdir into
746 it, rather than removing already present files. Run the aclocal
747 and automake wrapper scripts directly, instead of relying on
748 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
749 in aclocal's and automake's stderr. Add a trailing `:' command.
750 * tests/help2.test: New test, checking that options `--help' and
751 `--version' works in directories with broken `configure.in'.
752 * tests/help3.test: New test, checking that options `--help' and
753 `--version' take precedence on the other options.
754 * tests/help4.test: New test, checking that the first among the
755 `--help' and `--version' options to be specified on the command
757 * tests/Makefile.am (TESTS): Updated.
759 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
761 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
762 * tests/compile2.test: Do no uselessly (implicitly) repeat the
763 computation of PATH_SEPARATOR again.
764 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
765 extending/redefining PATH.
766 * tests/instmany-python.test: Likewise.
767 * tests/instmany.test: Likewise.
768 * tests/man4.test: Likewise.
769 * tests/mkinst3.test: Likewise.
770 * tests/mmodely.test: Likewise.
771 * tests/multlib.test: Likewise.
772 * tests/txinfo30.test: Likewise.
773 * tests/README (Section "Writing test cases" subsection "Do"):
775 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
776 (syntax_check_rules): Updated.
778 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
779 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
780 ($ACLOCAL, $AUTOMAKE): Use it.
781 ($PATH_SEPARATOR): New AC_SUBST'd variables.
784 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
786 Manual: be more agnostic w.r.t. version control system used.
787 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
788 directories as a type of probably-unwanted files that are copied
789 regardless when adding directories to EXTRA_DIST.
790 (The dist Hook): Show a dist-hook example which removes Subversion
791 `.svn' private directories from distdir, rather than CVS private
793 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
794 the version control system used.
796 Manual: index refer to target "git-dist", not "cvs-dist".
797 * doc/automake.texi (General Operation): Index the non-standard
798 example about "git-dist" under the "git-dist" label, not under
801 Perl modules: remove references to "Automake CVS repository".
802 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
803 git repository" rather than to "Automake's CVS repository".
804 * lib/Automake/Configure_ac.pm: Likewise.
805 * lib/Automake/FileUtils.pm: Likewise.
806 * lib/Automake/Struct.pm: Likewise.
807 * lib/Automake/XFile.pm: Likewise.
808 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
809 branches" rather than "CVS branches".
811 Remove obsolete .cvsignore files.
812 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
813 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
814 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
815 savannah's CVS readonly mirror there's no way to commit back to
816 the real repository, so this files are not worth maintaining or
819 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
821 * m4/dmalloc.m4: Bump serial number and copyright years.
823 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
825 Fix broken link in `AM_WITH_DMALLOC' help screen.
826 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
827 `http://www.dmalloc.com', not to the dmalloc tarball there (which
828 seems to have been removed, substituted by multiple release
831 2010-09-17 Eric Blake <eblake@redhat.com>
833 Avoid triple-space after period.
834 * automake.in (handle_single_transform): Avoid 3 spaces at
836 * ChangeLog.03: Likewise.
837 * lib/Automake/ChannelDefs.pm: Likewise.
838 * lib/Automake/Channels.pm (_print_message): Likewise.
839 * lib/Automake/Rule.pm (rule): Likewise.
840 * lib/Automake/Variable.pm (var): Likewise.
841 * lib/am/distdir.am: Likewise.
842 * tests/insthook.test: Likewise.
844 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
846 Test automake-generated portions of configure help screen.
847 * tests/help-depend.test: New test.
848 * tests/help-depend2.test: Likewise.
849 * tests/help-dmalloc.test: Likewise.
850 * tests/help-init.test: Likewise.
851 * tests/help-lispdir.test: Likewise.
852 * tests/help-maintainer.test: Likewise.
853 * tests/help-multilib.test: Likewise.
854 * tests/help-regex.test: Likewise.
855 * tests/help-silent.test: Likewise.
856 * tests/help-upc.test: Likewise.
857 * tests/mmode.test: Remove tests on `configure --help' output,
858 they are superseded by tests in `help-maintainer.test'.
859 * tests/Makefile.am (TESTS): Update.
861 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
863 * tests/README: Don't put GCS mandated tools in $required.
865 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
867 * HACKING: Hint at old commits with `git describe' output.
869 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
871 Fix regression in test `colon4.test'.
872 * tests/colon4.test: Fix botched editing to `configure.in'
873 that made the test useless. Since we are at it, improve
874 comments and make grepping of generated Makefile.in slightly
876 Regression introduced by change "Modernize, improve and/or
877 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
879 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
881 Do not require "gzip" explicitly in tests.
882 The gzip utility is simply expected to be present on any decent
883 target system for Automake. So it's pointless to put it in
885 * tests/install2.test ($required): Do not require "gzip".
886 * tests/lex3.test: Likewise.
887 * tests/pr9.test: Likewise.
888 From a suggestion by Ralf Wildenhues.
890 Make some `confh*.test' tests more "semantic" (plus tweakings).
891 * tests/confh.test: Run "autoconf", "configure" and "make check",
892 instead of munging/grepping the generated `Makefile.in'.
893 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
894 white spaces. Do not create useless dummy source file `foo.c'
895 and useless dummy header file `acconfig.h'.
896 (configure.in): Remove superfluous call to `AC_OUTPUT'.
897 * tests/confh6.test: Add trailing `:' command.
898 * tests/confh7.test: In comments, add reference to ...
899 * tests/confh8.test: ... this new test, "semantic" sister
901 * tests/Makefile.am (TESTS): Updated.
902 Prompted by a report from Ralf Wildenhues.
904 Remove useless whitespace padding in XFAIL_TESTS definition.
905 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
907 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
909 parallel-tests: avoid command-line length limit issue.
910 * automake.in (handle_tests): New argument $makefile, new
911 substitution %MAKEFILE%.
912 (generate_makefile): Adjust.
913 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
914 sanitized TEST_LOGS value as makefile snippet on standard
915 input to $(MAKE), to avoid exceeding the command line limit on
918 Report by Bob Friesenhahn.
920 Posix 2008 requires make to set errexit.
921 * lib/am/check.am: Update comment.
923 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
925 Fix bug in test missing6.test.
926 * tests/missing6.test: Fix the hack used to edit `configure.in',
927 to avoid producing a configure script that breaks with shells
928 that do not support $LINENO. Also throw in a couple of cosmetic
931 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
933 Improve robustness of mdate-sh script.
934 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
935 $ls_command is word-split properly upon invocation.
936 (error): New function.
937 (main): Use it. Improve error checking to avoid endless loop
938 in case $ls_command gave bogus output. Fix eval quotation.
939 * tests/mdate6.test: New test, to expose eval quotation error.
940 * tests/Makefile.am: Update.
942 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
944 Fix potential regressions in depcomp{3,5}.test.
945 * tests/depcomp3.test: Do not uselessly escape the character `$'
946 in makefile rules, when it's used to expand a make macro.
947 * tests/depcomp5.test: Likewise.
949 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
950 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
952 Docs: clarify how to avoid automatic dependencies tracking.
953 * doc/automake.texi (Automatic dependency tracking): Mention that
954 automatic dependencies tracking is enabled by default, but that
955 the package developer can disable it altogether. Add a reference
956 to the proper section for a more in-depth explanation.
958 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
959 * doc/automake.texi (Automatic dependency tracking): Fix typo.
961 2010-08-16 Bruno Haible <bruno@clisp.org>
963 Don't hide the table of contents.
964 * doc/automake.texi: Move the table of contents to the beginning.
966 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
968 Tweak and/or extend some `acloca*.test' tests.
969 * tests/aclocal8.test: Ensure verbose printing of captured
971 * tests/aclocal.test: Likewise. Also, add trailing `:'
973 * tests/acloca19.test: Likewise.
974 * tests/aclocal5.test: Add trailing `:' command, and prefer
975 `$me' over hard-coded test name.
976 * tests/aclocal6.test: Likewise.
977 * tests/aclocal18.test: Add trailing `:' command, and make
978 some grepping slightly stricter.
979 * tests/acloca14.test: Likewise. Also, prefer `diff' over
980 `cmp', and add some "cosmetic" blank lines.
982 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
984 Tweak and extend tests `pr[!0-9]*.test'.
985 * tests/primary3.test: Add trailing `:' command.
986 * tests/primary.test: Make grepping of Automake's stderr stricter.
987 Also, add trailing `:' command, and cosmetic changes in spacing.
988 * tests/primary2.test: Likewise.
989 * tests/prefix.test: Enable `errexit' shell flags, and related
990 changes. Add a trailing `:' command.
991 * tests/proginst.test: Likewise.
993 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
994 * tests/pr2.test: Add trailing `:' command.
995 * tests/pr229.test: Likewise.
996 * tests/pr401.test: Likewise.
997 * tests/pr401b.test: Likewise.
998 * tests/pr401c.test: Likewise.
999 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1001 * tests/pr300-lib.test: Likewise.
1002 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1003 of captured make stdout.
1004 * tests/pr211.test: Add trailing `:' command. Also, use the
1005 `configure.in' stub created by ./defs, rather than writing it
1007 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1008 * tests/pr287.test: Likewise, and move setting of `errexit' shell
1009 flag earlier in the script (just after inclusion of ./defs).
1010 * tests/pr220.test: Make grepping of Automake's stderr stricter.
1011 Also, add trailing `:' command, and cosmetic changes in spacing.
1012 * tests/pr224.test: Move setting of `errexit' shell flag earlier
1013 in the script (just after inclusion of ./defs). Do not export
1014 `CC=gcc' to configure explicitly (it's already exported globally
1015 in ./defs, since we have "gcc" in $required). Use the stub for
1016 `configure.in' created by ./defs, rather than writing it from
1017 scratch. Do not create dummy files required by "gnu" mode (e.g.
1018 README, NEWS), since we run automake in foreign mode anyway.
1019 * tests/pr72.test: Enable `errexit' shell flags, and related
1020 changes. Extend existing checks a bit.
1021 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
1022 the generated `configure.in', and extend existing checks over the
1023 generated tarball a bit.
1024 * tests/pr87.test: Enable `errexit' shell flags, and related
1025 changes. Add a trailing `:' command. Also, do not create dummy
1026 files required by "gnu" mode (e.g. README, NEWS), since we run
1027 automake in foreign mode anyway.
1028 * tests/pr243.test: Avoid obsolescent constructs in the generated
1029 `configure.in'. Enable the `errexit' shell flag, and related
1030 changes. Cosmetic changes to spacing, add trailing `:' command,
1031 and add a "FIXME" comment.
1032 * tests/pr266.test: Likewise, and add explicit command line switch
1033 `--enable-dependecy-tracking' to the ./configure call.
1034 * tests/pr279.test: Avoid obsolescent constructs in the generated
1035 `configure.in'; also, use the `configure.in' stub created by
1036 ./defs, rather than writing it from scratch. Enable `errexit'
1037 shell flag, and related changes. Add trailing `:' command.
1038 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1040 * tests/pr307.test: Move setting of `errexit' shell flag earlier
1041 in the script (just after inclusion of ./defs). Escape literal
1042 dots in grep regular expressions. Also, add a trailing `:'
1043 command, and cosmetic changes to spacing.
1045 Tests for PR: add excerpts from original bug report, for clarity.
1046 * tests/pr2.test: Ditto.
1047 * tests/pr9.test: Likewise.
1048 * tests/pr72.test: Likewise.
1049 * tests/pr87.test: Likewise.
1050 * tests/pr211.test: Likewise.
1051 * tests/pr220.test: Likewise.
1052 * tests/pr224.test: Likewise.
1053 * tests/pr229.test: Likewise.
1054 * tests/pr243.test: Likewise.
1055 * tests/pr266.test: Likewise.
1056 * tests/pr279.test: Likewise, and tell to keep it in sync
1057 with its sister test.
1058 * tests/pr279-2.test: Likewise.
1060 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1062 Tweak, extend and improve tests `cond[a-z]*.test'.
1063 * tests/condd.test: Add trailing `:' command. Typofix in
1065 * tests/condhook.test: Make sure target `install-data-hook' is
1066 not called by `make install', but that data files are installed.
1067 Use proper m4 quoting in configure.in. Add trailing `:' command.
1068 * tests/condhook2.test: New test, sister test of condhook, with
1070 * tests/condinc2.test: Use proper m4 quoting in configure.in.
1071 Prefer trailing `:' command over trailing `Exit 0'.
1072 * tests/condman2.test: Enable errexit shell flag, and related
1073 changes. Add trailing `:' command.
1074 * tests/condman.test: Likewise. Also, do not create useless
1075 dummy manpages, and use proper m4 quoting in configure.in.
1076 * tests/condman3.test: New test, similar to condman.test, but
1077 it also runs ./configure and "make install", and check the
1079 * tests/Makefile.am (TESTS): Updated.
1081 Modernize, improve and/or extend tests `colon*.test.
1082 * tests/colon.test: Rely on the `configure.in' stub created by
1083 `./defs', rather than writing one from scratch. Do not create
1084 a useless dummy file. Add trailing `:' command.
1085 * tests/colon4.test: Enable the `errexit' shell flag, and
1086 related changes. Rely on the `configure.in' stub created by
1087 `./defs', rather than writing one from scratch.
1088 * tests/colon7.test: Enable `errexit' shell flag, and related
1089 changes. Improve the generated `configure.in' file. Add
1090 trailing `:' command.
1091 * tests/colon2.test: Likewise. Also, add some new checks.
1092 * tests/colon5.test: Improve the generated `configure.in' file.
1093 Add new, much deeper checks. Add trailing `:' command.
1094 * tests/colon6.test: Likewise.
1095 * tests/colon3.test: Add trailing `:' command. Remove useless
1096 comments and echos. Improve the generated `configure.in' file.
1097 make some grepping tests stricter. Add a "FIXME" comments about
1098 planned improvements.
1100 Improve and extend tests `asm*.test'.
1101 * tests/asm.test: Use configure.in stub generated by ./defs,
1102 and avoid obsoleted autoconf constructs. Make grepping of
1103 Automake stderr stricter. Do not create useless source file.
1104 Improve verbose messages. Minor cosmetic changes. Tell to
1105 keep it in sync with other sister tests asm*.test.
1106 * tests/asm2.test: Likewise.
1107 * tests/asm3.test: Likewise.
1109 Modernize, improve and/or extend test scripts `conf*.test'.
1110 * tests/confh5.test: Cosmetic changes.
1111 * tests/conff.test: Likewise.
1112 * tests/confdeps.test: Likewise.
1113 * tests/conflnk.test: Likewise.
1114 * tests/conflnk2.test: Likewise.
1115 * tests/confsub.test: Likewise.
1116 * tests/confvar.test: Likewise, and make grepping of Makefile.in
1118 * tests/confvar2.test: Likewise.
1119 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
1120 disabled test (which didn't work with autoconf <= 2.59, but now we
1121 are requiring autoconf 2.62, so...)
1122 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1123 accordingly to "TODO" comments.
1124 * tests/conff2.test: Make grepping of Automake's stderr stricter.
1125 Add some comments explaining why we don't use the `configure.in'
1126 stub preset be ./defs.
1127 * tests/confh.test: Use the `configure.in' stub created by ./defs,
1128 rather than writing one from scratch, and do not call AC_OUTPUT.
1129 Enable `errexit' shell flag, and related changes. Prefer diff over
1130 cmp to compare text files. Prefer perl over sed to fetch the value
1131 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
1132 of $(DIST_COMMON) stricter.
1133 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1134 rather than writing one from scratch. Make grepping of Makefile.in
1136 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
1138 * tests/configure.test: Avoid obsolescent constructs in generated
1139 `configure.ac'. Do not write `configure.in' two times. Escape
1140 literal dots in grep regular expressions.
1141 * tests/confincl.test: Enable `errexit' shell flag, and related
1142 changes. Prefer fgrep over grep. Other cosmetic changes.
1143 * tests/config.test: Renamed to ...
1144 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
1145 and make grepping of `config.h' and `config.h.in' stricter.
1146 * tests/conf2.test: Renamed ...
1147 * tests/confh7.test: ... to this. Use the `configure.in' stub
1148 created by ./defs, rather than writing one from scratch. Try to
1149 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1151 * tests/Makefile.am (TESTS): Updated.
1153 Minor improvements and fixes in tests `depcomp*.test'.
1154 * tests/depcomp.test: Do not create useless dummy source files.
1155 Add a trailing `:' command.
1156 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1157 it's not in in the environment, rather than exporting it with an
1158 empty value. Do not pass CC=gcc to configure, as that's already
1159 done in ./defs since we have gcc in $required. Ensure verbose
1160 printing of captured stderr, and normalize its checking. Add a
1161 trailing `:' command.
1162 * tests/depcomp3.test: Quote literal dots and dollar characters in
1163 grep regexps. Always use `: >' rather than `touch' to create empty
1164 files. Explicitly declare phony targets as such in the created
1165 Makefile.am. Add a trailing `:' command.
1166 * tests/depcomp4.test: Quote literal dots and dollar characters in
1167 grep regexp. Explicitly declare phony targets as such in the
1168 created Makefile.am. Ensure verbose printing of captured makes'
1169 stoud/stderr. Add a trailing `:' command.
1170 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1171 in the script (just after inclusion of ./defs). Quote literal dots
1172 and dollar characters in grep regexps. Explicitly declare phony
1173 targets as such in the created Makefile.am. Add a trailing `:'
1175 * tests/depcomp6.test: Consistently use m4 quoting in the generated
1176 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
1177 statement required by OpenBSD's sh `set -e' more robust, and add
1178 explanatory comments to it.
1179 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
1181 Separate failing part of test `all.test'.
1182 * tests/all.test: Keep only (x)failing part of the test. Working
1183 checks moved out to ...
1184 * tests/all2.test: ... this new test.
1185 * tests/Makefile.am (TESTS): Updated.
1187 Modernize, improve and extend tests `subobj*.test'.
1188 * tests/subobjname.test: Add trailing `:' command.
1189 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1190 Escape literal dots in grep regexps.
1191 * tests/subobj2.test: Add trailing `:' command. Do not use the
1192 unportable fgrep option `-e'.
1193 * tests/subobj3.test: Add trailing `:' command.
1194 (configure.in): Use proper m4 quoting, and avoid obsolescent
1196 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
1197 flag, with related changes
1198 * tests/subobj4.test: Likewise. Also, make grepping of
1199 `Makefile.in' stricter.
1200 * tests/subobj5.test: Add trailing `:' command. Move setting of
1201 `errexit' shell flag earlier in the script (just after inclusion
1203 (configure.in): Use the stub created by `./defs', rather than
1204 writing it from scratch, and avoid obsolescent constructs.
1205 * tests/subobj6.test: Add trailing `:' command. Move setting of
1206 `errexit' shell flag earlier in the script (just after inclusion
1207 of ./defs). Do not create useless dummy ac-init file `f'.
1208 * tests/subobj7.test: Do not create useless dummy ac-init file
1210 (configure.in): Use the stub created by `./defs', rather than
1211 writing it from scratch, and avoid obsolescent constructs.
1212 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1213 in the script (just after inclusion of ./defs). Fail the test if
1214 `make distcheck' fails. Ensure verbose printing of captured make
1215 stdout. Avoid useless fork by doing simple grep instead of using
1216 test -n "`COMMAND | grep ...`".
1217 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1218 (Makefile.am): Explicitly mark target "print" as phony.
1219 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
1220 trailing `:' command.
1221 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1223 Remove a couple of obsoleted tests.
1224 * tests/fpinstall.test: Removed.
1225 * tests/fpinst2.test: Likewise.
1226 * tests/Makefile.am (TESTS): Updated.
1228 Bootstrap: updated HACKING entry.
1229 * HACKING ("Working with git"): Explain how to override the
1230 autoconf and autom4te programs used by the bootstrap process.
1233 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1234 since we don't generate it. Correctly quote arguments of
1235 `eval' builtin. Fixed a botched error message. Removed an
1238 Bootstrap: don't search perl in $PATH.
1239 * bootstrap: Do not explicitly search perl in $PATH anymore.
1240 ($PATH_SEPARATOR): Removed, it's no more needed.
1242 Bootstrap: let the user choose which autoconf to use.
1243 * bootstrap ($AUTOCONF): New variable, from the environment.
1244 ($AUTOM4TE): Likewise, for clarity.
1245 Use "$AUTOCONF" instead of calling "autoconf" directly.
1247 Minor improvements to tests ar*.test.
1248 * tests/ar.test: Add trailing `:' command.
1249 * tests/ar2.test: Likewise, and make grepping of generated
1250 Makefile.in stricter.
1252 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1254 Fix maintainer-check failure.
1255 * tests/cond5.test: Quote sleep argument, this isn't about
1256 time stamp differences.
1258 Sync auxiliary files from upstream.
1259 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1262 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1264 Work around a nasty bug (segfault) of Solaris make.
1265 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1266 from $list, to avoid triggering a nasty bug (potential segfault)
1269 2010-08-06 Peter Rosin <peda@lysator.liu.se>
1271 Make cond5.test more robust on MSYS.
1272 * tests/cond5.test: Add delay before the first kill attempt to
1273 cater for problems with MSYS bash.
1275 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1277 Add example git work flow; discuss merge --log in HACKING.
1279 Suggestion by Stefano Lattarini.
1281 Add more hints for debugging make rules.
1282 * doc/automake.texi (Debugging Make Rules): Show command to find
1283 out expanded values of variables; point to makefile debugger.
1285 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1287 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1289 Fix typo in the manual.
1290 * doc/automake.texi (Scripts): Fix typo.
1292 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1294 Document current policy for development with git.
1295 * HACKING (Working with git): Overhaul.
1296 Prompted by suggestion from Stefano Lattarini.
1298 Fix AM_COND_IF for gone-invalid condition shell expression.
1299 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1300 variable, rather than re-evaluating the shell expression for
1302 * tests/cond40.test: Extend test.
1305 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1306 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1307 to avoid shell syntax error if the m4 expansion is empty.
1308 * tests/cond40.test: Enhance test.
1310 Coverage: bogus option to AM_INIT_AUTOMAKE.
1311 * tests/init2.test: New test.
1312 * tests/Makefile.am: Update.
1314 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1316 Modernize and improve test scripts `subdir*.test'.
1317 * tests/subdir.test: Enable `errexit' shell flag, and related
1318 changes. Use the `configure.in' stub created by `./defs',
1319 rather than writing one from scratch.
1320 * tests/subdir2.test: Likewise.
1321 * tests/subdir4.test: Likewise.
1322 * tests/subdir3.test: Enable `errexit' shell flag, and related
1323 changes. Do not create useless dummy source files.
1324 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1325 and in subdirs) stricter. Some minor changes to keep it more
1326 in sync with the related test `subdir8.test'.
1327 * tests/subdir8.test: Likewise (but with the related test being
1328 `subdir5.test' here).
1329 * tests/subdir6.test: Cosmetic change in spacing.
1330 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1331 trailing `:' command.
1332 * tests/subdir10.test: Cosmetic consistency-related change.
1333 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1334 (configure.in): Use stub created by `./defs', rather than writing
1335 it from scratch. Do not use obsoleted and/or deprecated forms of
1336 autoconf/automake macros.
1338 Modernize and improve test scripts `dist*.test'.
1339 * tests/distcleancheck.test: Do not add useless `-e' option to
1340 a $MAKE call. Extend test by grepping stderr of make.
1341 * tests/distcom2.test: Do not run the same test script on the
1342 Makefile.in twice, but save its output in an intermediate file
1343 instead. Make grepping of DIST_COMMON definition stricter.
1344 Display the content of more files, to ease debugging. Add a
1345 trailing `:' command. Improved heading comments w.r.t. sister
1347 * tests/distcom6.test: Likewise, and avoid to uselessly run
1349 * tests/distcom3.test: Ensure verbose printing of captured stdout
1350 and stderr. Make grepping of captured stderr stricter. Also,
1351 add trailing `:' command.
1352 * tests/distcom4.test: Declare the target `test' in the generated
1353 Makefile.am as `.PHONY'. Display content of more files, to ease
1354 debugging. Add trailing `:' command.
1355 * tests/distcom5.test: Likewise. Also, factor out common sed
1356 script in subroutine `extract_distcommon'.
1357 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1358 test Makefile.am files. Add a trailing `:' command.
1359 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1360 call to `set -e' earlier. Be stricter and more verbose in the
1361 checking of the generated tarball.
1362 (configure.in): Use the stub provided by ./defs, instead of
1363 writing it from scratch. Avoid obsoleted constructs. Remove
1364 useless call to `AM_PROG_CC_C_O'.
1365 * tests/distdir.test: Various minor improvements/normalizations.
1366 * tests/distlinks.test: Likewise.
1368 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1370 Improve and extend test cond5.test.
1371 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1372 the background automake process, but poll it every 10 seconds for
1373 at most 30 times (this makes the test both faster on good machines,
1374 and more resilient to spurious timeout-due failures when in low
1375 priority or on heavily-loaded systems).
1376 Check also that automake writes the expected error messages on the
1378 Enable `errexit' flag, and related changes.
1379 Rely on the `configure.in' stub created by `./defs', rather than
1380 writing one from scratch.
1382 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1384 Update program --help output to match current GCS.
1385 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1386 is not defined, for compatibility to Autoconf < 2.64.
1387 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1389 (sc_diff_automake_in_automake): Update number of diff lines for
1390 additional substitutions.
1391 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1392 home page and GNU general help page.
1393 * automake.in (usage): Likewise.
1394 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1396 (Introduction, Creating amhello, amhello Explained, Options):
1398 * lib/Automake/Makefile.am (do_subst): Substitute
1400 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1401 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1404 Clean up @var handling in the manual.
1405 * doc/automake.texi: Throughout the manual, lower-case @var
1406 names, replace a few one-character names.
1408 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1410 Fix typo-related bug in test script silent5.test.
1411 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1414 Tests: remove useless repetitions of `foreign' automake option.
1415 * tests/multlib.test (configure.in): Remove useless use of
1416 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1417 already in $AUTOMAKE by default, so no point in repeating it).
1418 * tests/subobj10.test: Likewise.
1419 * tests/subobj9.test: Likewise.
1420 * tests/lex3.test (Makefile.am): Similarly, remove useless use
1421 of `foreign' option in AUTOMAKE_OPTIONS.
1422 * tests/lex5.test: Likewise.
1423 * tests/pr279.test: Likewise.
1424 * tests/pr279-2.test: Likewise.
1425 * tests/specflg3.test: Likewise.
1426 * tests/target-cflags.test: Likewise.
1428 Drop useless requirement "gzip" in lex5.test.
1429 * tests/lex5.test ($required): Do not list "gzip", as it's
1432 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1434 Fix bugs in test script silent5.test.
1435 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1436 instead of egrep) that could have led to false negatives.
1438 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1440 Add a test checking that distributed broken symlinks cause
1441 `make dist' to fail.
1442 * tests/distlinksbrk.test: New test.
1443 * tests/Makefile.am (TESTS): Updated.
1445 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1447 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1448 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1449 and AM_LFLAGS, LFLAGS in the order in which they now appear in
1452 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1453 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1454 please maintainer-check. Ensure generated C files contain a
1455 declaration, to please compilers.
1457 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1459 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1460 $(FLAGS) precedence.
1461 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1462 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1463 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1464 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1467 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1468 $(AM_FLAGS) and $(FLAGS) precedence.
1469 * tests/lflags.test: New test, check that user $(LFLAGS) takes
1470 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
1472 * tests/lflags2.test: Likewise.
1473 * tests/yflags.test: New test, check that user $(YFLAGS) takes
1474 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
1476 * tests/yflags2.test: Likewise.
1477 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1479 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1481 Modernize, improve and extend tests `suffix*.test'.
1482 * tests/suffix3.test: Enable `errexit' shell flag, and related
1484 * tests/suffix4.test: Likewise.
1485 * tests/suffix6.test: Likewise, and do not create a useless dummy
1487 * tests/suffix7.test: Likewise.
1488 * tests/suffix5.test: Enable `errexit' shell flag, and related
1489 changes. Make grepping of Makefile.in slightly stricter.
1490 * tests/suffix.test: Enable `errexit' shell flag, and related
1491 changes. Also, do not redirect grep output to /dev/null, as this
1492 might unmotivatedly hide useful information.
1493 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1494 in the script (just after inclusion of ./defs). Use a more
1495 idiomatic way to count text occurrences in Makefile.in with
1496 grep. Do not create useless dummy source files.
1497 * tests/suffix10.test: Ensure verbose printing of captured make
1498 stdout. Minor cosmetic changes.
1499 * tests/suffix8.test: Likewise. Also, drop useless call to the
1500 env(1) utility, and make grepping of make output stricter by using
1501 $FGREP rather than plain grep.
1502 * tests/suffix11.test: Likewise.
1503 * tests/suffix12.test: Likewise.
1504 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1505 the `configure.in' stub. Cosmetic changes.
1506 * tests/suffix13.test: Cosmetic spacing change.
1508 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1510 Add useful comment in test script ext.test.
1511 * tests/ext.test: Add a comment explaining why an apparently
1512 useless `if' statement is indeed required.
1514 Add useful comment in test script obsolete.test.
1515 * tests/obsolete.test: Add a comment explaining why we need
1516 an indirection in adding $AUTOUPDATE to $required.
1518 Normalize whitespaces in 'tests/Makefile.am'.
1519 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1520 definition of this variable.
1522 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1524 Remove a couple of unneeded conditionals from tests.
1525 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1526 for the FOOTEST conditional.
1528 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1530 Modernize, improve and/or fix various test scripts.
1531 * tests/symlink3.test: Deleted, separated into two new, more
1533 * tests/forcemiss.test: ... this one ...
1534 * tests/forcemiss2.test: ... and this one.
1535 * tests/symlink2.test: Enable `errexit' shell flag, make test
1536 stricter, and skip it if symlink creation is not supported.
1537 * tests/postproc.test: Enable `errexit' shell flag, related
1538 changes, and a couple of unrelated cosmetic changes.
1539 * tests/recurs.test: Use the `configure.in' stub created by
1540 `./defs', rather than writing one from scratch. Make grepping
1541 of Automake stderr slightly stricter.
1542 * tests/substtarg.test: Likewise.
1543 * tests/strip.test: Likewise, and move the call to `set -e'
1544 earlier (just after the inclusion of `./defs'). Also, make sure
1545 that the script installed by `make install-script' is equal to
1547 * tests/substref.test: Use the `configure.in' stub created by
1548 `./defs', rather than writing one from scratch. Move the call
1549 to `set -e' earlier (just after the inclusion of `./defs').
1550 Avoid to explicitly export CC for configure (that's already done
1551 in ./defs). Avoid potential problems with unpredictable make
1552 output. Finally, make grepping of Makefile.in stricter.
1553 * tests/substre2.test: Ensure verbose printing of the captured
1554 make's output, and make its grepping slightly stricter.
1555 * tests/cygwin32.test: Enable `errexit' shell flag, and related
1556 changes. Also, do not create useless dummy source/data files.
1557 * tests/scripts.test: Likewise.
1558 * tests/recurs2.test: Likewise. Also, use the `configure.in'
1559 stub created by `./defs'.
1560 * tests/Makefile.am (TESTS): Updated.
1562 Modernize, improve and/or fix tests `pluseq*.test.
1563 * tests/pluseq5.test: Append to configure.in using cat with an
1564 here-doc, not using echo.
1565 * tests/pluseq10.test: Make sure that the captured output of
1566 `make' command is always displayed. Where possible, use $FGREP
1567 instead of grep (this change makes some checks slightly stricter).
1568 * tests/pluseq8.test: Enable `errexit' shell flag, with related
1570 * tests/pluseq.test: Likewise. Also, do not create useless dummy
1571 data files, and use better m4 quoting in generated configure.in.
1572 * tests/pluseq2.test: Likewise. Also, append to configure.in
1573 using cat with an here-doc, not using echo.
1574 * tests/pluseq3.test: Likewise.
1575 * tests/pluseq4.test: Likewise.
1576 * tests/pluseq6.test: Likewise.
1577 * tests/pluseq7.test: Do not create useless dummy source file.
1578 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1579 Automake stderr. Some unrelated cosmetic changes.
1581 Testsuite: ensure verbose printing of captured stderr.
1582 * tests/acloca18.test: Print captured stderr before either failing
1583 or grepping it. Be sure to send captured stderr to stderr, not to
1585 * tests/ansi3b.test: Likewise.
1586 * tests/cond39.test: Likewise.
1587 * tests/configure.test: Likewise.
1588 * tests/missing3.test: Likewise.
1589 * tests/missing6.test: Likewise.
1590 * tests/output-order.test: Likewise.
1591 * tests/pr300-ltlib.test: Likewise.
1592 * tests/python6.test: Likewise.
1593 * tests/python7.test: Likewise.
1594 * tests/python8.test: Likewise.
1595 * tests/python9.test: Likewise.
1596 * tests/subobj.test: Likewise.
1597 * tests/vars3.test: Likewise.
1598 * tests/missing4.test: Likewise, and fix a call to grep not to use
1600 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1601 created by `./defs', rather than writing one from scratch.
1603 Enable `errexit' shell flag in various tests.
1604 * tests/backsl.test: Enable the `errexit' shell flag, and
1606 * tests/backsl2.test: Likewise.
1607 * tests/block.test: Likewise.
1608 * tests/canon2.test: Likewise.
1609 * tests/canon4.test: Likewise.
1610 * tests/comment2.test: Likewise.
1611 * tests/condlib.test: Likewise.
1612 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1613 * tests/canon3.test: Likewise. Also, avoid to create an useless
1615 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1616 related changes. Do some cosmetic improvements in the generated
1617 `configure.in' file.
1618 * tests/cond4.test: Likewise.
1619 * tests/cond14.test: Likewise.
1620 * tests/condinc.test: Likewise.
1621 * tests/cond7.test: Likewise. Also, remove useless setting of
1622 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1623 * tests/ansi.test: Enable the `errexit' shell flag, and related
1624 changes. Extended, esp. by running autoconf, ./configure and
1625 make, and by looking into the distdir.
1627 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1628 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1630 Extend tests/README w.r.t. trailing `:' in test scripts.
1631 * tests/README (section "Writing test cases" subsection "Do"):
1632 Explain why apparently redundant trailing `:' and `Exit 0' in
1633 test scripts can indeed be useful.
1635 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1637 Improve determination of PATH separator in bootstrap script.
1638 * bootstrap: Determine what the PATH separator is the same way
1641 Minor improvements in bootstrap script.
1642 * bootstrap: Consistently use two-spaces indentation. Cosmetic
1643 improvement to comments.
1644 ($me): New variable, containing program basename.
1645 Prepend it to all error messages.
1647 Testsuite now works with BSD make in parallel mode.
1648 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1649 which are exported by BSD make when run in parallel mode, and
1650 which can confuse make processes spawned by our testsuite.
1651 This change fixes a lot of spurious failure when the testsuite
1652 is run with BSD make in parallel mode.
1654 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1656 Modernize, improve and/or fix various test scripts.
1657 * tests/sanity.test: Rely on the `configure.in' stub created by
1658 `./defs', rather than writing one from scratch.
1659 * tests/depend2.test: Likewise. Also, call `set -e' just after
1660 the inclusion of `./defs', instead that later in the script.
1661 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1662 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1663 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1664 Make auxiliary rules in the generated Makefile more silent.
1665 These changes make some checks slightly stricter.
1666 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1667 * tests/gettext2.test: Place final `:' at the end of the script,
1668 rather than in the middle.
1669 * tests/exeext.test: Call `set -e' just after the inclusion of
1670 `./defs', instead that later in the script.
1671 * tests/extra5.test: Likewise.
1672 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
1673 plain `mv', just to be sure.
1674 * tests/depcomp.test: Enable `errexit' shell flag, with related
1675 changes. Also, modernize the generated configure.in.
1676 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
1677 stub created by `./defs', rather than writing one from scratch.
1678 * tests/cond10.test: Likewise.
1679 * tests/depcomp2.test: Likewise.
1680 * tests/depend3.test: Likewise.
1681 * tests/distcom7.test: Likewise.
1682 * tests/fortdep.test: Likewise. Also, remove definition of
1683 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1684 since that flag is already provided by $AUTOMAKE.
1685 * tests/mdate.test: Made stricter, by checking that Automake
1686 actually failed, and by making a stricter grep on the error
1687 message. Also, set shell `errexit flag'.
1688 * tests/python2.test: Improved verbose messages.
1690 Make test `ammissing.test' stricter.
1691 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1692 Enable `errexit' shell flag.
1694 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1696 Enable `errexit' shell flag in some test scripts.
1697 * tests/subcond.test: Enabled `errexit' shell flag, and related
1699 * tests/subst.test: Likewise.
1700 * tests/vars.test: Likewise.
1701 * tests/version4.test: Likewise.
1702 * tests/vpath.test: Likewise.
1703 * tests/vtexi2.test: Likewise.
1704 * tests/werror.test: Likewise.
1705 * tests/whoami.test: Likewise.
1706 * tests/tags.test: Likewise, and avoid to crate an useless dummy
1708 * tests/acsilent.test: Likewise, and don't use an easily-avoided
1709 command substitution.
1710 * tests/unused.test: Likewise, and don't use an easily-avoided
1711 command substitution.
1712 * tests/version.test: Likewise, and avoid deprecated constructs
1713 in the generated `configure.in'.
1714 * tests/version2.test: Likewise, and avoid deprecated constructs
1715 in the generated `configure.in'.
1717 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1719 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1720 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
1721 the verbose log contains all output.
1722 * tests/mdate.test: Likewise.
1723 Prompted by Stefano Lattarini's change to discover.test.
1725 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1727 Improve tests link*.test (enable `errexit' shell flag).
1728 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1729 changes. Also, do not create useless source files.
1730 * tests/link_dist.test: Likewise.
1731 * tests/link_f90_only.test: Likewise.
1732 * tests/link_f_only.test: Likewise.
1733 * tests/link_fc.test: Likewise.
1734 * tests/link_fccxx.test: Likewise.
1735 * tests/link_fcxx.test: Likewise.
1737 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1739 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1740 * tests/ext.test: Inside shell compound command, use
1741 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1742 fix failure with OpenBSD sh introduced with last patch.
1743 Actually ensure that a rule for .EXT.o is created for each
1744 known extension EXT.
1746 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1748 Enable `errexit' shell flag in some test scripts.
1749 * tests/dash.test: Enable `errexit' shell flag, and related
1751 * tests/defun.test: Likewise.
1752 * tests/defun2.test: Likewise.
1753 * tests/dejagnu.test: Likewise.
1754 * tests/double.test: Likewise.
1755 * tests/distcom2.test: Likewise.
1756 * tests/empty2.test: Likewise.
1757 * tests/empty3.test: Likewise.
1758 * tests/empty4.test: Likewise.
1759 * tests/exdir.test: Likewise.
1760 * tests/ext.test: Likewise.
1761 * tests/extra.test: Likewise.
1762 * tests/extra2.test: Likewise.
1763 * tests/extra3.test: Likewise.
1764 * tests/extra4.test: Likewise.
1765 * tests/flibs.test: Likewise.
1766 * tests/fnoc.test: Likewise.
1767 * tests/fo.test: Likewise.
1768 * tests/instexec.test: Likewise.
1769 * tests/ltdeps.test: Likewise.
1770 * tests/nodep.test: Likewise.
1771 * tests/nodepcomp.test: Likewise.
1772 * tests/f90only.test: Likewise, and remove botched/obsoleted
1773 comments and unnecessary commands.
1774 * tests/fonly.test: Likewise, and remove botched/obsoleted
1775 comments and unnecessary commands.
1776 * tests/discover.test: Likewise, and made stricter.
1778 Enable `errexit' shell flag in all tests cxx*.test.
1779 * tests/cxx.test: Enabled `errexit' shell flag, and related
1781 * tests/cxxansi.test: Likewise.
1782 * tests/cxxcpp.test: Likewise.
1783 * tests/cxxlibobj.test: Likewise.
1784 * tests/cxxlink.test: Likewise.
1785 * tests/cxxo.test: Likewise.
1787 Enable `errexit' shell flag in various tests.
1788 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1790 * tests/acoutpt.test: Likewise.
1791 * tests/acoutqnl.test: Likewise.
1792 * tests/amassign.test: Likewise.
1793 * tests/ansi2.test: Likewise.
1794 * tests/ansi4.test: Likewise.
1795 * tests/badprog.test: Likewise.
1796 * tests/checkall.test: Likewise.
1797 * tests/clean.test: Likewise.
1798 * tests/colneq2.test: Likewise.
1799 * tests/colon.test: Likewise.
1800 * tests/colon5.test: Likewise.
1801 * tests/colon6.test: Likewise.
1802 * tests/comment.test: Likewise.
1803 * tests/compile_f90_c_cxx.test: Likewise.
1804 * tests/compile_f_c_cxx.test: Likewise.
1805 * tests/cond3.test: Likewise.
1806 * tests/cond6.test: Likewise.
1807 * tests/cond13.test: Likewise.
1808 * tests/conf2.test: Likewise.
1809 * tests/confvar.test: Likewise.
1810 * tests/confvar2.test: Likewise.
1811 * tests/cond8.test: Likewise, plus a cosmetic change.
1812 * tests/confh4.test: Likewise. Also, add in the heading comments
1813 an excerpt from the original bug report which motivated the
1814 creation of this test, to make its purpose clearer.
1816 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1818 Rewrite manual to be gender-neutral.
1819 * doc/automake.texi (GNU Build System)
1820 (Standard Directory Variables, General Operation, CVS)
1821 (Hard-Coded Install Paths, Dependencies As Side Effects):
1822 Rewrite text to not contain gender-specific pronouns when
1823 speaking about developers or users, either by avoiding pronouns
1824 or by addressing them as `you' instead.
1826 Report by Christina Gratorp.
1830 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1832 Make tests on user extensibility of silent-rules mode stricter.
1833 * tests/silent6.test: Made stricter w.r.t. the grepping of the
1834 output produced by `make'.
1835 * tests/silent7.test: Likewise.
1837 Tests on silent-mode for C/Libtool made stricter.
1838 * tests/silent.test: Made stricter w.r.t. the grepping of the
1839 output produced by `make'.
1840 * tests/silent2.test: Likewise.
1841 * tests/silent4.test: Likewise.
1842 * tests/silent9.test: Likewise.
1843 * tests/silent3.test: Likewise, and add a final `make distclean'
1844 command to keep it better in sync with tests/silent{4,9}.test.
1846 Improved test silent5.test.
1847 * tests/silent5.test: Remove by hand all generated C files after
1848 non-verbose builds, to ensure the following builds are clean.
1849 Try to clean and rebuild with the same verbosity and without
1850 removing generated sources in between, to check that this does
1851 not trigger a different set of rules. Make grepping of make's
1852 output stricter. Improved/added some comments.
1854 New tests for Automake silent-mode with Fortran.
1855 * tests/silentf77.test: New test.
1856 * tests/silentf90.test: Likewise.
1857 * tests/Makefile.am (TESTS): Updated accordingly.
1859 New test `silentcxx.test' (Automake silent-mode with C++).
1860 * tests/silentcxx.test: New test.
1861 * tests/Makefile.am (TESTS): Updated accordingly.
1863 New test `silentyacc.test' (Automake silent-mode with Yacc).
1864 * tests/silentyacc.test: New test.
1865 * tests/Makefile.am (TESTS): Updated accordingly.
1867 New test `silentlex.test' (Automake silent-mode with Lex).
1868 * tests/silentlex.test: New test.
1869 * tests/Makefile.am (TESTS): Updated accordingly.
1871 Relax tests on silent-rules to cater to overly verbose makes.
1872 * tests/silent.test: When testing silent builds, don't fail if
1873 make's output simply contains the `mv' substring, but only if
1874 it contains the `mv ' substring (note the trailing space).
1875 * tests/silent2.test: Likewise.
1876 * tests/silent3.test: Likewise.
1877 * tests/silent4.test: Likewise.
1878 * tests/silent5.test: Likewise.
1879 * tests/silent9.test: Likewise.
1881 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1883 Fix silent-rules output for disabled dependency tracking.
1884 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1885 expansion code to also work in the case where %AMDEP% expands
1886 to FALSE at config.status time, using new substitution string
1888 * automake.in (verbose_nodep_flag): New function, appending
1889 `@am__nodep@' to the verbose-variable name.
1890 (handle_languages): If dependencies are not disabled, use it to
1891 set %VERBOSE-NODEP%.
1892 * m4/depend.m4: Substitute am__nodep as '_no', so the second
1893 verbose-variable will always expand to an empty string, if
1894 dependencies are enabled.
1895 * tests/silent5.test: Also test --disable-dependency-tracking;
1896 also test per-target flags for non-C language files.
1897 * tests/silent9.test: New test, like silent4.test but disable
1898 dependency tracking.
1899 * tests/Makefile.am: Adjust.
1900 * NEWS, THANKS: Update.
1901 Report by Dmitry V. Levin <ldv@altlinux.org>.
1903 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1905 Extend test on `nostdinc' automake option.
1906 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
1907 unrelated minor changes. Make the grepping of the generated
1908 Makefile.in slightly stricter. Generate and run configure, so that
1909 the generated Makefile can be grepped too.
1911 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1913 Make gnupload portable to EBCDIC hosts.
1914 * lib/gnupload: Use literal newline as argument for 'tr' rather
1915 than \015, for EBCDIC hosts. Also, avoid unportable nested
1916 double-quotes and backquotes.
1918 Report from Eric Blake and Steve Goetze via gnulib.
1920 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1922 Fix Autoconf version required by Automake's configure.
1923 Automake configure script used to tell that automake required
1924 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1925 and if that was not found, it gave an error saying that Automake
1926 required configure 2.61a-341 or later. This change should
1927 eliminate such inconsistencies.
1928 * configure.ac ($required_autoconf_version): New variable.
1931 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1933 Fix unportable sed script in maintainer-check test.
1934 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1935 not contain semicolon after 'b' or brace commands, for NetBSD.
1937 Wildcards are not portable to NetBSD make.
1938 * doc/automake.texi (Wildcards): Document portability issue.
1939 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1942 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1944 Make test for configure.in vs. configure.ac stricter.
1945 * tests/configure.test: Use a configure.in file that provokes
1946 an automake error, to ensure configure.ac is preferred.
1948 Avoid possible false negatives in dejagnu7.test.
1949 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
1950 unportable use of fgrep option `-e'.
1952 Fix conflnk3.test to work with Solaris/Heirloom Sh.
1953 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1954 instead of respectively `test -e FILE' and `test ! -e FILE',
1955 since Solaris Sh doesn't grok the latter. Do not SKIP the test
1956 if the shell doesn't support `test -e'.
1958 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1961 * doc/automake.texi (Simple Tests using parallel-tests): Add
1962 missing closing parenthesis.
1964 Fix leftover call to removed function macros_dump.
1965 * automake.in (read_main_am_file): Call variables_dump, not
1966 macros_dump. Print actual error before list of variables.
1968 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1970 Minor improvements in comments of test `silent3.test'.
1971 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1974 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1976 testsuite: ensure verbose printing of captured output.
1977 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1978 tests/fort2.test, tests/help.test, tests/missing3.test,
1979 tests/missing6.test: Print captured stdout or stderr before
1982 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1984 Make test badopt.test stricter (by enabling `set -e').
1985 * tests/badopt.test: Add call to `set -e'. Due to this change,
1986 an unexpected failure in the call to `$ACLOCAL' (whose outcome
1987 was previously unchecked) would cause the whole test to fail.
1988 Also, bumped the copyright years.
1990 Make test for configure.in vs. configure.ac stricter.
1991 * tests/configure.test: Use a configure.in file that provokes
1992 an automake error, to ensure configure.ac is preferred.
1994 Use `set -e' in confsub.test (avoids possible false negatives).
1995 * tests/confsub.test: Enable shell `errexit' flag, and related
1996 changes (this helps avoiding some possible minor false negatives).
1997 Also, bumped copyright years.
1999 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2001 Fix -Werror handling for presence of configure.in and configure.ac.
2002 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2003 $configure_ac at the global level, before command-line arguments
2005 (require_variables): Initialize it here.
2006 * tests/configure.test: New test.
2007 * tests/Makefile.am: Update.
2008 Report by Stefano Lattarini.
2010 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2012 Avoid possible false negatives in confh5.test.
2013 * tests/confh5.test: Enable shell `errexit' flag, and bumped
2014 copyright years. Due to this change, any unexpected failure
2015 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2016 a failure in grepping expected text in output files should now
2017 cause the whole test to fail.
2019 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2021 Fixed typo in POD documentation of Automake::Channels.
2022 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2023 @<...> was used instead of C<...>.
2025 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2027 Refactor tests on Automake TESTS color output.
2028 * tests/color.test: Tests using the expect program moved out to...
2029 * tests/color2.test: ... this new file.
2030 * tests/Makefile.am (TESTS): Extended accordingly.
2032 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2034 Fix typos in comments in test confh5.test
2035 * tests/confh5.test: Fix a couple of typos in comments.
2037 Avoid possible false negatives in canon-name.test.
2038 * tests/canon-name.test: Enable shell `errexit' flag. Improve
2041 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2043 Fix per-Makefile.am setting of -Werror.
2044 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2045 Makefile.am would carry over to other Makefile.am files
2046 treated afterwards by the same thread, causing inconsistent
2047 and unstable exit status values.
2048 * lib/Automake/Channels.pm (dup_channel_setup)
2049 (drop_channel_setup): Save and restore the setting of
2050 $warnings_are_errors.
2051 * tests/werror3.test: New test.
2052 * tests/Makefile.am: Adjust.
2055 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2057 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2058 * tests/confh5.test: In the generated Makefile.am: do not use
2059 `test ! -e FILE' to check for the non-existence of a file, since
2060 that is not supported by Solaris/Heirloom Sh.
2062 Make test `aclocal3.test' stricter.
2063 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
2064 succeds unexpectedly.
2066 Add tests checking that symlinks are resolved by `make dist'.
2067 * tests/distlinks.test: New test.
2068 * tests/Makefile.am (TESTS): Updated accordingly.
2069 Suggested by observations from Ralf Wildenhues.
2071 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2073 Use -9 for maximum xz compression with dist-xz.
2074 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2075 * NEWS, THANKS: Update.
2076 Report by Pavel Sanda.
2078 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
2080 Avoid an unportable use of `$status' shell variable.
2081 * Makefile.am (path-check): Don't use the `$status' shell variable
2082 in the target's rules, as it's special in Zsh (equivalent to `$?',
2085 Avoid another use of `chmod -R'.
2086 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2087 $(distdir) before removing it (as Solaris `chmod -R' touches
2088 symlink targets). Instead, use the cleanup strategy used in
2091 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2093 Remove uses of @acronym and @sc.
2094 * doc/automake.texi (Public Macros, Limitations on File Names):
2095 Remove all usage of @acronym and @sc in the manual.
2096 Suggested by Karl Berry.
2098 2010-03-13 Karl Berry <karl@freefriends.org>
2100 GNU hello uses fdl.texi, not gpl.texi.
2101 * doc/automake.texi (Texinfo): Adjust example to upstream
2104 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2106 Formatting cleanups in macro comments.
2107 * automake.in, lib/Automake/Channels.pm,
2108 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2109 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2110 m4/options.m4, m4/substnot.m4: Fix macro comment format.
2112 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2113 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2115 Avoid generation of `tests/defs-p' file.
2116 * tests/defs.in: In the generated `configure.in' snippet: call
2117 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2118 variable `parallel_tests' is set to `yes'.
2119 * tests/Makefile.am (defs-p): Target removed.
2120 (check_SCRIPTS): Removed `defs-p'.
2121 (clean-local-check): Do not unlink `defs-p' anymore.
2122 ($(parallel_tests)): Transformation rules for the test scripts
2124 * tests/gen-parallel-tests: Selection rules for the test
2126 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2127 then include `./defs' (rather than simply including `./defs-p').
2128 * tests/parallel-tests2.test: Likewise.
2129 * tests/parallel-tests3.test: Likewise.
2130 * tests/parallel-tests4.test: Likewise.
2131 * tests/parallel-tests5.test: Likewise.
2132 * tests/parallel-tests6.test: Likewise.
2133 * tests/parallel-tests7.test: Likewise.
2134 * tests/parallel-tests8.test: Likewise.
2135 * tests/parallel-tests9.test: Likewise.
2136 * tests/parallel-tests10.test: Likewise.
2137 * tests/README (Section "Writing Test Cases" subsection "Do"):
2138 Adjusted the parts referring to tests checking `parallel-tests'
2139 behaviour. Some other minor related improvements.
2140 * tests/.gitignore (defs-p): Removed.
2142 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2144 Remove redundant unset of variable TESTS from some test scripts.
2145 * tests/color.test: Do not unset the `TESTS' variable, as it's
2146 already unset in the `defs' file.
2147 * tests/check5.test: Likewise.
2148 * tests/check8.test: Likewise.
2149 * tests/check9.test: Likewise.
2150 * tests/check10.test: Likewise.
2151 * tests/check11.test: Likewise.
2152 * tests/parallel-tests.test: Likewise.
2153 * tests/parallel-tests3.test: Likewise.
2154 * tests/parallel-tests4.test: Likewise.
2155 * tests/parallel-tests5.test: Likewise.
2156 * tests/parallel-tests6.test: Likewise.
2157 * tests/parallel-tests7.test: Likewise.
2159 2010-02-22 Karl Berry <karl@gnu.org>
2161 Improve help message of mdate-sh.
2162 * mdate-sh: mention actual output format in help message.
2164 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2166 Deprecate dist-lzma in favor of dist-xz.
2167 * doc/automake.texi (The Types of Distributions, Options):
2168 Adjust text to reflect renaming of lzma to xz.
2170 Missing deprecation noted by Antonio Diaz Diaz.
2172 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2174 Add tests about support of wildcards in EXTRA_DIST.
2175 * tests/extra10.test: New test, check basic support of wildcards
2177 * tests/extra11.test: New test, check more complex usage of
2178 wildcards in EXTRA_DIST.
2179 * tests/extra12.test: New test, check usage of wildcards in
2180 EXTRA_DIST when $builddir != $srcdir.
2181 * tests/Makefile.am (TESTS): Updated accordingly.
2182 Necessity of these new tests suggested by Braden McDaniel
2183 and Ralf Wildenhues.
2185 2010-02-08 Simon Josefsson <simon@josefsson.org>
2187 Fix copyright statement in gnupload script.
2188 * lib/gnupload: Fix copyright statement.
2190 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
2191 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2193 Fix exit status of signal handlers in shell scripts.
2194 The value of `$?' on entrance to signal handlers in shell scripts
2195 cannot be relied upon, so set the exit code explicitly to
2197 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2198 * lib/elisp-comp: Likewise.
2199 * lib/install-sh: Likewise.
2200 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
2201 * NEWS, THANKS: Update.
2202 Bug report, analysis, and initial patch by Dmitry V. Levin.
2204 2010-02-06 Karl Berry <karl@gnu.org>
2206 Improve gnupload usage text.
2207 * gnupload (usage): Shorten to make more likely to fit on a tty
2208 line. Mention CMD in the synopsis. With ..., plural is implied.
2210 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
2212 Fix some typos in the manual
2213 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2215 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2217 Slighty improve tests acoutbs.test and acoutbs2.test.
2218 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
2219 autoconf and configure work, that the file `zot' is created by
2220 configure, and that no file containing a backslash in its name is
2222 * tests/acoutbs.test: Likewise, plus updated copyright years.
2224 Fix test acoutbs2.test.
2225 * tests/acoutbs2: In the generated configure.in: add proper calls
2226 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2227 PACKAGE and VERSION. Add a call to aclocal before calling automake.
2228 Updated copyright years.
2229 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2231 Add forgotten test scripts to $(TESTS).
2232 * tests/Makefile.am (TESTS): Added test scripts present on the
2233 filesystem, which were erroneously left out from $(TESTS):
2234 acoutbs2.test, badopt.test, extra2.test.
2235 (XFAIL_TESTS): Added acoutbs2.test.
2237 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2239 Sync auxiliary files from upstream.
2240 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2243 Bump copyright years.
2244 * aclocal.in (write_aclocal, version): Bump copyright years.
2245 * automake.in (gen_copyright, version): Likewise.
2246 * doc/automake.texi: Likewise.
2249 * ChangeLog.09: New file, rotated from ...
2250 * ChangeLog: ... here.
2251 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2255 Copyright (C) 2010 Free Software Foundation, Inc.
2257 Copying and distribution of this file, with or without modification, are
2258 permitted provided the copyright notice and this notice are preserved.