Stefano Lattarini [Sun, 7 Nov 2010 14:23:41 +0000 (15:23 +0100)]
Merge branch 'maint'
Stefano Lattarini [Sun, 7 Nov 2010 14:06:34 +0000 (15:06 +0100)]
Merge branch 'pluseq-fix' into maint
Stefano Lattarini [Sat, 6 Nov 2010 11:46:52 +0000 (12:46 +0100)]
Fix a bug in variable concatanation with `+='.
* lib/Automake/VarDef.pm (append): Remove extra backslash-escaped
newlines from the end of the variable's content, before appending
to it.
* tests/pluseq11.test: New test, exposing the bug.
* tests/Makefile.am (TESTS): Update.
Reported by Andy Wingo.
Stefano Lattarini [Sun, 7 Nov 2010 10:50:06 +0000 (11:50 +0100)]
Merge branch 'tests-misc-fixes-1'
Conflicts:
tests/Makefile.am
tests/Makefile.in
Stefano Lattarini [Mon, 21 Jun 2010 16:07:09 +0000 (18:07 +0200)]
Modernize, improve and/or tweak various test scripts.
* tests/stamph2.test: Improve m4 quoting in `configure.in', and
prefer trailing `:' over trailing `Exit 0'.
* tests/syntax.test: Escape literal dots in grep regexps.
* tests/copy.test: Enable `errexit' shell flag. Extend test by
checking with `test' utility that the script `install-sh' is
copied, but not symlinked.
* tests/depdist.test: Move setting of `errexit' shell flag earlier
in the script (just after inclusion of ./defs). Avoid obsoleted
constructs in generated `configure.in'. Prefer to do our checks
by running configure and make over grepping Makefile.in.
* tests/target-cflags: Move setting of `errexit' shell flag
earlier in the script (just after inclusion of ./defs). Use the
`configure.in' stub created by `./defs', rather than writing it
from scratch.
* tests/target-clash: Do not uselessly run autoconf.
* tests/ctarget1.test: Renamed ...
* tests/cond-basic.test: ... to this. Use the `configure.in' stub
created by `./defs', rather than writing it from scratch.
Move setting of `errexit' shell flag earlier in the script (just
after inclusion of ./defs). Other minor cosmetic changes.
* tests/Makefile.am (TESTS): Updated.
Stefano Lattarini [Sat, 6 Nov 2010 19:49:22 +0000 (20:49 +0100)]
Merge branch 'backcompat-tests'
Conflicts:
tests/Makefile.in
Stefano Lattarini [Sat, 6 Nov 2010 19:32:48 +0000 (20:32 +0100)]
Merge branch 'maint'
Stefano Lattarini [Fri, 18 Jun 2010 10:56:47 +0000 (12:56 +0200)]
New tests on obsoleted usages of automake/autoconf macros.
* tests/backcompat.test: New test script.
* tests/backcompat2.test: Likewise.
* tests/backcompat3.test: Likewise.
* tests/backcompat4.test: Likewise.
* tests/backcompat5.test: Likewise.
* tests/backcompat6.test: Likewise.
* tests/init.test: Extended and improved, esp. by trying more
combinations of calls to AC_INIT and AM_INIT_AUTOMAKE with few
arguments.
* tests/Makefile.am (TESTS): Updated.
Stefano Lattarini [Sat, 6 Nov 2010 17:26:53 +0000 (18:26 +0100)]
Fix bug in rules for creating vala vapi/header files.
* automake.in (lang_vala_finish_target): Add forgotten "fi" in an
if control structure in a generated make rules. Bug introduced
by previous commit `v1.11-221-gd7c1679', and revealed by failure
of test `vala2.test'.
Stefano Lattarini [Fri, 5 Nov 2010 20:14:30 +0000 (21:14 +0100)]
Fix potential bug in generated tests `instpc-*.test'.
This bug is due to the changes introduced by the recently-merged
"tests-init" branch. In that branch, `tests/defs' didn't define
anymore `$srcdir', instead defininig directly `$testsrcdir'; but
the generated tests were using `$srcdir', hence the bug.
Luckily, since the Automake parallel test driver automatically
exports `srcdir' to a proper value, that prevented the bug from
manifesting itself.
* tests/Makefile.am ($(instspc_tests)): In the generated test
scripts, use `$testsrcdir', not `$srcdir'.
Stefano Lattarini [Thu, 4 Nov 2010 23:03:10 +0000 (00:03 +0100)]
Fix ChangeLog after merge
Stefano Lattarini [Thu, 4 Nov 2010 23:00:21 +0000 (00:00 +0100)]
Merge branch 'tests-init'
Conflicts:
tests/ar-lib.test
Ralf Wildenhues [Sun, 3 Oct 2010 10:29:40 +0000 (12:29 +0200)]
Fix and document rules to not touch the tree with `make -n'.
* doc/automake.texi (Multiple Outputs): Document the problem of
modifications during dry-run execution, propose solution.
* NEWS: Update.
* automake.in (lang_vala_finish_target): Split recipe so the
stamp file is not removed with GNU `make -n'.
(lang_yacc_target_hook): Separate removal of parser output file
and header remaking.
* lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
passed to make, take care not to remove any files in that case.
* lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
%STAMP% file from induced remaking of config header.
* tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
New tests.
* tests/Makefile.am (TESTS): Update.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Stefano Lattarini [Sun, 6 Jun 2010 16:38:27 +0000 (18:38 +0200)]
Overhauled and modularized tests in `instspc.test'.
The test `instspc.test' was way too big and fragile. Its running
time was very long. It also produced a log that was nearly
unreadable due to its length, making it very difficult to find
out the reason for failures.
Also, it was too much monolithic, with a single (maybe spurious)
failure in a corner case causing the whole test to fail (even if
everything worked as expected in the other 99% of cases).
The present change should solve these problems, by separating
`instspc.test' into many smaller, self-contained, auto-generated
tests.
* tests/instspc.test: Removed.
* tests/instspc-tests.sh: New script, fullfilling a double role:
1. it generates a Makefile.am snippet `tests/instspc-tests.am',
containing the definition of a list of new tests which will take
over the older `instspc.test', and
2. it is sourced by said generated tests with proper parameters
pre-set, to run the "meat" of the checks.
This apparent abuse is indeed required because the test generation
code and test execution code are inevitably interwined.
* tests/Makefile.am ($(srcdir)/instspc-tests.am): Include this
snippet, which (among the other things) defines ...
(instspc_tests): ... this new macro, containing the list of the
newly generated `instspc*.test' tests, and ...
(instspc_xfail_tests): ... this new macro, containing the list
of the `instspc*.test' tests expected to fail.
($(instspc_tests)): New rule, generates the `instspc*.test' tests.
($(instspc_tests:.test=.log)): New rule, registers the dependency
of all `instspc*.test' tests on the `instspc-tests.sh' script.
(TESTS): Add `$(instspc_tests)', remove `instspc.test'.
(XFAIL_TESTS): Add `$(xfail_instspc_tests)'.
(EXTRA_DIST): Distribute instspc-tests.sh.
(MAINTAINERCLEANFILES): Added $(instspc_tests).
Other minor cosmetic changes.
* bootstrap: Generate instspc-tests.am.
* tests/.gitignore: Updated.
Ralf Wildenhues [Mon, 1 Nov 2010 21:35:09 +0000 (22:35 +0100)]
Merge branch 'maint'
Ralf Wildenhues [Thu, 14 Oct 2010 04:14:20 +0000 (06:14 +0200)]
Add FAQ entry for bug reporting instructions.
* doc/automake.texi (Reporting Bugs): New section.
(Introduction): Refer to it.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Wed, 13 Oct 2010 20:57:23 +0000 (22:57 +0200)]
Regenerate Makefile.in.
Peter Rosin [Thu, 7 Oct 2010 20:47:11 +0000 (22:47 +0200)]
Merge branch 'msvc'
Peter Rosin [Thu, 7 Oct 2010 20:27:53 +0000 (22:27 +0200)]
depcomp: add new one-pass depmode for MSVC 7 and later.
* lib/depcomp: Add new depmodes 'msvc7' and 'msvc7msys' which
make use of the -showIncludes option added in MSVC 7.
* m4/depend.m4 (_AM_DEPENDENCIES): Handle the new depmodes
similarly to 'msvisualcpp' and 'msvcmsys' as MSVC does not
support the -o option.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Jim Meyering [Sat, 2 Oct 2010 20:30:02 +0000 (22:30 +0200)]
dist-xz, dist-bzip2: don't hard-code -9: honor envvar settings
* lib/am/distdir.am (dist-xz): Do not hard-code xz's -9: that
made it impossible to override. Instead, use its XZ_OPT envvar,
defaulting to -9 if not defined. Thus no change in behavior
when XZ_OPT is not set, and now, this rule honors the setting
of that envvar when it is set. Suggested by Lasse Collin.
(dist-bzip2): Likewise for it's corresponding envvar: BZIP2.
* NEWS (Miscellaneous changes): Mention it.
* doc/automake.texi (The Types of Distributions): Describe the
newly enabled environment variables.
Stefano Lattarini [Tue, 5 Oct 2010 15:29:39 +0000 (17:29 +0200)]
Merge branch 'maint'
Stefano Lattarini [Mon, 4 Oct 2010 16:50:53 +0000 (18:50 +0200)]
Add support for newer python versions.
* m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
_AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
line and fix indentation.
* THANKS: Updated.
From a report by Thomas Klausner.
Stefano Lattarini [Tue, 21 Sep 2010 10:54:25 +0000 (12:54 +0200)]
Add test for `AM_WITH_DMALLOC' macro.
* tests/dmalloc.test: New test.
* tests/Makefile.am (TESTS): Update.
Stefano Lattarini [Mon, 4 Oct 2010 16:17:22 +0000 (18:17 +0200)]
Fix nits and bugs in tests `help*.test'.
* tests/help4.test: Fix broken sed commands used to strip `-W...'
flags away from "$AUTOMAKE" and "$ACLOCAL".
* tests/help3.test: Likewise, and fix a botched comment.
* tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
instead of "$AUTOMAKE ... && Exit 1", for consistency and to
please maintainet-check.
* tests/help2.test: Likewise.
Stefano Lattarini [Sat, 2 Oct 2010 17:33:44 +0000 (19:33 +0200)]
Improve tests `help*.test' (also fixes maintcheck failures).
* tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
flags stripped away rather than hard-coded `automake-$APIVERSION',
to better honour user-overrides. Similarly for aclocal.
* tests/help2.test: Likewise.
* tests/help3.test: Likewise.
* tests/help4.test: Likewise.
From a suggestion by Ralf Wildenhues.
Ralf Wildenhues [Sun, 3 Oct 2010 10:01:47 +0000 (12:01 +0200)]
Merge branch 'msvc'
* msvc:
tests: fix ar-lib.test for echo that interprets backslashes.
Ralf Wildenhues [Sun, 3 Oct 2010 09:56:20 +0000 (11:56 +0200)]
tests: fix ar-lib.test for echo that interprets backslashes.
* tests/ar-lib.test: Use printf instead of echo. Avoid test -a.
More robust quoting.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Sun, 3 Oct 2010 09:45:31 +0000 (11:45 +0200)]
maintainer-check coverage for variables before rules.
* Makefile.am (sc_ensure_testsuite_has_run): Suggest keeping
around the test directories.
(sc_tests_makefile_variable_order): New rule with a heuristic to
catch ordering violations.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Sun, 3 Oct 2010 09:44:13 +0000 (11:44 +0200)]
Merge branch 'maint'
Ralf Wildenhues [Sun, 3 Oct 2010 09:42:12 +0000 (11:42 +0200)]
Document and fix expansion of variables before rules.
* doc/automake.texi (General Operation): Document that variables
are expanded before rules.
* lib/am/check.am (am__check_post): Reword a bit so it does not
get matched as a rule.
Suggestion by Ben Pfaff.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Sat, 2 Oct 2010 18:26:47 +0000 (20:26 +0200)]
Coverage and minor fixes for variable typo detection.
* automake.in (check_typos): Remove `EXTRA_' prefix when
computing canonical name.
* tests/vartypo2.test, tests/vartypos.test: New tests.
* tests/Makefile.am (TESTS): Update.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Sat, 2 Oct 2010 18:25:53 +0000 (20:25 +0200)]
Implement EXTRA_maude_DEPENDENCIES for programs and libraries.
* automake.in (handle_programs, handle_libraries)
(handle_ltlibraries): Mark EXTRA_*_DEPENDENCIES as recognized.
* doc/automake.texi (Linking, Program and Library Variables)
(LIBOBJS): Document EXTRA_*_DEPENDENCIES.
* lib/am/library.am (%LIBRARY%): Also depend on
$(EXTRA_%XLIBRARY%_DEPENDENCIES).
* lib/am/ltlibrary.am (%LTLIBRARY%): Also depend on
(%XLTLIBRARY%_DEPENDENCIES).
* lib/am/program.am (%PROGRAM%%EXEEXT%): Also depend on
$(EXTRA_%XPROGRAM%_DEPENDENCIES).
* tests/extradep.test, tests/extradep2.test: New tests.
* tests/Makefile.am (TESTS): Update.
* NEWS: Update.
Suggested by Eric Blake.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Sat, 2 Oct 2010 18:07:08 +0000 (20:07 +0200)]
Merge branch 'maint'
Ralf Wildenhues [Sat, 2 Oct 2010 18:04:34 +0000 (20:04 +0200)]
Regenerate tree with Autoconf 2.68.
Ralf Wildenhues [Sat, 2 Oct 2010 18:00:02 +0000 (20:00 +0200)]
Merge branch 'sanity-sleep-fix-master'
* sanity-sleep-fix-master:
tests: avoid running into timing issues due to sanity change.
Fix timestamp issues by ensuring configure takes at least a second.
Ralf Wildenhues [Sat, 2 Oct 2010 17:58:39 +0000 (19:58 +0200)]
tests: avoid running into timing issues due to sanity change.
* tests/acloca10.test, tests/acloca18.test, tests/aclocal9.test:
Insert strategic sleep before aclocal reruns, to ensure files
are newer.
* tests/python11.test: Use --force for repeated autotools runs.
Reports from the NixOS Hydra build daemon via Ludovic Courtès.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Sat, 2 Oct 2010 16:58:56 +0000 (18:58 +0200)]
Fix timestamp issues by ensuring configure takes at least a second.
* m4/sanity.m4 (AM_SANITY_CHECK): If we didn't sleep here,
start a sleep in the background and wait for it to finish
before creating config.status, hopefully fixing all spurious
testsuite failures involving botched time stamps.
* NEWS: Update.
Reports by Ludovic Courtès, Peter Breitenlohner, and others.
Ralf Wildenhues [Sat, 2 Oct 2010 16:43:01 +0000 (18:43 +0200)]
Merge branch 'maint'
Ralf Wildenhues [Sat, 2 Oct 2010 16:38:34 +0000 (18:38 +0200)]
Merge branch 'fix-tests-empty-regression' into maint
* fix-tests-empty-regression:
Revert "parallel-tests: avoid command-line length limit issue."
Ralf Wildenhues [Sun, 26 Sep 2010 07:21:14 +0000 (09:21 +0200)]
Revert "parallel-tests: avoid command-line length limit issue."
This reverts commit
24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
because it re-opened the bug fixed by v1.11-10-g218e678.
2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
parallel-tests: avoid command-line length limit issue.
* automake.in (handle_tests): New argument $makefile, new
substitution %MAKEFILE%.
(generate_makefile): Adjust.
* lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
sanitized TEST_LOGS value as makefile snippet on standard
input to $(MAKE), to avoid exceeding the command line limit on
w32 (MSYS).
* NEWS: Update.
Report by Bob Friesenhahn.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Stefano Lattarini [Sun, 26 Sep 2010 14:39:45 +0000 (16:39 +0200)]
Merge branch 'maint'
Conflicts:
Makefile.am
Makefile.in
lib/Automake/Configure_ac.pm
Stefano Lattarini [Sat, 25 Sep 2010 15:07:27 +0000 (17:07 +0200)]
Extend tests on `--help' and `--version' options.
* tests/help.test: Create a new empty directory and chdir into
it, rather than removing already present files. Run the aclocal
and automake wrapper scripts directly, instead of relying on
$AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
in aclocal's and automake's stderr. Add a trailing `:' command.
* tests/help2.test: New test, checking that options `--help' and
`--version' works in directories with broken `configure.in'.
* tests/help3.test: New test, checking that options `--help' and
`--version' take precedence on the other options.
* tests/help4.test: New test, checking that the first among the
`--help' and `--version' options to be specified on the command
line wins.
* tests/Makefile.am (TESTS): Updated.
Stefano Lattarini [Sat, 25 Sep 2010 19:31:06 +0000 (21:31 +0200)]
Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
* tests/compile2.test: Do no uselessly (implicitly) repeat the
computation of PATH_SEPARATOR again.
* tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
extending/redefining PATH.
* tests/instmany-python.test: Likewise.
* tests/instmany.test: Likewise.
* tests/man4.test: Likewise.
* tests/mkinst3.test: Likewise.
* tests/mmodely.test: Likewise.
* tests/multlib.test: Likewise.
* tests/txinfo30.test: Likewise.
* tests/README (Section "Writing test cases" subsection "Do"):
Updated.
* Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
(syntax_check_rules): Updated.
Stefano Lattarini [Sat, 25 Sep 2010 14:53:13 +0000 (16:53 +0200)]
Testsuite: new vars `$PATH_SEPARATOR' and `$APIVERSION'.
* tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
($ACLOCAL, $AUTOMAKE): Use it.
($PATH_SEPARATOR): New AC_SUBST'd variables.
($PATH): Use it.
Stefano Lattarini [Wed, 22 Sep 2010 20:31:22 +0000 (22:31 +0200)]
Manual: be more agnostic w.r.t. version control system used.
* doc/automake.texi (Basics of Distribution): Also refer to `.svn'
directories as a type of probably-unwanted files that are copied
regardless when adding directories to EXTRA_DIST.
(The dist Hook): Show a dist-hook example which removes Subversion
`.svn' private directories from distdir, rather than CVS private
directories.
(missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
the version control system used.
Stefano Lattarini [Wed, 22 Sep 2010 20:04:55 +0000 (22:04 +0200)]
Manual: index refer to target "git-dist", not "cvs-dist".
* doc/automake.texi (General Operation): Index the non-standard
example about "git-dist" under the "git-dist" label, not under
the "cvs-dist" one.
Stefano Lattarini [Wed, 22 Sep 2010 19:35:58 +0000 (21:35 +0200)]
Perl modules: remove references to "Automake CVS repository".
* lib/Automake/Channels.pm: Update comments to refer to "Automke's
git repository" rather than to "Automake's CVS repository".
* lib/Automake/Configure_ac.pm: Likewise.
* lib/Automake/FileUtils.pm: Likewise.
* lib/Automake/Struct.pm: Likewise.
* lib/Automake/XFile.pm: Likewise.
* lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
branches" rather than "CVS branches".
Stefano Lattarini [Wed, 22 Sep 2010 19:26:09 +0000 (21:26 +0200)]
Remove obsolete .cvsignore files.
* .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
savannah's CVS readonly mirror there's no way to commit back to
the real repository, so this files are not worth maintaining or
keeping around.
Peter Rosin [Tue, 21 Sep 2010 19:11:00 +0000 (21:11 +0200)]
Merge branch 'msvc'
Peter Rosin [Tue, 21 Sep 2010 18:59:54 +0000 (20:59 +0200)]
compile: implement library search to support MSVC static linking
* lib/compile (func_cl_wrapper): Implement library search and
-static option so that the user can select whether to prefer
dll import libraries or static libraries. This enables MSVC to
link against dlls generated by libtool without requiring libtool
or workarounds such as -lfoo.dll etc. Makes the tests/static.at
test case in libtool pass.
* tests/compile3.test: Don't trip up if there happens to exist
a "foo" library in the library search path.
* tests/compile6.test: New test, verifying the library search.
* tests/Makefile.am (TESTS): Update.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Stefano Lattarini [Tue, 21 Sep 2010 09:09:33 +0000 (11:09 +0200)]
m4/dmalloc.m4: Bump serial number and copyright years.
Stefano Lattarini [Mon, 20 Sep 2010 21:31:29 +0000 (23:31 +0200)]
Fix broken link in `AM_WITH_DMALLOC' help screen.
* m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
`http://www.dmalloc.com', not to the dmalloc tarball there (which
seems to have been removed, substituted by multiple release
tarballs now).
Eric Blake [Fri, 17 Sep 2010 20:17:07 +0000 (14:17 -0600)]
Merge branch 'maint'
Eric Blake [Fri, 17 Sep 2010 12:31:33 +0000 (06:31 -0600)]
Avoid triple-space after period.
* automake.in (handle_single_transform): Avoid 3 spaces at
sentence end.
* ChangeLog.03: Likewise.
* lib/Automake/ChannelDefs.pm: Likewise.
* lib/Automake/Channels.pm (_print_message): Likewise.
* lib/Automake/Rule.pm (rule): Likewise.
* lib/Automake/Variable.pm (var): Likewise.
* lib/am/distdir.am: Likewise.
* tests/insthook.test: Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
Stefano Lattarini [Fri, 17 Sep 2010 10:00:39 +0000 (12:00 +0200)]
Merge branch 'maint'
Stefano Lattarini [Wed, 15 Sep 2010 19:43:56 +0000 (21:43 +0200)]
Test automake-generated portions of configure help screen.
* tests/help-depend.test: New test.
* tests/help-depend2.test: Likewise.
* tests/help-dmalloc.test: Likewise.
* tests/help-init.test: Likewise.
* tests/help-lispdir.test: Likewise.
* tests/help-maintainer.test: Likewise.
* tests/help-multilib.test: Likewise.
* tests/help-regex.test: Likewise.
* tests/help-silent.test: Likewise.
* tests/help-upc.test: Likewise.
* tests/mmode.test: Remove tests on `configure --help' output,
they are supersed by tests in `help-maintainer.test'.
* tests/Makefile.am (TESTS): Update.
Stefano Lattarini [Tue, 14 Sep 2010 20:50:15 +0000 (22:50 +0200)]
Fixlets for HACKING.
* HACKING (Administrivia): Fixed typo `NES' for `NEWS'.
(Naming): Do not refer to a convention dating back to Feb 2001
as "very new". Related rewording.
(Working with Git): Now we require autoconf 2.67 for bootstrap,
so use that version in the examples.
Stefano Lattarini [Tue, 14 Sep 2010 20:16:35 +0000 (22:16 +0200)]
tests/README: Don't put GCS mandated tools in $required.
Stefano Lattarini [Tue, 14 Sep 2010 09:38:55 +0000 (11:38 +0200)]
Prefer `$(am__cd)' to plain `cd' in our Makefiles.
* Makefile.am (recheck, dist-hook, git-dist, path-check, fetch)
(release-stats): Use `$(am__cd)' rather than plain `cd'.
* tests/Makefile.am ($(srcdir)/parallel-tests.am): Likewise.
Ralf Wildenhues [Mon, 13 Sep 2010 20:09:41 +0000 (22:09 +0200)]
* HACKING: Hint at old commits with `git describe' output.
Stefano Lattarini [Mon, 13 Sep 2010 12:58:11 +0000 (14:58 +0200)]
Merge branch 'maint'
Stefano Lattarini [Mon, 13 Sep 2010 12:51:25 +0000 (14:51 +0200)]
Merge branch 'fix-colon-tests-regression' into maint
Stefano Lattarini [Mon, 13 Sep 2010 12:50:14 +0000 (14:50 +0200)]
Fix regression in test `colon4.test'.
* tests/colon4.test: Fix botched editing to `configure.in'
that made the test useless. Since we are at it, improve
comments and make grepping of generated Makefile.in slighty
stricter.
Regression introduced by change "Modernize, improve and/or
extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
Stefano Lattarini [Sun, 4 Jul 2010 23:23:16 +0000 (01:23 +0200)]
Do not require "gzip" explicitly in tests.
The gzip utility is simply expected to be present on any decent
target system for Automake. So it's pointless to put it in
$required.
* tests/install2.test ($required): Do not require "gzip".
* tests/lex3.test: Likewise.
* tests/pr9.test: Likewise.
From a suggestion by Ralf Wildenhues.
Stefano Lattarini [Thu, 9 Sep 2010 15:24:13 +0000 (17:24 +0200)]
Use AS_HELP_STRING in AM_SILENT_RULES.
* m4/silent.m4 (AM_SILENT_RULES): Use `AS_HELP_STRING' to format
help message regarding configure options `--enable-silent-rules'
and `--disable-silent-rules'. Also throw in a couple of cosmetic
changes in the related `case' statement (indentation, balancing
of parentheses).
* THANKS: Update.
From a report by Jeff A. Daily.
Stefano Lattarini [Thu, 9 Sep 2010 13:21:23 +0000 (15:21 +0200)]
Merge branch 'maint'
Stefano Lattarini [Wed, 8 Sep 2010 23:24:52 +0000 (01:24 +0200)]
regenerate Makefile.in to sync with previous commits
Stefano Lattarini [Wed, 8 Sep 2010 19:05:36 +0000 (21:05 +0200)]
Make some `confh*.test' tests more "semantic" (plus tweakings).
* tests/confh.test: Run "autoconf", "configure" and "make check",
instead of munging/grepping the generated `Makefile.in'.
* tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
white spaces. Do not create usless dummy source file `foo.c'
and useless dummy header file `acconfig.h'.
(configure.in): Remove superfluous call to `AC_OUTPUT'.
* tests/confh6.test: Add trailing `:' command.
* tests/confh7.test: In comments, add reference to ...
* tests/confh8.test: ... this new test, "semantic" sister
of `confh7.test'.
* tests/Makefile.am (TESTS): Updated.
Prompted by a report from Ralf Wildenhues.
Stefano Lattarini [Wed, 8 Sep 2010 18:05:50 +0000 (20:05 +0200)]
Merge branch 'maint'
Stefano Lattarini [Wed, 8 Sep 2010 10:28:31 +0000 (12:28 +0200)]
Remove useless whitespace padding in XFAIL_TESTS definition.
* tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
Ralf Wildenhues [Tue, 7 Sep 2010 02:58:02 +0000 (04:58 +0200)]
Merge branch 'maint'
Ralf Wildenhues [Tue, 7 Sep 2010 02:38:08 +0000 (04:38 +0200)]
parallel-tests: avoid command-line length limit issue.
* automake.in (handle_tests): New argument $makefile, new
substitution %MAKEFILE%.
(generate_makefile): Adjust.
* lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
sanitized TEST_LOGS value as makefile snippet on standard
input to $(MAKE), to avoid exceeding the command line limit on
w32 (MSYS).
* NEWS: Update.
Report by Bob Friesenhahn.
Ralf Wildenhues [Tue, 7 Sep 2010 02:35:49 +0000 (04:35 +0200)]
Posix 2008 requires make to set errexit.
* lib/am/check.am: Update comment.
Stefano Lattarini [Wed, 9 Jun 2010 13:20:58 +0000 (15:20 +0200)]
Tests defs: remove variable $testaclocaldir.
* tests/defs.in ($testaclocaldir): Removed.
* tests/aclocal.test: Use `$top_testsrcdir/m4' directly, no
t `$testaclocaldir'.
Stefano Lattarini [Wed, 2 Jun 2010 19:55:23 +0000 (21:55 +0200)]
Tests defs: $srcdir renaming.
* tests/defs.in ($srcdir): Remove, define $testsrcdir directly.
* tests/Makefile.am ($(parallel_tests)): Generation of derived
tests updated.
Stefano Lattarini [Wed, 2 Jun 2010 23:03:00 +0000 (01:03 +0200)]
Tests defs: new variable $top_testsrcdir.
* tests/defs.in ($top_testsrcdir): Define unconditionally
to @abs_top_srcdir@. Use it throughout.
* tests/ar-lib.test: Use `$top_testsrcdir' instead of
`$testsrcdir/..'.
* tests/auxdir.test: Likewise.
* tests/compile.test: Likewise.
* tests/compile2.test: Likewise.
* tests/compile3.test: Likewise.
* tests/compile5.test: Likewise.
* tests/mdate6.test: Likewise.
* tests/mkinst3.test: Likewise.
* tests/multlib.test: Likewise.
* tests/txinfo22.test: Likewise.
Stefano Lattarini [Wed, 2 Jun 2010 19:45:57 +0000 (21:45 +0200)]
Tests defs: $srcdir is unconditionally substituted.
* tests/defs.in ($srcdir): Define unconditionally to @abs_srcdir@.
Remove code $srcdir normalization, which is now useless.
Stefano Lattarini [Thu, 2 Sep 2010 19:44:55 +0000 (21:44 +0200)]
Tests defs: make spacing more consistent.
* tests/defs.in: Make spacing more consistent in indentation.
Especially, indent using only spaces, not tabs. Also, move
a comment to a better position.
Stefano Lattarini [Wed, 2 Jun 2010 19:23:34 +0000 (21:23 +0200)]
Improve code for requiring libtool and gettext in tests.
* tests/defs.in: Stricter (and more correct) detection of wheter
libtool, libtoolize and/or gettext are in $required.
Peter Rosin [Thu, 2 Sep 2010 19:04:52 +0000 (21:04 +0200)]
Merge branch 'msvc'
Peter Rosin [Thu, 2 Sep 2010 19:04:00 +0000 (21:04 +0200)]
Make ar-lib support backslashed files in archives.
* lib/ar-lib: If an archive member contains a backslash, make sure
it is escaped when the archive member is extracted.
* tests/ar-lib.test: Test the above.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Peter Rosin [Tue, 31 Aug 2010 19:58:29 +0000 (21:58 +0200)]
Merge branch 'msvc'
Peter Rosin [Tue, 31 Aug 2010 19:57:22 +0000 (21:57 +0200)]
Do file name conversion for object files in the compile wrapper.
* lib/compile (func_cl_wrapper): Do file name conversion for object
files (i.e. extensions .obj, .OBJ, .o and .O) if needed.
* lib/compile4.test: Test the above.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Stefano Lattarini [Fri, 27 Aug 2010 16:25:17 +0000 (18:25 +0200)]
Fix bug in test missing6.test.
* tests/missing6.test: Fix the hack used to edit `configure.in',
to avoid producing a configure script that breaks with shells
that do not support $LINENO. Also throw in a couple of cosmetic
changes.
Ralf Wildenhues [Sat, 21 Aug 2010 09:07:22 +0000 (11:07 +0200)]
Merge branch 'faster-clean'
* faster-clean:
Speed up removal of auxiliary linker output files for ltlibraries.
Ralf Wildenhues [Sat, 21 Aug 2010 09:05:25 +0000 (11:05 +0200)]
Merge branch 'maint'
Ralf Wildenhues [Sat, 21 Aug 2010 09:04:04 +0000 (11:04 +0200)]
Speed up removal of auxiliary linker output files for ltlibraries.
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Rewrite using just
one `rm' invocation.
Report by Bob Friesenhahn.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Sat, 21 Aug 2010 05:27:12 +0000 (07:27 +0200)]
Improve robustness of mdate-sh script.
* lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
$ls_command is word-split properly upon invocation.
(error): New function.
(main): Use it. Improve error checking to avoid endless loop
in case $ls_command gave bogus output. Fix eval quotation.
* tests/mdate6.test: New test, to expose eval quotation error.
* tests/Makefile.am: Update.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Stefano Lattarini [Wed, 18 Aug 2010 22:05:27 +0000 (00:05 +0200)]
HACKING: Perl 4 is obsolete.
* HACKING (Editing automake.in and aclocal.in): Remove note about
Perl 5.
Stefano Lattarini [Wed, 18 Aug 2010 22:04:34 +0000 (00:04 +0200)]
HACKING: improve description of git "bugfix branches".
* HACKING (Working with git): Extend the description of git
"bugfix branches".
Stefano Lattarini [Wed, 18 Aug 2010 21:46:01 +0000 (23:46 +0200)]
Merge branch 'fix-decomp-tests-regression'
Stefano Lattarini [Wed, 18 Aug 2010 21:45:48 +0000 (23:45 +0200)]
Merge branch 'fix-decomp-tests-regression' into maint
Stefano Lattarini [Wed, 18 Aug 2010 12:39:59 +0000 (14:39 +0200)]
Fix potential regressions in depcomp{3,5}.test.
* tests/depcomp3.test: Do not uselessly escape the character `$'
in makefile rules, when it's used to expand a make macro.
* tests/depcomp5.test: Likewise.
Stefano Lattarini [Tue, 17 Aug 2010 20:19:08 +0000 (22:19 +0200)]
Docs: clarify how to avoid automatic dependencies tracking.
* doc/automake.texi (Automatic dependency tracking): Mention that
automatic dependencies tracking is enabled by default, but that
the package developer can disable it altogether. Add a reference
to the proper section for a more in-depth explanation.
Stefano Lattarini [Tue, 17 Aug 2010 17:23:47 +0000 (19:23 +0200)]
Fix typo in manual (`Makefile.in' instead of `Makefile.am').
* doc/automake.texi (Automatic dependency tracking): Fix typo.
Stefano Lattarini [Tue, 17 Aug 2010 20:19:08 +0000 (22:19 +0200)]
Docs: clarify how to avoid automatic dependencies tracking.
* doc/automake.texi (Automatic dependency tracking): Mention that
automatic dependencies tracking is enabled by default, but that
the package developer can disable it altogether. Add a reference
to the proper section for a more in-depth explanation.
Stefano Lattarini [Tue, 17 Aug 2010 17:23:47 +0000 (19:23 +0200)]
Fix typo in manual (`Makefile.in' instead of `Makefile.am').
* doc/automake.texi (Automatic dependency tracking): Fix typo.
Ralf Wildenhues [Mon, 16 Aug 2010 20:26:23 +0000 (22:26 +0200)]
Merge branch 'maint'
Bruno Haible [Mon, 16 Aug 2010 20:14:12 +0000 (22:14 +0200)]
Don't hide the table of contents.
* doc/automake.texi: Move the table of contents to the beginning.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Peter Rosin [Mon, 16 Aug 2010 20:06:07 +0000 (22:06 +0200)]
Merge branch 'msvc'