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