1 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
3 tests: fix spurious failures in lflags*.test
4 * tests/lflags.test: Remove 'LEX' from the environment, so
5 that it won't be erroneously picked up by `make -e'.
6 * tests/lflags2.test: Likewise.
8 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
11 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
12 and AM_LFLAGS, LFLAGS in the order in which they now appear in
15 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
16 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
17 please maintainer-check. Ensure generated C files contain a
18 declaration, to please compilers.
20 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
22 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
24 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
25 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
26 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
27 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
30 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
31 $(AM_FLAGS) and $(FLAGS) precedence.
32 * tests/lflags.test: New test, check that user $(LFLAGS) takes
33 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
35 * tests/lflags2.test: Likewise.
36 * tests/yflags.test: New test, check that user $(YFLAGS) takes
37 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
39 * tests/yflags2.test: Likewise.
40 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
42 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
44 Modernize, improve and extend tests `suffix*.test'.
45 * tests/suffix3.test: Enable `errexit' shell flag, and related
47 * tests/suffix4.test: Likewise.
48 * tests/suffix6.test: Likewise, and do not create a useless dummy
50 * tests/suffix7.test: Likewise.
51 * tests/suffix5.test: Enable `errexit' shell flag, and related
52 changes. Make grepping of Makefile.in slighty stricter.
53 * tests/suffix.test: Enable `errexit' shell flag, and related
54 changes. Also, do not redirect grep output to /dev/null, as this
55 might unmotivatedly hide useful information.
56 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
57 in the script (just after inclusion of ./defs). Use a more
58 idiomatic way to count text occurrences in Makefile.in with
59 grep. Do not create useless dummy source files.
60 * tests/suffix10.test: Ensure verbose printing of captured make
61 stdout. Minor cosmetic changes.
62 * tests/suffix8.test: Likewise. Also, drop useless call to the
63 env(1) utility, and make grepping of make output stricter by using
64 $FGREP rather than plain grep.
65 * tests/suffix11.test: Likewise.
66 * tests/suffix12.test: Likewise.
67 * tests/suffix9.test: Prefet cat + here-doc over echo to append to
68 the `configure.in' stub. Cosmetic changes.
69 * tests/suffix13.test: Cosmetic spacing change.
71 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
73 Add useful comment in test script ext.test.
74 * tests/ext.test: Add a comment explaining why an apparently
75 useless `if' statement is indeed required.
77 Add useful comment in test script obsolete.test.
78 * tests/obsolte.test: Add a comment explaining why we need
79 an indirection in adding $AUTOUPDATE to $required.
81 Normalize whitespaces in 'tests/Makefile.am'.
82 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
83 definition of this variable.
85 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
87 Remove a couple of unneeded conditionals from tests.
88 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
89 for the FOOTEST conditional.
91 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
93 Modernize, improve and/or fix various test scripts.
94 * tests/symlink3.test: Deleted, separated into two new, more
96 * tests/forcemiss.test: ... this one ...
97 * tests/forcemiss2.test: ... and this one.
98 * tests/symlink2.test: Enable `errexit' shell flag, make test
99 stricter, and skip it if symlink creation is not supported.
100 * tests/postproc.test: Enable `errexit' shell flag, related
101 changes, and a couple of unrelated cosmetic changes.
102 * tests/recurs.test: Use the `configure.in' stub created by
103 `./defs', rather than writing one from scratch. Make grepping
104 of Automake stderr slighty stricter.
105 * tests/substtarg.test: Likewise.
106 * tests/strip.test: Likewise, and move the call to `set -e'
107 earlier (just after the inclusion of `./defs'). Also, make sure
108 that the script installed by `make install-script' is equal to
110 * tests/substref.test: Use the `configure.in' stub created by
111 `./defs', rather than writing one from scratch. Move the call
112 to `set -e' earlier (just after the inclusion of `./defs').
113 Avoid to explicitly export CC for configure (that's already done
114 in ./defs). Avoid potential problems with unpredictable make
115 output. Finally, make grepping of Makefile.in stricter.
116 * tests/substre2.test: Ensure verbose printing of the captured
117 make's output, and make its grepping slighty stricter.
118 * tests/cygwin32.test: Enable `errexit' shell flag, and related
119 changes. Also, do not create useless dummy source/data files.
120 * tests/scripts.test: Likewise.
121 * tests/recurs2.test: Likewise. Also, use the `configure.in'
122 stub created by `./defs'.
123 * tests/Makefile.am (TESTS): Updated.
125 Modernize, improve and/or fix tests `pluseq*.test.
126 * tests/pluseq5.test: Append to configure.in using cat with an
127 here-doc, not using echo.
128 * tests/pluseq10.test: Make sure that the captured output of
129 `make' command is always displayed. Where possible, use $FGREP
130 instead of grep (this change makes some checks slighty stricter).
131 * tests/pluseq8.test: Enable `errexit' shell flag, with related
133 * tests/pluseq.test: Likewise. Also, do not create useless dummy
134 data files, and use better m4 quoting in generated configure.in.
135 * tests/pluseq2.test: Likewise. Also, append to configure.in
136 using cat with an here-doc, not using echo.
137 * tests/pluseq3.test: Likewise.
138 * tests/pluseq4.test: Likewise.
139 * tests/pluseq6.test: Likewise.
140 * tests/pluseq7.test: Do not create useless dummy source file.
141 * tests/pluseq9.test: Slighty extended w.r.t. the grepping of
142 Automake stderr. Some unrelated cosmetic changes.
144 Testsuite: ensure verbose printing of captured stderr.
145 * tests/acloca18.test: Print captured stderr before either failing
146 or grepping it. Be sure to send captured stderr to stderr, not to
148 * tests/ansi3b.test: Likewise.
149 * tests/cond39.test: Likewise.
150 * tests/configure.test: Likewise.
151 * tests/missing3.test: Likewise.
152 * tests/missing6.test: Likewise.
153 * tests/output-order.test: Likewise.
154 * tests/pr300-ltlib.test: Likewise.
155 * tests/python6.test: Likewise.
156 * tests/python7.test: Likewise.
157 * tests/python8.test: Likewise.
158 * tests/python9.test: Likewise.
159 * tests/subobj.test: Likewise.
160 * tests/vars3.test: Likewise.
161 * tests/missing4.test: Likewise, and fix a call to grep not to use
163 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
164 created by `./defs', rather than writing one from scratch.
166 Enable `errexit' shell flag in various tests.
167 * tests/backsl.test: Enable the `errexit' shell flag, and
169 * tests/backsl2.test: Likewise.
170 * tests/block.test: Likewise.
171 * tests/canon2.test: Likewise.
172 * tests/canon4.test: Likewise.
173 * tests/comment2.test: Likewise.
174 * tests/condlib.test: Likewise.
175 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
176 * tests/canon3.test: Likewise. Also, avoid to create an useless
178 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
179 related changes. Do some cosmetic improvements in the generated
181 * tests/cond4.test: Likewise.
182 * tests/cond14.test: Likewise.
183 * tests/condinc.test: Likewise.
184 * tests/cond7.test: Likewise. Also, remove useless setting of
185 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
186 * tests/ansi.test: Enable the `errexit' shell flag, and related
187 changes. Extended, esp. by running autoconf, ./configure and
188 make, and by looking into the distdir.
190 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
191 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
193 Extend tests/README w.r.t. trailing `:' in test scripts.
194 * tests/README (section "Writing test cases" subsection "Do"):
195 Explain why apparently redundant trailing `:' and `Exit 0' in
196 test scripts can indeed be useful.
198 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
200 Improve determination of PATH separator in bootstrap script.
201 * bootstrap: Detemine what the PATH separator is the same way
204 Minor improvements in bootstrap script.
205 * bootstrap: Consistently use two-spaces indentation. Cosmetic
206 improvement to comments.
207 ($me): New variable, containing program basename.
208 Prepend it to all error messages.
210 Testsuite now works with BSD make in parallel mode.
211 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
212 which are exported by BSD make when run in parallel mode, and
213 which can confuse make processes spawned by our testsuite.
214 This change fixes a lot of spurious failure when the testsuite
215 is run with BSD make in parallel mode.
217 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
219 Modernize, improve and/or fix various test scripts.
220 * tests/sanity.test: Rely on the `configure.in' stub created by
221 `./defs', rather than writing one from scratch.
222 * tests/depend2.test: Likewise. Also, call `set -e' just after
223 the inclusion of `./defs', instead that later in the script.
224 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
225 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
226 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
227 Make auxiliary rules in the generated Makefile more silent.
228 These changes make some checks slighty stricter.
229 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
230 * tests/gettext2.test: Place final `:' at the end of the script,
231 rather than in the middle.
232 * tests/exeext.test: Call `set -e' just after the inclusion of
233 `./defs', instead that later in the script.
234 * tests/extra5.test: Likewise.
235 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
236 plain `mv', just to be sure.
237 * tests/depcomp.test: Enable `errexit' shell flag, with related
238 changes. Also, modernize the generated configure.in.
239 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
240 stub created by `./defs', rather than writing one from scratch.
241 * tests/cond10.test: Likewise.
242 * tests/depcomp2.test: Likewise.
243 * tests/depend3.test: Likewise.
244 * tests/distcom7.test: Likewise.
245 * tests/fortdep.test: Likewise. Also, remove definition of
246 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
247 since that flag is already provided by $AUTOMAKE.
248 * tests/mdate.test: Made stricter, by checking that Automake
249 actually failed, and by making a stricter grep on the error
250 message. Also, set shell `errexit flag'.
251 * tests/python2.test: Improved verbose messages.
253 Make test `ammissing.test' stricter.
254 * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
255 Enable `errexit' shell flag.
257 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
259 Enable `errexit' shell flag in some test scripts.
260 * tests/subcond.test: Enabled `errexit' shell flag, and related
262 * tests/subst.test: Likewise.
263 * tests/vars.test: Likewise.
264 * tests/version4.test: Likewise.
265 * tests/vpath.test: Likewise.
266 * tests/vtexi2.test: Likewise.
267 * tests/werror.test: Likewise.
268 * tests/whoami.test: Likewise.
269 * tests/tags.test: Likewise, and avoid to crate an useless dummy
271 * tests/acsilent.test: Likewise, and don't use an easily-avoided
272 command substitution.
273 * tests/unused.test: Likewise, and don't use an easily-avoided
274 command substitution.
275 * tests/version.test: Likewise, and avoid deprecated constructs
276 in the generated `configure.in'.
277 * tests/version2.test: Likewise, and avoid deprecated constructs
278 in the generated `configure.in'.
280 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
282 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
283 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
284 the verbose log contains all output.
285 * tests/mdate.test: Likewise.
286 Prompted by Stefano Lattarini's change to discover.test.
288 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
290 Improve tests link*.test (enable `errexit' shell flag).
291 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
292 changes. Also, do not create useless source files.
293 * tests/link_dist.test: Likewise.
294 * tests/link_f90_only.test: Likewise.
295 * tests/link_f_only.test: Likewise.
296 * tests/link_fc.test: Likewise.
297 * tests/link_fccxx.test: Likewise.
298 * tests/link_fcxx.test: Likewise.
300 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
302 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
303 * tests/ext.test: Inside shell compound command, use
304 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
305 fix failure with OpenBSD sh introduced with last patch.
306 Actually ensure that a rule for .EXT.o is created for each
309 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
311 Enable `errexit' shell flag in some test scripts.
312 * tests/dash.test: Enable `errexit' shell flag, and related
314 * tests/defun.test: Likewise.
315 * tests/defun2.test: Likewise.
316 * tests/dejagnu.test: Likewise.
317 * tests/double.test: Likewise.
318 * tests/distcom2.test: Likewise.
319 * tests/empty2.test: Likewise.
320 * tests/empty3.test: Likewise.
321 * tests/empty4.test: Likewise.
322 * tests/exdir.test: Likewise.
323 * tests/ext.test: Likewise.
324 * tests/extra.test: Likewise.
325 * tests/extra2.test: Likewise.
326 * tests/extra3.test: Likewise.
327 * tests/extra4.test: Likewise.
328 * tests/flibs.test: Likewise.
329 * tests/fnoc.test: Likewise.
330 * tests/fo.test: Likewise.
331 * tests/instexec.test: Likewise.
332 * tests/ltdeps.test: Likewise.
333 * tests/nodep.test: Likewise.
334 * tests/nodepcomp.test: Likewise.
335 * tests/f90only.test: Likewise, and remove botched/obsoleted
336 comments and unecessary commands.
337 * tests/fonly.test: Likewise, and removed botched/obsolted
338 comments and unecessary commands.
339 * tests/discover.test: Likewise, and made stricter.
341 Enable `errexit' shell flag in all tests cxx*.test.
342 * tests/cxx.test: Enabled `errexit' shell flag, and related
344 * tests/cxxansi.test: Likewise.
345 * tests/cxxcpp.test: Likewise.
346 * tests/cxxlibobj.test: Likewise.
347 * tests/cxxlink.test: Likewise.
348 * tests/cxxo.test: Likewise.
350 Enable `errexit' shell flag in various tests.
351 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
353 * tests/acoutpt.test: Likewise.
354 * tests/acoutqnl.test: Likewise.
355 * tests/amassign.test: Likewise.
356 * tests/ansi2.test: Likewise.
357 * tests/ansi4.test: Likewise.
358 * tests/badprog.test: Likewise.
359 * tests/checkall.test: Likewise.
360 * tests/clean.test: Likewise.
361 * tests/colneq2.test: Likewise.
362 * tests/colon.test: Likewise.
363 * tests/colon5.test: Likewise.
364 * tests/colon6.test: Likewise.
365 * tests/comment.test: Likewise.
366 * tests/compile_f90_c_cxx.test: Likewise.
367 * tests/compile_f_c_cxx.test: Likewise.
368 * tests/cond3.test: Likewise.
369 * tests/cond6.test: Likewise.
370 * tests/cond13.test: Likewise.
371 * tests/conf2.test: Likewise.
372 * tests/confvar.test: Likewise.
373 * tests/confvar2.test: Likewise.
374 * tests/cond8.test: Likewise, plus a cosmetic change.
375 * tests/confh4.test: Likewise. Also, add in the heading comments
376 an excerpt from the original bug report which motivated the
377 creation of this test, to make its purpose clearer.
379 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
381 Rewrite manual to be gender-neutral.
382 * doc/automake.texi (GNU Build System)
383 (Standard Directory Variables, General Operation, CVS)
384 (Hard-Coded Install Paths, Dependencies As Side Effects):
385 Rewrite text to not contain gender-specific pronouns when
386 speaking about developers or users, either by avoiding pronouns
387 or by addressing them as `you' instead.
389 Report by Christina Gratorp.
393 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
395 Make tests on user extensibility of silent-rules mode stricter.
396 * tests/silent6.test: Made stricter w.r.t. the grepping of the
397 output produced by `make'.
398 * tests/silent7.test: Likewise.
400 Tests on silent-mode for C/Libtool made stricter.
401 * tests/silent.test: Made stricter w.r.t. the grepping of the
402 output produced by `make'.
403 * tests/silent2.test: Likewise.
404 * tests/silent4.test: Likewise.
405 * tests/silent9.test: Likewise.
406 * tests/silent3.test: Likewise, and add a final `make distclean'
407 command to keep it better in sync with tests/silent{4,9}.test.
409 Improved test silent5.test.
410 * tests/silent5.test: Remove by hand all generated C files after
411 non-verbose builds, to ensure the following builds are clean.
412 Try to clean and rebuild with the same verbosity and without
413 removing generated sources in between, to check that this does
414 not trigger a different set of rules. Make grepping of make's
415 output stricter. Improved/added some comments.
417 New tests for Automake silent-mode with Fortran.
418 * tests/silentf77.test: New test.
419 * tests/silentf90.test: Likewise.
420 * tests/Makefile.am (TESTS): Updated accordingly.
422 New test `silentcxx.test' (Automake silent-mode with C++).
423 * tests/silentcxx.test: New test.
424 * tests/Makefile.am (TESTS): Updated accordingly.
426 New test `silentyacc.test' (Automake silent-mode with Yacc).
427 * tests/silentyacc.test: New test.
428 * tests/Makefile.am (TESTS): Updated accordingly.
430 New test `silentlex.test' (Automake silent-mode with Lex).
431 * tests/silentlex.test: New test.
432 * tests/Makefile.am (TESTS): Updated accordingly.
434 Relax tests on silent-rules to cater to overly verbose makes.
435 * tests/silent.test: When testing silent builds, don't fail if
436 make's output simply contains the `mv' substring, but only if
437 it contains the `mv ' substring (note the trailing space).
438 * tests/silent2.test: Likewise.
439 * tests/silent3.test: Likewise.
440 * tests/silent4.test: Likewise.
441 * tests/silent5.test: Likewise.
442 * tests/silent9.test: Likewise.
444 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
446 Fix silent-rules output for disabled dependency tracking.
447 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
448 expansion code to also work in the case where %AMDEP% expands
449 to FALSE at config.status time, using new substitution string
451 * automake.in (verbose_nodep_flag): New function, appending
452 `@am__nodep@' to the verbose-variable name.
453 (handle_languages): If dependencies are not disabled, use it to
455 * m4/depend.m4: Substitute am__nodep as '_no', so the second
456 verbose-variable will always expand to an empty string, if
457 dependencies are enabled.
458 * tests/silent5.test: Also test --disable-dependency-tracking;
459 also test per-target flags for non-C language files.
460 * tests/silent9.test: New test, like silent4.test but disable
462 * tests/Makefile.am: Adjust.
463 * NEWS, THANKS: Update.
464 Report by Dmitry V. Levin <ldv@altlinux.org>.
466 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
468 Extend test on `nostdinc' automake option.
469 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
470 unrelated minor changes. Make the grepping of the generated
471 Makefile.in slighty stricter. Generate and run configure, so that
472 the generated Makefile can be grepped too.
474 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
476 Make gnupload portable to EBCDIC hosts.
477 * lib/gnupload: Use literal newline as argument for 'tr' rather
478 than \015, for EBCDIC hosts. Also, avoid unportable nested
479 double-quotes and backquotes.
481 Report from Eric Blake and Steve Goetze via gnulib.
483 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
485 Fix Autoconf version required by Automake's configure.
486 Automake configure script used to tell that automake required
487 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
488 and if that was not found, it gave an error saying that Automake
489 required configure 2.61a-341 or later. This change should
490 eliminate such inconsistencies.
491 * configure.ac ($required_autoconf_version): New variable.
494 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
496 Fix unportable sed script in maintainer-check test.
497 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
498 not contain semicolon after 'b' or brace commands, for NetBSD.
500 Wildcards are not portable to NetBSD make.
501 * doc/automake.texi (Wildcards): Document portability issue.
502 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
505 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
507 Make test for configure.in vs. configure.ac stricter.
508 * tests/configure.test: Use a configure.in file that provokes
509 an automake error, to ensure configure.ac is preferred.
511 Avoid possible false negatives in dejagnu7.test.
512 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
513 unportable use of fgrep option `-e'.
515 Fix conflnk3.test to work with Solaris/Heirloom Sh.
516 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
517 instead of respectively `test -e FILE' and `test ! -e FILE',
518 since Solaris Sh doesn't grok the latter. Do not SKIP the test
519 if the shell doesn't support `test -e'.
521 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
524 * doc/automake.texi (Simple Tests using parallel-tests): Add
525 missing closing parenthesis.
527 Fix leftover call to removed function macros_dump.
528 * automake.in (read_main_am_file): Call variables_dump, not
529 macros_dump. Print actual error before list of variables.
531 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
533 Minor improvements in comments of test `silent3.test'.
534 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
537 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
539 testsuite: ensure verbose printing of captured output.
540 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
541 tests/fort2.test, tests/help.test, tests/missing3.test,
542 tests/missing6.test: Print captured stdout or stderr before
545 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
547 Make test badopt.test stricter (by enabling `set -e').
548 * tests/badopt.test: Add call to `set -e'. Due to this change,
549 an unexpected failure in the call to `$ACLOCAL' (whose outcome
550 was previously unchecked) would cause the whole test to fail.
551 Also, bumped the copyright years.
553 Make test for configure.in vs. configure.ac stricter.
554 * tests/configure.test: Use a configure.in file that provokes
555 an automake error, to ensure configure.ac is preferred.
557 Use `set -e' in confsub.test (avoids possible false negatives).
558 * tests/confsub.test: Enable shell `errexit' flag, and related
559 changes (this helps avoiding some possible minor false negatives).
560 Also, bumped copyright years.
562 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
564 Fix -Werror handling for presence of configure.in and configure.ac.
565 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
566 $configure_ac at the global level, before command-line arguments
568 (require_variables): Initialize it here.
569 * tests/configure.test: New test.
570 * tests/Makefile.am: Update.
571 Report by Stefano Lattarini.
573 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
575 Avoid possible false negatives in confh5.test.
576 * tests/confh5.test: Enable shell `errexit' flag, and bumped
577 copyright years. Due to this change, any unexpected failure
578 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
579 a failure in grepping expected text in output files should now
580 cause the whole test to fail.
582 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
584 Fixed typo in POD documentation of Automake::Channels.
585 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
586 @<...> was used instead of C<...>.
588 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
590 Refactor tests on Automake TESTS color output.
591 * tests/color.test: Tests using the expect program moved out to...
592 * tests/color2.test: ... this new file.
593 * tests/Makefile.am (TESTS): Extended accordingly.
595 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
597 Fix typos in comments in test confh5.test
598 * tests/confh5.test: Fix a couple of typos in comments.
600 Avoid possible false negatives in canon-name.test.
601 * tests/canon-name.test: Enable shell `errexit' flag. Improve
604 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
606 Fix per-Makefile.am setting of -Werror.
607 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
608 Makefile.am would carry over to other Makefile.am files
609 treated afterwards by the same thread, causing inconsistent
610 and unstable exit status values.
611 * lib/Automake/Channels.pm (dup_channel_setup)
612 (drop_channel_setup): Save and restore the setting of
613 $warnings_are_errors.
614 * tests/werror3.test: New test.
615 * tests/Makefile.am: Adjust.
618 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
620 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
621 * tests/confh5.test: In the generated Makefile.am: do not use
622 `test ! -e FILE' to check for the non-existence of a file, since
623 that is not supported by Solaris/Heirloom Sh.
625 Make test `aclocal3.test' stricter.
626 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
627 succeds unexpectedly.
629 Add tests checking that symlinks are resolved by `make dist'.
630 * tests/distlinks.test: New test.
631 * tests/Makefile.am (TESTS): Updated accordingly.
632 Suggested by observations from Ralf Wildenhues.
634 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
636 Use -9 for maximum xz compression with dist-xz.
637 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
638 * NEWS, THANKS: Update.
639 Report by Pavel Sanda.
641 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
643 Avoid an unportable use of `$status' shell variable.
644 * Makefile.am (path-check): Don't use the `$status' shell variable
645 in the target's rules, as it's special in Zsh (equivalent to `$?',
648 Avoid another use of `chmod -R'.
649 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
650 $(distdir) before removing it (as Solaris `chmod -R' touches
651 symlink targets). Instead, use the cleanup strategy used in
654 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
656 Remove uses of @acronym and @sc.
657 * doc/automake.texi (Public Macros, Limitations on File Names):
658 Remove all usage of @acronym and @sc in the manual.
659 Suggested by Karl Berry.
661 2010-03-13 Karl Berry <karl@freefriends.org>
663 GNU hello uses fdl.texi, not gpl.texi.
664 * doc/automake.texi (Texinfo): Adjust example to upstream
667 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
669 Formatting cleanups in macro comments.
670 * automake.in, lib/Automake/Channels.pm,
671 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
672 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
673 m4/options.m4, m4/substnot.m4: Fix macro comment format.
675 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
676 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
678 Avoid generation of `tests/defs-p' file.
679 * tests/defs.in: In the generated `configure.in' snippet: call
680 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
681 variable `parallel_tests' is set to `yes'.
682 * tests/Makefile.am (defs-p): Target removed.
683 (check_SCRIPTS): Removed `defs-p'.
684 (clean-local-check): Do not unlink `defs-p' anymore.
685 ($(parallel_tests)): Transformation rules for the test scripts
687 * tests/gen-parallel-tests: Selection rules for the test
689 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
690 then include `./defs' (rather than simply including `./defs-p').
691 * tests/parallel-tests2.test: Likewise.
692 * tests/parallel-tests3.test: Likewise.
693 * tests/parallel-tests4.test: Likewise.
694 * tests/parallel-tests5.test: Likewise.
695 * tests/parallel-tests6.test: Likewise.
696 * tests/parallel-tests7.test: Likewise.
697 * tests/parallel-tests8.test: Likewise.
698 * tests/parallel-tests9.test: Likewise.
699 * tests/parallel-tests10.test: Likewise.
700 * tests/README (Section "Writing Test Cases" subsection "Do"):
701 Adjusted the parts referring to tests checking `parallel-tests'
702 behaviour. Some other minor related improvements.
703 * tests/.gitignore (defs-p): Removed.
705 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
707 Remove redundant unset of variable TESTS from some test scripts.
708 * tests/color.test: Do not unset the `TESTS' variable, as it's
709 already unset in the `defs' file.
710 * tests/check5.test: Likewise.
711 * tests/check8.test: Likewise.
712 * tests/check9.test: Likewise.
713 * tests/check10.test: Likewise.
714 * tests/check11.test: Likewise.
715 * tests/parallel-tests.test: Likewise.
716 * tests/parallel-tests3.test: Likewise.
717 * tests/parallel-tests4.test: Likewise.
718 * tests/parallel-tests5.test: Likewise.
719 * tests/parallel-tests6.test: Likewise.
720 * tests/parallel-tests7.test: Likewise.
722 2010-02-22 Karl Berry <karl@gnu.org>
724 Improve help message of mdate-sh.
725 * mdate-sh: mention actual output format in help message.
727 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
729 Deprecate dist-lzma in favor of dist-xz.
730 * doc/automake.texi (The Types of Distributions, Options):
731 Adjust text to reflect renaming of lzma to xz.
733 Missing deprecation noted by Antonio Diaz Diaz.
735 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
737 Add tests about support of wildcards in EXTRA_DIST.
738 * tests/extra10.test: New test, check basic support of wildcards
740 * tests/extra11.test: New test, check more complex usage of
741 wildcards in EXTRA_DIST.
742 * tests/extra12.test: New test, check usage of wildcards in
743 EXTRA_DIST when $builddir != $srcdir.
744 * tests/Makefile.am (TESTS): Updated accordingly.
745 Necessity of these new tests suggested by Braden McDaniel
748 2010-02-08 Simon Josefsson <simon@josefsson.org>
750 Fix copyright statement in gnupload script.
751 * lib/gnupload: Fix copyright statement.
753 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
754 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
756 Fix exit status of signal handlers in shell scripts.
757 The value of `$?' on entrance to signal handlers in shell scripts
758 cannot be relied upon, so set the exit code explicitly to
760 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
761 * lib/elisp-comp: Likewise.
762 * lib/install-sh: Likewise.
763 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
764 * NEWS, THANKS: Update.
765 Bug report, analysis, and initial patch by Dmitry V. Levin.
767 2010-02-06 Karl Berry <karl@gnu.org>
769 Improve gnupload usage text.
770 * gnupload (usage): Shorten to make more likely to fit on a tty
771 line. Mention CMD in the synopsis. With ..., plural is implied.
773 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
775 Fix some typos in the manual
776 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
778 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
780 Slighty improve tests acoutbs.test and acoutbs2.test.
781 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
782 autoconf and configure work, that the file `zot' is created by
783 configure, and that no file containing a backslash in its name is
785 * tests/acoutbs.test: Likewise, plus updated copyright years.
787 Fix test acoutbs2.test.
788 * tests/acoutbs2: In the generated configure.in: add proper calls
789 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
790 PACKAGE and VERSION. Add a call to aclocal before calling automake.
791 Updated copyright years.
792 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
794 Add forgotten test scripts to $(TESTS).
795 * tests/Makefile.am (TESTS): Added test scripts present on the
796 filesystem, which were erroneously left out from $(TESTS):
797 acoutbs2.test, badopt.test, extra2.test.
798 (XFAIL_TESTS): Added acoutbs2.test.
800 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
802 Sync auxiliary files from upstream.
803 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
806 Bump copyright years.
807 * aclocal.in (write_aclocal, version): Bump copyright years.
808 * automake.in (gen_copyright, version): Likewise.
809 * doc/automake.texi: Likewise.
812 * ChangeLog.09: New file, rotated from ...
813 * ChangeLog: ... here.
814 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
818 Copyright (C) 2010 Free Software Foundation, Inc.
820 Copying and distribution of this file, with or without modification, are
821 permitted provided the copyright notice and this notice are preserved.