1 2010-08-16 Peter Rosin <peda@lysator.liu.se>
3 Support more C++ file extensions for MSVC in the compile script.
4 * lib/compile (func_cl_wrapper): MSVC only recognizes the .cpp
5 file extension as C++, unless it's given a hint. So hint about
6 .cc, .CC, .cxx, .CXX, c++ and C++. Also do path conversion on
7 .c, .cpp, .CPP, .lib, .LIB and .Lib files.
8 * lib/compile3.test: Test the C++ hinting.
10 2010-08-12 Peter Rosin <peda@lysator.liu.se>
12 Enable the use of "link -lib" as the wrapped archiver.
13 * lib/ar-lib: Enable the use of "link -lib" as the wrapped
14 archiver, as well as allowing some other options to be passed
15 through to the wrapped archiver.
16 * tests/ar-lib.test: Test the above.
18 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
20 Tweak and/or extend some `acloca*.test' tests.
21 * tests/aclocal8.test: Ensure verbose printing of captured
23 * tests/aclocal.test: Likewise. Also, add trailing `:'
25 * tests/acloca19.test: Likewise.
26 * tests/aclocal5.test: Add trailing `:' command, and prefer
27 `$me' over hard-coded test name.
28 * tests/aclocal6.test: Likewise.
29 * tests/aclocal18.test: Add trailing `:' command, and make
30 some grepping slighty stricter.
31 * tests/acloca14.test: Likewise. Also, prefer `diff' over
32 `cmp', and add some "cosmetic" blank lines.
34 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
36 Tweak and extend tests `pr[!0-9]*.test'.
37 * tests/primary3.test: Add trailing `:' command.
38 * tests/primary.test: Make grepping of Automake's stderr stricter.
39 Also, add trailing `:' command, and cosmetic changes in spacing.
40 * tests/primary2.test: Likewise.
41 * tests/prefix.test: Enable `errexit' shell flags, and related
42 changes. Add a trailing `:' command.
43 * tests/proginst.test: Likewise.
45 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
46 * tests/pr2.test: Add trailing `:' command.
47 * tests/pr229.test: Likewise.
48 * tests/pr401.test: Likewise.
49 * tests/pr401b.test: Likewise.
50 * tests/pr401c.test: Likewise.
51 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
53 * tests/pr300-lib.test: Likewise.
54 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
55 of captured make stdout.
56 * tests/pr211.test: Add trailing `:' command. Also, use the
57 `configure.in' stub created by ./defs, rather than writing it
59 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
60 * tests/pr287.test: Likewise, and move setting of `errexit' shell
61 flag earlier in the script (just after inclusion of ./defs).
62 * tests/pr220.test: Make grepping of Automake's stderr stricter.
63 Also, add trailing `:' command, and cosmetic changes in spacing.
64 * tests/pr224.test: Move setting of `errexit' shell flag earlier
65 in the script (just after inclusion of ./defs). Do not export
66 `CC=gcc' to configure explicitly (it's already exported globally
67 in ./defs, since we have "gcc" in $required). Use the stub for
68 `configure.in' created by ./defs, rather than writing it from
69 scratch. Do not create dummy files required by "gnu" mode (e.g.
70 README, NEWS), since we run automake in foreign mode anyway.
71 * tests/pr72.test: Enable `errexit' shell flags, and related
72 changes. Extend existing checks a bit.
73 * tests/pr9.test: Likewise. Also, avoid obolescent constructs in
74 the generated `configure.in', and extend existing checks over the
75 generated tarball a bit.
76 * tests/pr87.test: Enable `errexit' shell flags, and related
77 changes. Add a trailing `:' command. Also, do not create dummy
78 files required by "gnu" mode (e.g. README, NEWS), since we run
79 automake in foreign mode anyway.
80 * tests/pr243.test: Avoid obolescent constructs in the generated
81 `configure.in'. Enable the `errexit' shell flag, and related
82 changes. Cosmetic changes to spacing, add trailing `:' command,
83 and add a "FIXME" comment.
84 * tests/pr266.test: Likewise, and add explicit command line switch
85 `--enable-dependecy-tracking' to the ./configure call.
86 * tests/pr279.test: Avoid obolescent constructs in the generated
87 `configure.in'; also, use the `configure.in' stub created by
88 ./defs, rather than writing it from scratch. Enable `errexit'
89 shell flag, and related changes. Add trailing `:' command.
90 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
92 * tests/pr307.test: Move setting of `errexit' shell flag earlier
93 in the script (just after inclusion of ./defs). Escape literal
94 dots in grep regular expressions. Also, add a trailing `:'
95 command, and cosmetic changes to spacing.
97 Tests for PR: add excerpts from original bug report, for clarity.
98 * tests/pr2.test: Ditto.
99 * tests/pr9.test: Likewise.
100 * tests/pr72.test: Likewise.
101 * tests/pr87.test: Likewise.
102 * tests/pr211.test: Likewise.
103 * tests/pr220.test: Likewise.
104 * tests/pr224.test: Likewise.
105 * tests/pr229.test: Likewise.
106 * tests/pr243.test: Likewise.
107 * tests/pr266.test: Likewise.
108 * tests/pr279.test: Likewise, and tell to keep it in sync
109 with its sister test.
110 * tests/pr279-2.test: Likewise.
112 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
114 Tweak, extend and improve tests `cond[a-z]*.test'.
115 * tests/condd.test: Add trailing `:' command. Typofix in
117 * tests/condhook.test: Make sure target `install-data-hook' is
118 not called by `make install', but that data files are installed.
119 Use proper m4 quoting in configure.in. Add trailing `:' command.
120 * tests/condhook2.test: New test, sister test of condhook, with
122 * tests/condinc2.test: Use proper m4 quoting in configure.in.
123 Prefer trailing `:' command over trailing `Exit 0'.
124 * tests/condman2.test: Enable errexit shell flag, and related
125 changes. Add trailing `:' command.
126 * tests/condman.test: Likewise. Also, do not create useless
127 dummy manpages, and use proper m4 quoting in configure.in.
128 * tests/condman3.test: New test, similar to condman.test, but
129 it also runs ./configure and "make install", and check the
131 * tests/Makefile.am (TESTS): Updated.
133 Modernize, improve and/or extend tests `colon*.test.
134 * tests/colon.test: Rely on the `configure.in' stub created by
135 `./defs', rather than writing one from scratch. Do not create
136 a useless dummy file. Add trailing `:' command.
137 * tests/colon4.test: Enable the `errexit' shell flag, and
138 related changes. Rely on the `configure.in' stub created by
139 `./defs', rather than writing one from scratch.
140 * tests/colon7.test: Enable `errexit' shell flag, and related
141 changes. Improve the generated `configure.in' file. Add
142 trailing `:' command.
143 * tests/colon2.test: Likewise. Also, add some new checks.
144 * tests/colon5.test: Improve the generated `configure.in' file.
145 Add new, much deeper checks. Add trailing `:' command.
146 * tests/colon6.test: Likewise.
147 * tests/colon3.test: Add trailing `:' command. Remove useless
148 comments and echos. Improve the generated `configure.in' file.
149 make some grepping tests stricter. Add a "FIXME" comments about
150 planned improvements.
152 Improve and extend tests `asm*.test'.
153 * tests/asm.test: Use configure.in stub generated by ./defs,
154 and avoid obsoleted autoconf constructs. Make grepping of
155 Automake stderr stricter. Do not create useless source file.
156 Improve verbose messages. Minor cosmetic changes. Tell to
157 keep it in sync with other sister tests asm*.test.
158 * tests/asm2.test: Likewise.
159 * tests/asm3.test: Likewise.
161 Modernize, improve and/or extend test scripts `conf*.test'.
162 * tests/confh5.test: Cosmetic changes.
163 * tests/conff.test: Likewise.
164 * tests/confdeps.test: Likewise.
165 * tests/conflnk.test: Likewise.
166 * tests/conflnk2.test: Likewise.
167 * tests/confsub.test: Likewise.
168 * tests/confvar.test: Likewise, and make grepping of Makefile.in
170 * tests/confvar2.test: Likewise.
171 * tests/conflnk3.test: Cosmetic changes, and re-enable a temporarly
172 disabled test (which didn't work with autoconf <= 2.59, but now we
173 are requiring autoconf 2.62, so...)
174 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
175 accordingly to "TODO" comments.
176 * tests/conff2.test: Make grepping of Automake's stderr stricter.
177 Add some comments explaining why we don't use the `configure.in'
178 stub preset be ./defs.
179 * tests/confh.test: Use the `configure.in' stub created by ./defs,
180 rather than writing one from scratch, and do not call AC_OUTPUT.
181 Enable `errexit' shell flag, and related changes. Prefer diff over
182 cmp to compare text files. Prefer perl over sed to fetch the value
183 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
184 of $(DIST_COMMON) stricter.
185 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
186 rather than writing one from scratch. Make grepping of Makefile.in
188 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
190 * tests/configure.test: Avoid obsolescent constructs in generated
191 `configure.ac'. Do not write `configure.in' two times. Escape
192 literal dots in grep regular expressions.
193 * tests/confincl.test: Enable `errexit' shell flag, and related
194 changes. Prefer fgrep over grep. Other cosmetic changes.
195 * tests/config.test: Renamed to ...
196 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
197 and make grepping of `config.h' and `config.h.in' stricter.
198 * tests/conf2.test: Renamed ...
199 * tests/confh7.test: ... to this. Use the `configure.in' stub
200 created by ./defs, rather than writing one from scratch. Try to
201 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
203 * tests/Makefile.am (TESTS): Updated.
205 Minor improvements and fixes in tests `depcomp*.test'.
206 * tests/depcomp.test: Do not create useless dummy source files.
207 Add a trailing `:' command.
208 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
209 it's not in in the environment, rather tthan exporting it with an
210 empty value. Do not pass CC=gcc to configure, as that's already
211 done in ./defs since we have gcc in $required. Ensure verbose
212 printing of captured stderr, and normalize its checking. Add a
213 trailing `:' command.
214 * tests/depcomp3.test: Quote literal dots and dollar characters in
215 grep regexps. Always use `: >' rather than `touch' to create empty
216 files. Explicitly declare phony targets as such in the created
217 Makefile.am. Add a trailing `:' command.
218 * tests/depcomp4.test: Quote literal dots and dollar characters in
219 grep regexp. Explicitly declare phony targets as such in the
220 created Makefile.am. Ensure verbose printing of captured makes'
221 stoud/stderr. Add a trailing `:' command.
222 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
223 in the script (just after inclusion of ./defs). Quote literal dots
224 and dollar characters in grep regexps. Explicitly declare phony
225 targets as such in the created Makefile.am. Add a trailing `:'
227 * tests/depcomp6.test: Consistenty use m4 quoting in the generated
228 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
229 statement required by OpenBSD's sh `set -e' more robust, and add
230 explanatory comments to it.
231 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
233 Separate failing part of test `all.test'.
234 * tests/all.test: Keep only (x)failing part of the test. Working
235 checks moved out to ...
236 * tests/all2.test: ... this new test.
237 * tests/Makefile.am (TESTS): Updated.
239 Modernize, improve and extend tests `subobj*.test'.
240 * tests/subobjname.test: Add trailing `:' command.
241 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
242 Escape literal dots in grep regexps.
243 * tests/subobj2.test: Add trailing `:' command. Do not use the
244 unportable fgrep option `-e'.
245 * tests/subobj3.test: Add trailing `:' command.
246 (configure.in): Use proper m4 quoting, and avoid obsolescent
248 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
249 flag, with related changes
250 * tests/subobj4.test: Likewise. Also, make grepping of
251 `Makefile.in' stricter.
252 * tests/subobj5.test: Add trailing `:' command. Move setting of
253 `errexit' shell flag earlier in the script (just after inclusion
255 (configure.in): Use the stub created by `./defs', rather than
256 writing it from scratch, and avoid obsolescent constructs.
257 * tests/subobj6.test: Add trailing `:' command. Move setting of
258 `errexit' shell flag earlier in the script (just after inclusion
259 of ./defs). Do not create useless dummy ac-init file `f'.
260 * tests/subobj7.test: Do not create useless dummy ac-init file
262 (configure.in): Use the stub created by `./defs', rather than
263 writing it from scratch, and avoid obsolescent constructs.
264 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
265 in the script (just after inclusion of ./defs). Fail the test if
266 `make distcheck' fails. Ensure verbose printing of captured make
267 stdout. Avoid uselsss fork by doing simple grep instead of using
268 test -n "`COMMAND | grep ...`".
269 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
270 (Makefile.am): Explicitly mark target "print" as phony.
271 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
272 trailing `:' command.
273 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
275 Remove a couple of obsoleted tests.
276 * tests/fpinstall.test: Removed.
277 * tests/fpinst2.test: Likewise.
278 * tests/Makefile.am (TESTS): Updated.
280 Bootstrap: updated HACKING entry.
281 * HACKING ("Working with git"): Explain how to override the
282 autoconf and autom4te programs used by the bootstrap process.
285 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
286 since we don't generate it. Correctly quote arguments of
287 `eval' builtin. Fixed a botched error message. Removed an
290 Bootstrap: don't search perl in $PATH.
291 * bootstrap: Do not explicitly search perl in $PATH anymore.
292 ($PATH_SEPARATOR): Removed, it's no more needed.
294 Bootstrap: let the user choose which autoconf to use.
295 * bootstrap ($AUTOCONF): New variable, from the environment.
296 ($AUTOM4TE): Likewise, for clarity.
297 Use "$AUTOCONF" instead of calling "autoconf" directly.
299 Minor improvements to tests ar*.test.
300 * tests/ar.test: Add trailing `:' command.
301 * tests/ar2.test: Likewise, and make grepping of generated
302 Makefile.in stricter.
304 2010-08-06 Peter Rosin <peda@lysator.liu.se>
306 Add new auxiliary 'ar-lib' script, wrapping Microsoft lib.
307 * lib/ar-lib: New auxiliary script.
308 * lib/Makefile.am: Add above.
309 * tests/ar-lib.test: New test.
310 * tests/Makefile.am: Add above.
311 * automake.in (@common_files): Distribute the 'ar-lib' script.
312 * doc/automake.texi (Auxiliary Programs): Mention the new
314 (Optional): Mention 'ar-lib' in AC_CONFIG_AUX_DIR.
317 2010-08-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
319 Fix shell pattern negation in compile script.
320 * lib/compile (func_file_conv): Use `!' not `^' for pattern
323 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
325 Fix maintainer-check failure.
326 * tests/cond5.test: Quote sleep argument, this isn't about
327 time stamp differences.
329 Sync auxiliary files from upstream.
330 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
333 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
335 Work around a nasty bug (segfault) of Solaris make.
336 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
337 from $list, to avoid triggering a nasty bug (potential segfault)
340 2010-08-06 Peter Rosin <peda@lysator.liu.se>
342 Make cond5.test more robust on MSYS.
343 * tests/cond5.test: Add delay before the first kill attempt to
344 cater for problems with MSYS bash.
346 2010-08-01 Peter Rosin <peda@lysator.liu.se>
348 Wrap some MSVC options in the compile script.
349 * lib/compile: MSVC supports naming the output file, the option
350 is just not called -o, so transform -o into the appropriate form
351 for MSVC. Also wrap some other options while at it (-L, -l, -Wl,
352 -Xlinker and -I) and convert file names to windows form where
353 needed for those options to make MSVC more usable in an
354 autotooled environment.
355 * doc/automake.texi (Auxiliary Programs): Document the above
356 extension of the compile script.
358 * tests/defs.in: New required entry 'cl'.
359 * tests/compile3.test: New test.
360 * tests/compile4.test: New test.
361 * tests/compile5.test: New test.
362 * tests/Makefile.am: Update.
364 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
366 Add example git work flow; discuss merge --log in HACKING.
368 Suggestion by Stefano Lattarini.
370 Add more hints for debugging make rules.
371 * doc/automake.texi (Debugging Make Rules): Show command to find
372 out expanded values of variables; point to makefile debugger.
374 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
376 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
378 Fix typo in the manual.
379 * doc/automake.texi (Scripts): Fix typo.
381 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
383 Document current policy for development with git.
384 * HACKING (Working with git): Overhaul.
385 Prompted by suggestion from Stefano Lattarini.
387 Fix AM_COND_IF for gone-invalid condition shell expression.
388 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
389 variable, rather than re-evaluating the shell expression for
391 * tests/cond40.test: Extend test.
394 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
395 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
396 to avoid shell syntax error if the m4 expansion is empty.
397 * tests/cond40.test: Enhance test.
399 Coverage: bogus option to AM_INIT_AUTOMAKE.
400 * tests/init2.test: New test.
401 * tests/Makefile.am: Update.
403 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
405 Modernize and improve test scripts `subdir*.test'.
406 * tests/subdir.test: Enable `errexit' shell flag, and related
407 changes. Use the `configure.in' stub created by `./defs',
408 rather than writing one from scratch.
409 * tests/subdir2.test: Likewise.
410 * tests/subdir4.test: Likewise.
411 * tests/subdir3.test: Enable `errexit' shell flag, and related
412 changes. Do not create useless dummy source files.
413 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
414 and in subdirs) stricter. Some minor changes to keep it more
415 in sync with the related test `subdir8.test'.
416 * tests/subdir8.test: Likewise (but with the related test being
417 `subdir5.test' here).
418 * tests/subdir6.test: Cosmetic change in spacing.
419 * tests/subdir9.test: Define and use new variable `$distdir'. Add
420 trailing `:' command.
421 * tests/subdir10.test: Cosmetic consistency-related change.
422 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
423 (configure.in): Use stub created by `./defs', rather than writing
424 it from scratch. Do not use obsoleted and/or deprecated forms of
425 autoconf/automake macros.
427 Modernize and improve test scripts `dist*.test'.
428 * tests/distcleancheck.test: Do not add useless `-e' option to
429 a $MAKE call. Extend test by grepping stderr of make.
430 * tests/distcom2.test: Do not run the same test script on the
431 Makefile.in twice, but save its output in an intermediate file
432 instead. Make grepping of DIST_COMMON definition stricter.
433 Display the content of more files, to ease debugging. Add a
434 trailing `:' command. Improved heading comments w.r.t. sister
436 * tests/distcom6.test: Likewise, and avoid to uselessly run
438 * tests/distcom3.test: Ensure verbose printing of captured stdout
439 and stderr. Make grepping of captured stderr stricter. Also,
440 add trailing `:' command.
441 * tests/distcom4.test: Declare the target `test' in the generated
442 Makefile.am as `.PHONY'. Display content of more files, to ease
443 debugging. Add trailing `:' command.
444 * tests/distcom5.test: Likewise. Also, factor out common sed
445 script in subroutine `extract_distcommon'.
446 * tests/distcom7.test: Prefer cat + here-doc over echo to write
447 test Makefile.am files. Add a trailing `:' command.
448 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
449 call to `set -e' earlier. Be stricter and more verbose in the
450 checking of the generated tarball.
451 (configure.in): Use the stub provided by ./defs, instead of
452 writing it from scratch. Avoid obsoleted constructs. Remove
453 useless call to `AM_PROG_CC_C_O'.
454 * tests/distdir.test: Various minor improvements/normalizations.
455 * tests/distlinks.test: Likewise.
457 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
459 Improve and extend test cond5.test.
460 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
461 the background automake process, but poll it every 10 seconds for
462 at most 30 times (this makes the test both faster on good machines,
463 and more resilient to spurious timeout-due failures when in low
464 priority or on heavily-loaded systems).
465 Check also that automake writes the expected error messages on the
467 Enable `errexit' flag, and related changes.
468 Rely on the `configure.in' stub created by `./defs', rather than
469 writing one from scratch.
471 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
473 Update program --help output to match current GCS.
474 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
475 is not defined, for compatibility to Autoconf < 2.64.
476 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
478 (sc_diff_automake_in_automake): Update number of diff lines for
479 additional substitutions.
480 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
481 home page and GNU general help page.
482 * automake.in (usage): Likewise.
483 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
485 (Introduction, Creating amhello, amhello Explained, Options):
487 * lib/Automake/Makefile.am (do_subst): Substitute
489 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
490 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
493 Clean up @var handling in the manual.
494 * doc/automake.texi: Throughout the manual, lower-case @var
495 names, replace a few one-character names.
497 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
499 Fix typo-related bug in test script silent5.test.
500 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
503 Tests: remove useless repetitions of `foreign' automake option.
504 * tests/multlib.test (configure.in): Remove useless use of
505 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
506 already in $AUTOMAKE by default, so no point in repeating it).
507 * tests/subobj10.test: Likewise.
508 * tests/subobj9.test: Likewise.
509 * tests/lex3.test (Makefile.am): Similarly, remove useless use
510 of `foreign' option in AUTOMAKE_OPTIONS.
511 * tests/lex5.test: Likewise.
512 * tests/pr279.test: Likewise.
513 * tests/pr279-2.test: Likewise.
514 * tests/specflg3.test: Likewise.
515 * tests/target-cflags.test: Likewise.
517 Drop useless requirement "gzip" in lex5.test.
518 * tests/lex5.test ($required): Do not list "gzip", as it's
521 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
523 Fix bugs in test script silent5.test.
524 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
525 instead of egrep) that could have led to false negatives.
527 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
529 Add a test checking that distributed broken symlinks cause
531 * tests/distlinksbrk.test: New test.
532 * tests/Makefile.am (TESTS): Updated.
534 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
536 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
537 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
538 and AM_LFLAGS, LFLAGS in the order in which they now appear in
541 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
542 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
543 please maintainer-check. Ensure generated C files contain a
544 declaration, to please compilers.
546 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
548 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
550 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
551 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
552 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
553 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
556 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
557 $(AM_FLAGS) and $(FLAGS) precedence.
558 * tests/lflags.test: New test, check that user $(LFLAGS) takes
559 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
561 * tests/lflags2.test: Likewise.
562 * tests/yflags.test: New test, check that user $(YFLAGS) takes
563 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
565 * tests/yflags2.test: Likewise.
566 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
568 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
570 Modernize, improve and extend tests `suffix*.test'.
571 * tests/suffix3.test: Enable `errexit' shell flag, and related
573 * tests/suffix4.test: Likewise.
574 * tests/suffix6.test: Likewise, and do not create a useless dummy
576 * tests/suffix7.test: Likewise.
577 * tests/suffix5.test: Enable `errexit' shell flag, and related
578 changes. Make grepping of Makefile.in slighty stricter.
579 * tests/suffix.test: Enable `errexit' shell flag, and related
580 changes. Also, do not redirect grep output to /dev/null, as this
581 might unmotivatedly hide useful information.
582 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
583 in the script (just after inclusion of ./defs). Use a more
584 idiomatic way to count text occurrences in Makefile.in with
585 grep. Do not create useless dummy source files.
586 * tests/suffix10.test: Ensure verbose printing of captured make
587 stdout. Minor cosmetic changes.
588 * tests/suffix8.test: Likewise. Also, drop useless call to the
589 env(1) utility, and make grepping of make output stricter by using
590 $FGREP rather than plain grep.
591 * tests/suffix11.test: Likewise.
592 * tests/suffix12.test: Likewise.
593 * tests/suffix9.test: Prefet cat + here-doc over echo to append to
594 the `configure.in' stub. Cosmetic changes.
595 * tests/suffix13.test: Cosmetic spacing change.
597 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
599 Add useful comment in test script ext.test.
600 * tests/ext.test: Add a comment explaining why an apparently
601 useless `if' statement is indeed required.
603 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
605 Add useful comment in test script obsolete.test.
606 * tests/obsolte.test: Add a comment explaining why we need
607 an indirection in adding $AUTOUPDATE to $required.
609 Normalize whitespaces in 'tests/Makefile.am'.
610 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
611 definition of this variable.
613 Parallel tests generation: improve comments (tiny change).
614 * tests/Makefile.am ($(parallel_tests)): Added useful comment to
617 Tests defs: truly get rid of `$am_defs_included' (unused variable)
618 * tests/defs.in ($am_defs_included): Remove, its now unused. It
619 should have been removed in a previous changeset, but the removal
620 was done only partially (oversight).
622 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
624 Remove a couple of unneeded conditionals from tests.
625 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
626 for the FOOTEST conditional.
628 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
630 Modernize, improve and/or fix various test scripts.
631 * tests/symlink3.test: Deleted, separated into two new, more
633 * tests/forcemiss.test: ... this one ...
634 * tests/forcemiss2.test: ... and this one.
635 * tests/symlink2.test: Enable `errexit' shell flag, make test
636 stricter, and skip it if symlink creation is not supported.
637 * tests/postproc.test: Enable `errexit' shell flag, related
638 changes, and a couple of unrelated cosmetic changes.
639 * tests/recurs.test: Use the `configure.in' stub created by
640 `./defs', rather than writing one from scratch. Make grepping
641 of Automake stderr slighty stricter.
642 * tests/substtarg.test: Likewise.
643 * tests/strip.test: Likewise, and move the call to `set -e'
644 earlier (just after the inclusion of `./defs'). Also, make sure
645 that the script installed by `make install-script' is equal to
647 * tests/substref.test: Use the `configure.in' stub created by
648 `./defs', rather than writing one from scratch. Move the call
649 to `set -e' earlier (just after the inclusion of `./defs').
650 Avoid to explicitly export CC for configure (that's already done
651 in ./defs). Avoid potential problems with unpredictable make
652 output. Finally, make grepping of Makefile.in stricter.
653 * tests/substre2.test: Ensure verbose printing of the captured
654 make's output, and make its grepping slighty stricter.
655 * tests/cygwin32.test: Enable `errexit' shell flag, and related
656 changes. Also, do not create useless dummy source/data files.
657 * tests/scripts.test: Likewise.
658 * tests/recurs2.test: Likewise. Also, use the `configure.in'
659 stub created by `./defs'.
660 * tests/Makefile.am (TESTS): Updated.
662 Modernize, improve and/or fix tests `pluseq*.test.
663 * tests/pluseq5.test: Append to configure.in using cat with an
664 here-doc, not using echo.
665 * tests/pluseq10.test: Make sure that the captured output of
666 `make' command is always displayed. Where possible, use $FGREP
667 instead of grep (this change makes some checks slighty stricter).
668 * tests/pluseq8.test: Enable `errexit' shell flag, with related
670 * tests/pluseq.test: Likewise. Also, do not create useless dummy
671 data files, and use better m4 quoting in generated configure.in.
672 * tests/pluseq2.test: Likewise. Also, append to configure.in
673 using cat with an here-doc, not using echo.
674 * tests/pluseq3.test: Likewise.
675 * tests/pluseq4.test: Likewise.
676 * tests/pluseq6.test: Likewise.
677 * tests/pluseq7.test: Do not create useless dummy source file.
678 * tests/pluseq9.test: Slighty extended w.r.t. the grepping of
679 Automake stderr. Some unrelated cosmetic changes.
681 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
683 cscope.test: ensure verbose printing of captured stderr.
684 * tests/cscope.test: Print captured stderr before failing.
686 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
688 Testsuite: ensure verbose printing of captured stderr.
689 * tests/acloca18.test: Print captured stderr before either failing
690 or grepping it. Be sure to send captured stderr to stderr, not to
692 * tests/ansi3b.test: Likewise.
693 * tests/cond39.test: Likewise.
694 * tests/configure.test: Likewise.
695 * tests/missing3.test: Likewise.
696 * tests/missing6.test: Likewise.
697 * tests/output-order.test: Likewise.
698 * tests/pr300-ltlib.test: Likewise.
699 * tests/python6.test: Likewise.
700 * tests/python7.test: Likewise.
701 * tests/python8.test: Likewise.
702 * tests/python9.test: Likewise.
703 * tests/subobj.test: Likewise.
704 * tests/vars3.test: Likewise.
705 * tests/missing4.test: Likewise, and fix a call to grep not to use
707 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
708 created by `./defs', rather than writing one from scratch.
710 Enable `errexit' shell flag in various tests.
711 * tests/backsl.test: Enable the `errexit' shell flag, and
713 * tests/backsl2.test: Likewise.
714 * tests/block.test: Likewise.
715 * tests/canon2.test: Likewise.
716 * tests/canon4.test: Likewise.
717 * tests/comment2.test: Likewise.
718 * tests/condlib.test: Likewise.
719 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
720 * tests/canon3.test: Likewise. Also, avoid to create an useless
722 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
723 related changes. Do some cosmetic improvements in the generated
725 * tests/cond4.test: Likewise.
726 * tests/cond14.test: Likewise.
727 * tests/condinc.test: Likewise.
728 * tests/cond7.test: Likewise. Also, remove useless setting of
729 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
730 * tests/ansi.test: Enable the `errexit' shell flag, and related
731 changes. Extended, esp. by running autoconf, ./configure and
732 make, and by looking into the distdir.
734 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
735 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
737 Extend tests/README w.r.t. trailing `:' in test scripts.
738 * tests/README (section "Writing test cases" subsection "Do"):
739 Explain why apparently redundant trailing `:' and `Exit 0' in
740 test scripts can indeed be useful.
742 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
744 Improve determination of PATH separator in bootstrap script.
745 * bootstrap: Detemine what the PATH separator is the same way
748 Minor improvements in bootstrap script.
749 * bootstrap: Consistently use two-spaces indentation. Cosmetic
750 improvement to comments.
751 ($me): New variable, containing program basename.
752 Prepend it to all error messages.
754 Testsuite now works with BSD make in parallel mode.
755 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
756 which are exported by BSD make when run in parallel mode, and
757 which can confuse make processes spawned by our testsuite.
758 This change fixes a lot of spurious failure when the testsuite
759 is run with BSD make in parallel mode.
761 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
763 Modernize, improve and/or fix various test scripts.
764 * tests/sanity.test: Rely on the `configure.in' stub created by
765 `./defs', rather than writing one from scratch.
766 * tests/depend2.test: Likewise. Also, call `set -e' just after
767 the inclusion of `./defs', instead that later in the script.
768 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
769 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
770 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
771 Make auxiliary rules in the generated Makefile more silent.
772 These changes make some checks slighty stricter.
773 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
774 * tests/gettext2.test: Place final `:' at the end of the script,
775 rather than in the middle.
776 * tests/exeext.test: Call `set -e' just after the inclusion of
777 `./defs', instead that later in the script.
778 * tests/extra5.test: Likewise.
779 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
780 plain `mv', just to be sure.
781 * tests/depcomp.test: Enable `errexit' shell flag, with related
782 changes. Also, modernize the generated configure.in.
783 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
784 stub created by `./defs', rather than writing one from scratch.
785 * tests/cond10.test: Likewise.
786 * tests/depcomp2.test: Likewise.
787 * tests/depend3.test: Likewise.
788 * tests/distcom7.test: Likewise.
789 * tests/fortdep.test: Likewise. Also, remove definition of
790 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
791 since that flag is already provided by $AUTOMAKE.
792 * tests/mdate.test: Made stricter, by checking that Automake
793 actually failed, and by making a stricter grep on the error
794 message. Also, set shell `errexit flag'.
795 * tests/python2.test: Improved verbose messages.
797 Make test `ammissing.test' stricter.
798 * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
799 Enable `errexit' shell flag.
801 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
802 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
804 Fix error in generation of parallel tests.
805 * tests/defs.in ($am_skip_defs): New variable, to be used when
806 ./defs must be sourced multiple times. If set, unset it and
807 only define $srcdir; otherwise, also go through the rest of
809 ($am_defs_included): Remove, no more needed.
810 * tests/Makefile.am ($(parallel_tests)): Update accordingly,
811 using only $srcdir from defs.
812 Fixes potential test failures of tests that use $required.
814 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
816 Enable `errexit' shell flag in some test scripts.
817 * tests/subcond.test: Enabled `errexit' shell flag, and related
819 * tests/subst.test: Likewise.
820 * tests/vars.test: Likewise.
821 * tests/version4.test: Likewise.
822 * tests/vpath.test: Likewise.
823 * tests/vtexi2.test: Likewise.
824 * tests/werror.test: Likewise.
825 * tests/whoami.test: Likewise.
826 * tests/tags.test: Likewise, and avoid to crate an useless dummy
828 * tests/acsilent.test: Likewise, and don't use an easily-avoided
829 command substitution.
830 * tests/unused.test: Likewise, and don't use an easily-avoided
831 command substitution.
832 * tests/version.test: Likewise, and avoid deprecated constructs
833 in the generated `configure.in'.
834 * tests/version2.test: Likewise, and avoid deprecated constructs
835 in the generated `configure.in'.
837 2010-06-07 Stefano Lattarini <stefano.lattarini@gmail.com>
838 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
840 Improve declaration of dependencies in the testsuite.
841 * tests/Makefile.am (check_SCRIPTS): Remove. Instead, let ...
842 ($(TEST_LOGS)): ... all test logs depend on the scripts.
843 * test/gen-parallel-tests: For each parallel test foo-p.test,
844 let `foo-p.log' also depend on `foo.test', since it is sourced.
846 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
848 Coverage for TAGS_DEPENDENCIES warning.
849 * tests/tags2.test: New test.
850 * tests/Makefile.am: Update.
852 Coverage for use of anachronistic variables.
853 * tests/oldvars.test: New test.
854 * tests/Makefile.am: Update.
856 Testsuite coverage for bogus macro file serial numbers.
857 * tests/acloca18.test: Also test ill-formed serial numbers
858 and serial numbers after macro definitions.
860 Coverage for aclocal diagnosing underquoted macros.
861 * tests/acloca23.test: New test.
862 * tests/Makefile.am: Update.
864 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
866 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
867 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
868 the verbose log contains all output.
869 * tests/mdate.test: Likewise.
870 Prompted by Stefano Lattarini's change to discover.test.
872 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
874 More minor message fixes.
875 * aclocal.in (scan_file): Fix recommended info command line.
876 * automake.in (handle_lib_objects): No need to prepend function
877 name to prog_error message.
878 (handle_tags): Add missing word and missing space in error
880 (handle_dist): Add missing closing single quote in message.
881 Line-wrap one long message for readability.
883 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
884 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
886 Fix distcheck failure with distributed generated parallel tests.
887 * tests/Makefile.am ($(parallel_tests)): Cope with $(srcdir)
888 being different from the value at developer `make dist' time.
889 * tests/defs.in: Protect against mutiple inclusion, by using ...
890 ($am_defs_included): ... this new variable.
891 ($srcdir): Do not compute, but simply define to `@abs_srcdir@'
892 as substituted by configure.
893 Report, suggestions and first fix by Ralf Wildenhues, final
894 patch by Stefano Lattarini.
896 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
898 Improve tests link*.test (enable `errexit' shell flag).
899 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
900 changes. Also, do not create useless source files.
901 * tests/link_dist.test: Likewise.
902 * tests/link_f90_only.test: Likewise.
903 * tests/link_f_only.test: Likewise.
904 * tests/link_fc.test: Likewise.
905 * tests/link_fccxx.test: Likewise.
906 * tests/link_fcxx.test: Likewise.
908 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
910 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
911 * tests/ext.test: Inside shell compound command, use
912 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
913 fix failure with OpenBSD sh introduced with last patch.
914 Actually ensure that a rule for .EXT.o is created for each
917 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
919 Enable `errexit' shell flag in some test scripts.
920 * tests/dash.test: Enable `errexit' shell flag, and related
922 * tests/defun.test: Likewise.
923 * tests/defun2.test: Likewise.
924 * tests/dejagnu.test: Likewise.
925 * tests/double.test: Likewise.
926 * tests/distcom2.test: Likewise.
927 * tests/empty2.test: Likewise.
928 * tests/empty3.test: Likewise.
929 * tests/empty4.test: Likewise.
930 * tests/exdir.test: Likewise.
931 * tests/ext.test: Likewise.
932 * tests/extra.test: Likewise.
933 * tests/extra2.test: Likewise.
934 * tests/extra3.test: Likewise.
935 * tests/extra4.test: Likewise.
936 * tests/flibs.test: Likewise.
937 * tests/fnoc.test: Likewise.
938 * tests/fo.test: Likewise.
939 * tests/instexec.test: Likewise.
940 * tests/ltdeps.test: Likewise.
941 * tests/nodep.test: Likewise.
942 * tests/nodepcomp.test: Likewise.
943 * tests/f90only.test: Likewise, and remove botched/obsoleted
944 comments and unecessary commands.
945 * tests/fonly.test: Likewise, and remove botched/obsoleted
946 comments and unecessary commands.
947 * tests/discover.test: Likewise, and made stricter.
949 Enable `errexit' shell flag in all tests cxx*.test.
950 * tests/cxx.test: Enabled `errexit' shell flag, and related
952 * tests/cxxansi.test: Likewise.
953 * tests/cxxcpp.test: Likewise.
954 * tests/cxxlibobj.test: Likewise.
955 * tests/cxxlink.test: Likewise.
956 * tests/cxxo.test: Likewise.
958 Enable `errexit' shell flag in various tests.
959 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
961 * tests/acoutpt.test: Likewise.
962 * tests/acoutqnl.test: Likewise.
963 * tests/amassign.test: Likewise.
964 * tests/ansi2.test: Likewise.
965 * tests/ansi4.test: Likewise.
966 * tests/badprog.test: Likewise.
967 * tests/checkall.test: Likewise.
968 * tests/clean.test: Likewise.
969 * tests/colneq2.test: Likewise.
970 * tests/colon.test: Likewise.
971 * tests/colon5.test: Likewise.
972 * tests/colon6.test: Likewise.
973 * tests/comment.test: Likewise.
974 * tests/compile_f90_c_cxx.test: Likewise.
975 * tests/compile_f_c_cxx.test: Likewise.
976 * tests/cond3.test: Likewise.
977 * tests/cond6.test: Likewise.
978 * tests/cond13.test: Likewise.
979 * tests/conf2.test: Likewise.
980 * tests/confvar.test: Likewise.
981 * tests/confvar2.test: Likewise.
982 * tests/cond8.test: Likewise, plus a cosmetic change.
983 * tests/confh4.test: Likewise. Also, add in the heading comments
984 an excerpt from the original bug report which motivated the
985 creation of this test, to make its purpose clearer.
987 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
989 Rewrite manual to be gender-neutral.
990 * doc/automake.texi (GNU Build System)
991 (Standard Directory Variables, General Operation, CVS)
992 (Hard-Coded Install Paths, Dependencies As Side Effects):
993 Rewrite text to not contain gender-specific pronouns when
994 speaking about developers or users, either by avoiding pronouns
995 or by addressing them as `you' instead.
997 Report by Christina Gratorp.
1001 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1003 Tiny fix in silent8.test (display output of `make' command).
1004 * tests/silent8.test: Make sure that the captured output of `make'
1005 command is always displayed.
1007 Make tests on user extensibility of silent-rules mode stricter.
1008 * tests/silent6.test: Made stricter w.r.t. the grepping of the
1009 output produced by `make'.
1010 * tests/silent7.test: Likewise.
1012 Tests on silent-mode for C/Libtool made stricter.
1013 * tests/silent.test: Made stricter w.r.t. the grepping of the
1014 output produced by `make'.
1015 * tests/silent2.test: Likewise.
1016 * tests/silent4.test: Likewise.
1017 * tests/silent9.test: Likewise.
1018 * tests/silent3.test: Likewise, and add a final `make distclean'
1019 command to keep it better in sync with tests/silent{4,9}.test.
1021 Improved test silent5.test.
1022 * tests/silent5.test: Remove by hand all generated C files after
1023 non-verbose builds, to ensure the following builds are clean.
1024 Try to clean and rebuild with the same verbosity and without
1025 removing generated sources in between, to check that this does
1026 not trigger a different set of rules. Make grepping of make's
1027 output stricter. Improved/added some comments.
1029 New tests for Automake silent-mode with Fortran.
1030 * tests/silentf77.test: New test.
1031 * tests/silentf90.test: Likewise.
1032 * tests/Makefile.am (TESTS): Updated accordingly.
1034 New test `silentcxx.test' (Automake silent-mode with C++).
1035 * tests/silentcxx.test: New test.
1036 * tests/Makefile.am (TESTS): Updated accordingly.
1038 New test `silentyacc.test' (Automake silent-mode with Yacc).
1039 * tests/silentyacc.test: New test.
1040 * tests/Makefile.am (TESTS): Updated accordingly.
1042 New test `silentlex.test' (Automake silent-mode with Lex).
1043 * tests/silentlex.test: New test.
1044 * tests/Makefile.am (TESTS): Updated accordingly.
1046 Relax tests on silent-rules to cater to overly verbose makes.
1047 * tests/silent.test: When testing silent builds, don't fail if
1048 make's output simply contains the `mv' substring, but only if
1049 it contains the `mv ' substring (note the trailing space).
1050 * tests/silent2.test: Likewise.
1051 * tests/silent3.test: Likewise.
1052 * tests/silent4.test: Likewise.
1053 * tests/silent5.test: Likewise.
1054 * tests/silent9.test: Likewise.
1056 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1058 Extend test on `nostdinc' automake option.
1059 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
1060 unrelated minor changes. Make the grepping of the generated
1061 Makefile.in slighty stricter. Generate and run configure, so that
1062 the generated Makefile can be grepped too.
1064 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1066 Make gnupload portable to EBCDIC hosts.
1067 * lib/gnupload: Use literal newline as argument for 'tr' rather
1068 than \015, for EBCDIC hosts. Also, avoid unportable nested
1069 double-quotes and backquotes.
1071 Report from Eric Blake and Steve Goetze via gnulib.
1073 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1075 Fix Autoconf version required by Automake's configure.
1076 Automake configure script used to tell that automake required
1077 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1078 and if that was not found, it gave an error saying that Automake
1079 required configure 2.61a-341 or later. This change should
1080 eliminate such inconsistencies.
1081 * configure.ac ($required_autoconf_version): New variable.
1084 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1086 Fix truncated comment in Makefile.am.
1087 * Makefile.am (sc_tests_logs_duplicate_prefixes): Fix unfinished
1088 sentence in comment.
1089 Report by Stefano Lattarini.
1091 Relax silent8.test for NetBSD make.
1092 * tests/silent8.test: Accept ./foo.info in output as well.
1094 Fix unportable sed script in maintainer-check test.
1095 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1096 not contain semicolon after 'b' or brace commands, for NetBSD.
1098 Wildcards are not portable to NetBSD make.
1099 * doc/automake.texi (Wildcards): Document portability issue.
1100 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1103 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1105 Make test for configure.in vs. configure.ac stricter.
1106 * tests/configure.test: Use a configure.in file that provokes
1107 an automake error, to ensure configure.ac is preferred.
1109 Avoid possible false negatives in dejagnu7.test.
1110 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
1111 unportable use of fgrep option `-e'.
1113 Fix conflnk3.test to work with Solaris/Heirloom Sh.
1114 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1115 instead of respectively `test -e FILE' and `test ! -e FILE',
1116 since Solaris Sh doesn't grok the latter. Do not SKIP the test
1117 if the shell doesn't support `test -e'.
1119 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1121 Warning and error message formatting cleanups.
1122 * aclocal.in (parse_arguments, main): Remove trailing period or
1123 newline in error or warning messages, avoid capitalization of
1124 the first word of a message.
1125 * automake.in (check_user_variables, handle_languages)
1126 (handle_ltlibraries, scan_aclocal_m4, scan_autoconf_config_files)
1127 (scan_autoconf_files, cond_stack_if, require_file_internal)
1128 (usage, generate_makefile, parse_arguments): Likewise.
1129 * lib/Automake/ChannelDefs.pm (set_strictness): Likewise.
1130 * lib/Automake/Configure_ac.pm (find_configure_ac): Likewise.
1131 * lib/Automake/Options.pm (set_strictness): Likewise.
1132 * lib/Automake/Rule.pm (define): Likewise.
1133 * lib/Automake/Variable.pm (define, variables_dump): Likewise.
1134 * tests/ltinstloc.test, tests/suffix11.test: Adjust expected
1136 * lib/Automake/Channels.pm (setup_channel): Reword error message
1137 to be the same as in msg.
1139 Fix placing of ellipses in English text and synopses.
1140 * Makefile.am: Be sure to add a space before `...' in natural
1142 * automake.in (scan_autoconf_traces): Likewise.
1143 * lib/Automake/Rule.pm (define): Likewise.
1144 * lib/Automake/Variable.pm (define): Likewise.
1145 * lib/am/dejagnu.am: Likewise.
1146 * lib/am/progs.am: Likewise.
1147 * lib/gnupload (dprint, upload): Likewise.
1148 * tests/confdeps.test: Likewise.
1149 * tests/location.test: Adjust expected output.
1150 * automake.in (usage): In synopsis, use singular for OPTION,
1151 * remove space before ellipsis.
1152 * aclocal.in (usage): Likewise. Also, fix indentation.
1154 Fix more duplicate message prefixes.
1155 * lib/Automake/XFile.pm (seek): Do not prepend $me.
1156 ($me): Remove now-unused package-global.
1157 * aclocal.in (check_acinclude): Remove duplicate 'warning: '
1161 * doc/automake.texi (Simple Tests using parallel-tests): Add
1162 missing closing parenthesis.
1164 Fix leftover call to removed function macros_dump.
1165 * automake.in (read_main_am_file): Call variables_dump, not
1166 macros_dump. Print actual error before list of variables.
1168 2010-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1170 Minor improvements in comments of test `silent3.test'.
1171 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1174 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1176 testsuite: ensure verbose printing of captured output.
1177 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1178 tests/fort2.test, tests/help.test, tests/missing3.test,
1179 tests/missing6.test: Print captured stdout or stderr before
1182 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1184 Make test badopt.test stricter (by enabling `set -e').
1185 * tests/badopt.test: Add call to `set -e'. Due to this change,
1186 an unexpected failure in the call to `$ACLOCAL' (whose outcome
1187 was previously unchecked) would cause the whole test to fail.
1188 Also, bumped the copyright years.
1190 Make test for configure.in vs. configure.ac stricter.
1191 * tests/configure.test: Use a configure.in file that provokes
1192 an automake error, to ensure configure.ac is preferred.
1194 Use `set -e' in confsub.test (avoids possible false negatives).
1195 * tests/confsub.test: Enable shell `errexit' flag, and related
1196 changes (this helps avoiding some possible minor false negatives).
1197 Also, bumped copyright years.
1199 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1201 Fix -Werror handling for presence of configure.in and configure.ac.
1202 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1203 $configure_ac at the global level, before command-line arguments
1205 (require_variables): Initialize it here.
1206 * tests/configure.test: New test.
1207 * tests/Makefile.am: Update.
1208 Report by Stefano Lattarini.
1210 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1212 Avoid possible false negatives in confh5.test.
1213 * tests/confh5.test: Enable shell `errexit' flag, and bumped
1214 copyright years. Due to this change, any unexpected failure
1215 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1216 a failure in grepping expected text in output files should now
1217 cause the whole test to fail.
1219 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1221 Fixed typo in POD documentation of Automake::Channels.
1222 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1223 @<...> was used instead of C<...>.
1225 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1227 Refactor tests on Automake TESTS color output.
1228 * tests/color.test: Tests using the expect program moved out to...
1229 * tests/color2.test: ... this new file.
1230 * tests/Makefile.am (TESTS): Extended accordingly.
1232 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1234 Fix typos in comments in test confh5.test
1235 * tests/confh5.test: Fix a couple of typos in comments.
1237 Avoid possible false negatives in canon-name.test.
1238 * tests/canon-name.test: Enable shell `errexit' flag. Improve
1241 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1243 Print 'warnings are treated as errors' note if needed.
1244 * lib/Automake/Channels.pm: Fix typo in comment.
1245 (_print_message): If -Werror is enabled, print a 'warnings are
1246 treated as errors' note before the first such warning.
1247 * tests/warnopts.test: Adjust comment to mention expected warning.
1248 Adjust code to ignore 'warnings are treated as errors' note.
1249 * tests/location.test: Adjust expected output with -Werror.
1250 * tests/werror4.test: New test.
1251 * tests/Makefile.am: Update.
1254 Ensure we don't print 'warning:' or 'error:' twice.
1255 * Makefile.am (sc_ensure_testsuite_has_run): New helper rule.
1256 (sc_tests_logs_duplicate_prefixes): New rule, to check for
1257 wrong-looking warning and error messages in the test suite logs.
1258 * aclocal.in (scan_configure_dep, scan_file): Remove duplicate
1260 * tests/vars3.test: Rename variable to avoid false positive.
1262 Prepend type to warning, error, and fatal messages.
1263 For the first part of messages of types `error' or `fatal',
1264 prepend `error: ' to the message. Prepend `warning: ' to
1265 warning messages, whatever the setting of -Werror.
1266 * lib/Automake/Channels.pm (partial): Move up definition.
1267 (_format_message): Emit `header' and `footer' strings only with
1268 the first resp. last part of a set of partial messages.
1269 * lib/Automake/ChannelDefs.pm: Add missing '1;' statement at the
1271 (Automake::ChannelDefs): Setup warning channels with header
1272 `warning: ', error and fatal messages with header `error: '.
1273 * tests/condinc2.test, tests/ltinstloc.test: Adjust expected
1275 * tests/comment5.test: Likewise. Also, include stack notes
1276 should not start with `error:'.
1277 * tests/location.test: Likewise. Also, try both -Werror and
1280 Report by Bruno Haible.
1282 Fix capitalization of error messages, reword one message.
1283 * lib/Automake/Variable.pm (define): Do not capitalize the first
1284 word in the error message.
1285 * automake.in (require_file_internal): Likewise. Also, reword
1286 and line-wrap for better readability.
1287 * tests/distcom7.test, tests/pluseq5.test, tests/pluseq9.test:
1290 Fix connected warnings about obsolete exeext override.
1291 * lib/Automake/Rule.pm (define): Merge two warnings that belong
1292 together, by setting the 'partial' flag for the first one.
1294 Fix per-Makefile.am setting of -Werror.
1295 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1296 Makefile.am would carry over to other Makefile.am files
1297 treated afterwards by the same thread, causing inconsistent
1298 and unstable exit status values.
1299 * lib/Automake/Channels.pm (dup_channel_setup)
1300 (drop_channel_setup): Save and restore the setting of
1301 $warnings_are_errors.
1302 * tests/werror3.test: New test.
1303 * tests/Makefile.am: Adjust.
1306 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1308 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1309 * tests/confh5.test: In the generated Makefile.am: do not use
1310 `test ! -e FILE' to check for the non-existence of a file, since
1311 that is not supported by Solaris/Heirloom Sh.
1313 Make test `aclocal3.test' stricter.
1314 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
1315 succeds unexpectedly.
1317 Add tests checking that symlinks are resolved by `make dist'.
1318 * tests/distlinks.test: New test.
1319 * tests/Makefile.am (TESTS): Updated accordingly.
1320 Suggested by observations from Ralf Wildenhues.
1322 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1324 Use -9 for maximum xz compression with dist-xz.
1325 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1326 * NEWS, THANKS: Update.
1327 Report by Pavel Sanda.
1329 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1331 Avoid possible false negatives in cond46.test.
1332 * tests/cond46.test: Enable shell `errexit' flag (and bumped
1333 copyright years). Due to this change, the testcase should now
1334 fail on unexpected failures in calls to $ACLOCAL/$AUTOMAKE (whose
1335 outcomes were previously unchecked), and on failures in grepping
1336 the expected diagnostic in Automake stderr.
1338 2010-04-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1340 Generated tests are now just a thin layer around other tests.
1341 * tests/Makefile.am: Rewrite the rule to generate the `*-p.test'
1342 test scripts so that any of them simply includes the corresponding
1343 `*.test' script (after setting `$parallel_tests' to `yes').
1344 * tests/.gitignore: Add wildcard for temporary files used in the
1345 generation of `*-p.test' tests.
1347 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
1349 Avoid an unportable use of `$status' shell variable.
1350 * Makefile.am (path-check): Don't use the `$status' shell variable
1351 in the target's rules, as it's special in Zsh (equivalent to `$?',
1354 Avoid another use of `chmod -R'.
1355 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1356 $(distdir) before removing it (as Solaris `chmod -R' touches
1357 symlink targets). Instead, use the cleanup strategy used in
1360 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1362 Remove uses of @acronym and @sc.
1363 * doc/automake.texi (Public Macros, Limitations on File Names):
1364 Remove all usage of @acronym and @sc in the manual.
1365 Suggested by Karl Berry.
1367 2010-03-13 Karl Berry <karl@freefriends.org>
1369 GNU hello uses fdl.texi, not gpl.texi.
1370 * doc/automake.texi (Texinfo): Adjust example to upstream
1373 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1375 Formatting cleanups in macro comments.
1376 * automake.in, lib/Automake/Channels.pm,
1377 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1378 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1379 m4/options.m4, m4/substnot.m4: Fix macro comment format.
1381 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1382 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1384 Avoid generation of `tests/defs-p' file.
1385 * tests/defs.in: In the generated `configure.in' snippet: call
1386 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1387 variable `parallel_tests' is set to `yes'.
1388 * tests/Makefile.am (defs-p): Target removed.
1389 (check_SCRIPTS): Removed `defs-p'.
1390 (clean-local-check): Do not unlink `defs-p' anymore.
1391 ($(parallel_tests)): Transformation rules for the test scripts
1393 * tests/gen-parallel-tests: Selection rules for the test
1395 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1396 then include `./defs' (rather than simply including `./defs-p').
1397 * tests/parallel-tests2.test: Likewise.
1398 * tests/parallel-tests3.test: Likewise.
1399 * tests/parallel-tests4.test: Likewise.
1400 * tests/parallel-tests5.test: Likewise.
1401 * tests/parallel-tests6.test: Likewise.
1402 * tests/parallel-tests7.test: Likewise.
1403 * tests/parallel-tests8.test: Likewise.
1404 * tests/parallel-tests9.test: Likewise.
1405 * tests/parallel-tests10.test: Likewise.
1406 * tests/README (Section "Writing Test Cases" subsection "Do"):
1407 Adjusted the parts referring to tests checking `parallel-tests'
1408 behaviour. Some other minor related improvements.
1409 * tests/.gitignore (defs-p): Removed.
1411 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1413 Remove redundant unset of variable TESTS from some test scripts.
1414 * tests/color.test: Do not unset the `TESTS' variable, as it's
1415 already unset in the `defs' file.
1416 * tests/check5.test: Likewise.
1417 * tests/check8.test: Likewise.
1418 * tests/check9.test: Likewise.
1419 * tests/check10.test: Likewise.
1420 * tests/check11.test: Likewise.
1421 * tests/parallel-tests.test: Likewise.
1422 * tests/parallel-tests3.test: Likewise.
1423 * tests/parallel-tests4.test: Likewise.
1424 * tests/parallel-tests5.test: Likewise.
1425 * tests/parallel-tests6.test: Likewise.
1426 * tests/parallel-tests7.test: Likewise.
1428 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1430 Fix cscope test on systems without working Fortran compiler.
1431 * tests/cscope.test: Skip remainder of test if `$MAKE all' fails.
1433 Report by Peter Johansson.
1435 2010-02-24 Antonio Diaz Diaz <ant_diaz@teleline.es> (tiny change)
1436 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1438 Add lzip compression support.
1439 * automake.in (handle_dist): Recognize dist-lzip.
1440 (make_paragraphs): Map LZIP to dist-lzip.
1441 * doc/automake.texi (Dist): Add dist-lzip.
1442 (Options): Likewise.
1443 * lib/Automake/Options.pm (_process_option_list): Add dist-lzip.
1445 (dist dist-all): Add command to create an lzip-compressed tarball.
1446 (distcheck): Handle lzip-compressed tarballs just like the others.
1447 * tests/defs.in: Test for lzip, too.
1448 * tests/lzip.test: New file, based on nogzip.test.
1449 * tests/Makefile.am (TESTS): Add lzip.test.
1452 2010-02-22 Karl Berry <karl@gnu.org>
1454 Improve help message of mdate-sh.
1455 * mdate-sh: mention actual output format in help message.
1457 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1459 Deprecate dist-lzma in favor of dist-xz.
1460 * doc/automake.texi (The Types of Distributions, Options):
1461 Adjust text to reflect renaming of lzma to xz.
1463 Missing deprecation noted by Antonio Diaz Diaz.
1465 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1467 Add tests about support of wildcards in EXTRA_DIST.
1468 * tests/extra10.test: New test, check basic support of wildcards
1470 * tests/extra11.test: New test, check more complex usage of
1471 wildcards in EXTRA_DIST.
1472 * tests/extra12.test: New test, check usage of wildcards in
1473 EXTRA_DIST when $builddir != $srcdir.
1474 * tests/Makefile.am (TESTS): Updated accordingly.
1475 Necessity of these new tests suggested by Braden McDaniel
1476 and Ralf Wildenhues.
1478 2010-02-08 Simon Josefsson <simon@josefsson.org>
1480 Fix copyright statement in gnupload script.
1481 * lib/gnupload: Fix copyright statement.
1483 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
1484 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1486 Fix exit status of signal handlers in shell scripts.
1487 The value of `$?' on entrance to signal handlers in shell scripts
1488 cannot be relied upon, so set the exit code explicitly to
1490 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1491 * lib/elisp-comp: Likewise.
1492 * lib/install-sh: Likewise.
1493 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
1494 * NEWS, THANKS: Update.
1495 Bug report, analysis, and initial patch by Dmitry V. Levin.
1497 2010-02-06 Karl Berry <karl@gnu.org>
1499 Improve gnupload usage text.
1500 * gnupload (usage): Shorten to make more likely to fit on a tty
1501 line. Mention CMD in the synopsis. With ..., plural is implied.
1503 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
1505 Fix some typos in the manual
1506 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1508 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1510 Fix silent-rules output for disabled dependency tracking.
1511 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1512 expansion code to also work in the case where %AMDEP% expands
1513 to FALSE at config.status time, using new substitution string
1515 * automake.in (verbose_nodep_flag): New function, appending
1516 `@am__nodep@' to the verbose-variable name.
1517 (handle_languages): If dependencies are not disabled, use it to
1518 set %VERBOSE-NODEP%.
1519 * m4/depend.m4: Substitute am__nodep as '_no', so the second
1520 verbose-variable will always expand to an empty string, if
1521 dependencies are enabled.
1522 * tests/silent5.test: Also test --disable-dependency-tracking;
1523 also test per-target flags for non-C language files.
1524 * tests/silent9.test: New test, like silent4.test but disable
1525 dependency tracking.
1526 * tests/Makefile.am: Adjust.
1527 * NEWS, THANKS: Update.
1528 Report by Dmitry V. Levin <ldv@altlinux.org>.
1530 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1532 Slighty improve tests acoutbs.test and acoutbs2.test.
1533 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
1534 autoconf and configure work, that the file `zot' is created by
1535 configure, and that no file containing a backslash in its name is
1537 * tests/acoutbs.test: Likewise, plus updated copyright years.
1539 Fix test acoutbs2.test.
1540 * tests/acoutbs2: In the generated configure.in: add proper calls
1541 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1542 PACKAGE and VERSION. Add a call to aclocal before calling automake.
1543 Updated copyright years.
1544 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1546 Add forgotten test scripts to $(TESTS).
1547 * tests/Makefile.am (TESTS): Added test scripts present on the
1548 filesystem, which were erroneously left out from $(TESTS):
1549 acoutbs2.test, badopt.test, extra2.test.
1550 (XFAIL_TESTS): Added acoutbs2.test.
1552 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1554 Sync auxiliary files from upstream.
1555 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1558 Bump copyright years.
1559 * aclocal.in (write_aclocal, version): Bump copyright years.
1560 * automake.in (gen_copyright, version): Likewise.
1561 * doc/automake.texi: Likewise.
1564 * ChangeLog.09: New file, rotated from ...
1565 * ChangeLog: ... here.
1566 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1570 Copyright (C) 2010 Free Software Foundation, Inc.
1572 Copying and distribution of this file, with or without modification, are
1573 permitted provided the copyright notice and this notice are preserved.