platform/upstream/automake.git
13 years agoTests: normalize use of the 'errexit' shell flag.
Stefano Lattarini [Sun, 2 Jan 2011 14:49:16 +0000 (15:49 +0100)]
Tests: normalize use of the 'errexit' shell flag.

* tests/maken3.test (check_targets): Remove redundant call to
'set -e'.
* tests/maken4.test: Likewise.
* tests/ansi5.test: Call 'set -e' just after './defs' has been
sourced.
* tests/ansi6.test: Likewise.
* tests/ansi7.test: Likewise.
* tests/cond16.test: Likewise.
* tests/cond17.test: Likewise.
* tests/cond18.test: Likewise.
* tests/cond19.test: Likewise.
* tests/cond20.test: Likewise.
* tests/cond21.test: Likewise.
* tests/instdat2.test: Likewise.
* tests/instdir-texi.test: Likewise.
* tests/parallel-tests3.test: Likewise.
* tests/remake1a.test: Likewise.
* tests/ccnoco.test: Likewise, and add trailing `:' command.
* tests/comment4.test: Likewise.
* tests/gcj4.test: Likewise.
* tests/nodist2.test: Likewise.
* tests/nodist3.test: Enable 'errexit' shell flag (this should
have been done in commit v1.11-248-g317e17b, but the relevant
hunk has been forgotten somehow).
* tests/output.test: Likewise.
* tests/gnits2.test: Likewise, and display captured stderr to
script's stderr, not to script's stdout.
* tests/gnits3.test: Likewise.  Also, prefer 'cat' over 'echo'
to append to Makefile.am, and really check that the exit status
of "make installcheck" indicates failure.

13 years agoMerge branch 'maint'
Ralf Wildenhues [Sun, 2 Jan 2011 05:12:13 +0000 (06:12 +0100)]
Merge branch 'maint'

13 years agoSync auxiliary files from upstream.
Ralf Wildenhues [Sun, 2 Jan 2011 05:11:28 +0000 (06:11 +0100)]
Sync auxiliary files from upstream.

* lib/config.guess, lib/config.sub, lib/texinfo.tex:
Sync from upstream.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agoAvoid caching bug in cygnus mode test.
Ralf Wildenhues [Sun, 2 Jan 2011 04:47:11 +0000 (05:47 +0100)]
Avoid caching bug in cygnus mode test.

* tests/cygnus-requires-maintainer-mode.test: Remove
autom4te.cache directory before rerunning aclocal, to
remove trace caches.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agoMerge branch 'maint'
Ralf Wildenhues [Sun, 2 Jan 2011 04:38:18 +0000 (05:38 +0100)]
Merge branch 'maint'

13 years agoFix maintainer-check regression.
Ralf Wildenhues [Sun, 2 Jan 2011 04:36:20 +0000 (05:36 +0100)]
Fix maintainer-check regression.

* tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
environment.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agoBump copyright years.
Ralf Wildenhues [Sun, 2 Jan 2011 04:31:41 +0000 (05:31 +0100)]
Bump copyright years.

* aclocal.in (write_aclocal, version): Bump copyright years.
* automake.in (gen_copyright, version): Likewise.
* doc/automake.texi: Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years ago* NEWS: Add missing blank line between two entries.
Stefano Lattarini [Thu, 23 Dec 2010 21:57:34 +0000 (22:57 +0100)]
* NEWS: Add missing blank line between two entries.

13 years agoMerge branch 'tests-suffix-extend'
Stefano Lattarini [Thu, 23 Dec 2010 20:41:45 +0000 (21:41 +0100)]
Merge branch 'tests-suffix-extend'

Conflicts:
tests/suffix10.test

13 years agoImprove and extend tests `suffix*.test'.
Stefano Lattarini [Fri, 15 Oct 2010 15:37:38 +0000 (17:37 +0200)]
Improve and extend tests `suffix*.test'.

* tests/suffix.test: Check that suffix rules for C compilation are
only included once.  Try also with a static library.
* tests/suffix2.test: Add a new grep to help potential debugging.
Do not run automake with the `--add-missing' options, since we
already create all the needed auxiliary files.  Try also *without*
the `no-dependencies' automake option.
* tests/suffix4.test: Make grepping of Makefile.in stricter.
* tests/suffix3.test: Rewritten to run also autoconf, ./configure
and make.
* tests/suffix5.test: Likewise.
* tests/suffix6.test: Fix botched recipe indentation (eight spaces
were used instead of a tabulation character).  Extend to check
that `.obj' is handled like `.$(OBJEXT)' (as is done for `.o').
Improved parsing & grepping of generated Makefile.in.  Other minor
fixes and improvements.
* tests/suffix10.test: Move some checks in Makefile.am.  Also run
"make all".
* tests/suffix12.test: Likewise, and account for VPATH issues in
weaker make implementations.
* tests/suffix11.test: Likewise.  Also, run "make distcheck", for
completeness, and related changes.
* tests/suffix8.test: Likewise.  Also, do not put `gcc' anymore
in $required.
* tests/suffix13.test: Do not use the `--force-missing' automake
option unnecessarily.
* tests/suffix6b.test: New test, semantic sister of `suffix6.test'.
* tests/suffix6c.test: Likewise.
* tests/Makefile.am (TESTS): Updated.

13 years agoWork around a bug in file-inclusion mechanism of Solaris make.
Stefano Lattarini [Fri, 14 May 2010 19:19:32 +0000 (21:19 +0200)]
Work around a bug in file-inclusion mechanism of Solaris make.

* automake.in (handle_single_transform): In the name of the
dependency file: collapse multiple slash characters into a single
one.
* tests/subobj11a.test: New test.
* tests/subobj11b.test: Likewise.
* tests/subobj11c.test: Likewise.
* tests/depcomp8a.test: Likewise.
* tests/depcomp8b.test: Likewise.
* tests/Makefile.am (TESTS): Updated.
* NEWS: Updated.

Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
patch and tests by Stefano Lattarini.

13 years agoAdd some tests on 'cygnus' mode.
Stefano Lattarini [Tue, 21 Dec 2010 21:59:19 +0000 (22:59 +0100)]
Add some tests on 'cygnus' mode.

* tests/clean2.test: Extend.
* tests/cygnus-check-without-all.test: New test.
* tests/cygnus-dependency-tracking.test: Likewise.
* tests/cygnus-distclean.test: Likewise.
* tests/cygnus-imply-foreign.test: Likewise.
* tests/cygnus-no-dist.test: Likewise.
* tests/cygnus-no-installinfo.test: Likewise.
* tests/cygnus-requires-maintainer-mode.test: Likewise.
* tests/Makefile.am (TESTS): Update.

13 years agoMerge branch 'tests-init'
Stefano Lattarini [Wed, 22 Dec 2010 20:01:07 +0000 (21:01 +0100)]
Merge branch 'tests-init'

13 years agoFix parallel testsuite run with Zsh.
Stefano Lattarini [Sat, 30 Jan 2010 13:01:39 +0000 (14:01 +0100)]
Fix parallel testsuite run with Zsh.

This change deals with a Zsh incompatibility in the handling
of the special shell variable `$0' in sourced files; this
incompatibility used to cause utter breakage when the
Automake testsuite was run in parallel mode with Zsh as
the $(TEST_LOG_COMPILER).

For more information, please refer to the thread "Fix parallel
testsuite run with zsh" on automake-patches, dated 2010-12-22:
 <http://lists.gnu.org/archive/html/automake-patches/2010-12/msg00135.html>

This change works around the problems described above for Zsh 4.3
or later, and offers better error messages (instead of random
failures) for earlier Zsh version.

* tests/README (Supported shells): When describing the manual
workaround about the Zsh incompatibility in the handling of `$0',
tell that it is now needed only with Zsh versions preceding 4.3.
Done also some minor rewordings.
* tests/defs-static.in ($argv0): New variable, offers a workaround
for the Zsh incompatibility in the handling of `$0'.
Abort if that variable cannot be correctly set (can happen only
in older Zsh version).
* tests/defs ($me): Define using `$argv0', not `$0'.

13 years agoTests defs: keep track of original $AUTOMAKE and $ACLOCAL values.
Stefano Lattarini [Wed, 22 Dec 2010 09:36:18 +0000 (10:36 +0100)]
Tests defs: keep track of original $AUTOMAKE and $ACLOCAL values.

This is especially useful for tests which might want to run
automake and aclocal without additional flags and warnings.

* tests/defs-static.in ($original_ACLOCAL): New variable.
($original_AUTOMAKE): Likewise.
* tests/help.test: Use them.
* tests/help2.test: Likewise.
* tests/help3.test: Likewise.
* tests/help4.test: Likewise.

From a suggestion by Ralf Wildenhues.

13 years agoFix two spurious testsuite failures on IRIX 6.5.
Stefano Lattarini [Tue, 16 Nov 2010 21:28:26 +0000 (22:28 +0100)]
Fix two spurious testsuite failures on IRIX 6.5.

* tests/suffix13.test (Makefile.am): Account for VPATH issues on
weaker make implementations (e.g. IRIX 6.5).
* tests/parallel-tests8.test: Likewise, plus a required related
change.

Reported by Ralf Wildenhues.  The bugs have been there from the
first versions of the affected test scripts.

13 years agodocs: cygnus mode doesn't require AM_CYGWIN32 macro.
Stefano Lattarini [Tue, 21 Dec 2010 23:08:53 +0000 (00:08 +0100)]
docs: cygnus mode doesn't require AM_CYGWIN32 macro.

* doc/automake.texi (Cygnus): Mode 'cygnus' does not require
the AM_CYGWIN32 macro (and indeed hasn't required it since at
least commit Release-1-2-31-g3038064 "merged changes from
Cygnus" of 1997-08-25).

13 years agoMerge branch 'maint'
Stefano Lattarini [Tue, 21 Dec 2010 14:44:14 +0000 (15:44 +0100)]
Merge branch 'maint'

13 years agoMerge branch 'fix-test-distlinksbrk-botched-make-k' into maint
Stefano Lattarini [Tue, 21 Dec 2010 14:39:37 +0000 (15:39 +0100)]
Merge branch 'fix-test-distlinksbrk-botched-make-k' into maint

13 years agodistlinksbrk.test: Work around botched "make -k".
Stefano Lattarini [Tue, 21 Dec 2010 14:38:08 +0000 (15:38 +0100)]
distlinksbrk.test: Work around botched "make -k".

* tests/distlinksbrk.test: Run "make" multiple times and grep
its output each time for a single error message, rather than
running "make -k" one single time and grepping its output for
all the expected error messages.  This should work around make
implementations with limited (broken?) `-k' support; for more
information, see these subthreads on the automake-patches list:
  - 2010-11-15, "Testsuite failures on HP-UX 11.23",
    <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
  - 2010-11-15, "Testsuite failures on IRIX 6.5",
    <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>

13 years agoMinor improvements to test 'amopts.test'.
Stefano Lattarini [Tue, 21 Dec 2010 01:41:20 +0000 (02:41 +0100)]
Minor improvements to test 'amopts.test'.

* tests/amopts.test: Remove botched comment.  Make grepping of
automake stderr slighty stricter.  Add trailing `:' command.

13 years agoMerge branch 'backcompat-tests'
Stefano Lattarini [Tue, 21 Dec 2010 01:34:34 +0000 (02:34 +0100)]
Merge branch 'backcompat-tests'

13 years agobackcompat6.test: avoid comments inside recipe commands.
Stefano Lattarini [Tue, 21 Dec 2010 01:33:43 +0000 (02:33 +0100)]
backcompat6.test: avoid comments inside recipe commands.

* tests/backcompat6.test: Remove shell comments from makefile rule
commands, as they are not portable to (at least) Tru64 make.

13 years agoMerge branch 'tests-man-fixes'
Stefano Lattarini [Tue, 21 Dec 2010 01:22:22 +0000 (02:22 +0100)]
Merge branch 'tests-man-fixes'

13 years agoman8.test: avoid comments inside recipe commands.
Stefano Lattarini [Tue, 21 Dec 2010 01:15:08 +0000 (02:15 +0100)]
man8.test: avoid comments inside recipe commands.

* tests/man8.test: Remove shell comments from makefile rule
commands, as they are not portable to (at least) Tru64 make.

13 years agoMerge branch 'maint'
Stefano Lattarini [Tue, 21 Dec 2010 01:02:56 +0000 (02:02 +0100)]
Merge branch 'maint'

13 years agoFix sed-related buglet in test "subdir5.test"
Stefano Lattarini [Tue, 21 Dec 2010 01:00:40 +0000 (02:00 +0100)]
Fix sed-related buglet in test "subdir5.test"

* tests/subdir5.test: Always terminate text passed to the
`i' sed command with a newline, to work around limitations
in e.g. older OpenBSD sed.

13 years agoMerge branch 'auxdir-tests'
Stefano Lattarini [Tue, 21 Dec 2010 00:32:15 +0000 (01:32 +0100)]
Merge branch 'auxdir-tests'

13 years agoFix spurious failures in tests on AC_CONFIG_AUX_DIR.
Stefano Lattarini [Tue, 21 Dec 2010 00:31:50 +0000 (01:31 +0100)]
Fix spurious failures in tests on AC_CONFIG_AUX_DIR.

* tests/auxdir7.test: Do not try to needlessly overwrite the files
`install-sh' and `missing'.  This avoid spurious failures in "make
distcheck", when those files might be copied as read-only from the
`lib' directory.
* tests/auxdir8.test: Likewise.

13 years agoMerge branch 'tests-posixsubst-specialvars'
Stefano Lattarini [Sat, 18 Dec 2010 12:43:28 +0000 (13:43 +0100)]
Merge branch 'tests-posixsubst-specialvars'

13 years agoMake test 'posixsubst-script' portable to MinGW/MSYS.
Stefano Lattarini [Sat, 18 Dec 2010 12:34:23 +0000 (13:34 +0100)]
Make test 'posixsubst-script' portable to MinGW/MSYS.

* tests/posixsubst-script.test: Ensure that the generated dummy
scripts really start with a shebang line, to work around a
limitation of 'test -x' on MinGW/MSYS.

Reported by Ralf Wildenhues.

13 years agoImprove comments in tests `posixsubst*.test'.
Stefano Lattarini [Sat, 18 Dec 2010 11:58:04 +0000 (12:58 +0100)]
Improve comments in tests `posixsubst*.test'.

* tests/posixsubst-data.test: Improve comment explaining why we
try also empty match suffix.
* tests/posixsubst-extradist.test: Likewise.
* tests/posixsubst-ldadd.test: Likewise.
* tests/posixsubst-libraries.test: Likewise.
* tests/posixsubst-ltlibraries.test: Likewise.
* tests/posixsubst-programs.test: Likewise.
* tests/posixsubst-scripts.test: Likewise.
* tests/posixsubst-sources.test: Likewise.
* tests/posixsubst-tests.test: Likewise.

Suggested by Ralf Wildenhues.

13 years agoMerge branch 'maint'
Stefano Lattarini [Sat, 18 Dec 2010 11:22:49 +0000 (12:22 +0100)]
Merge branch 'maint'

13 years agoMerge branch 'tests-init'
Stefano Lattarini [Sat, 18 Dec 2010 11:22:46 +0000 (12:22 +0100)]
Merge branch 'tests-init'

13 years agodocs: fix blunder in example about python extension modules
Stefano Lattarini [Sat, 18 Dec 2010 11:17:14 +0000 (12:17 +0100)]
docs: fix blunder in example about python extension modules

* doc/automake.texi (Python): Use `quaternion_la_SOURCES',
not `quaternion_SOURCES', to declare the sources of python
extension module `quaternion.la'.

13 years agoMerge branch 'tests-lexyacc-extend'
Stefano Lattarini [Sat, 18 Dec 2010 10:54:15 +0000 (11:54 +0100)]
Merge branch 'tests-lexyacc-extend'

13 years agoExtend, fix and improve tests on Lex and Yacc support.
Stefano Lattarini [Fri, 7 May 2010 13:07:37 +0000 (15:07 +0200)]
Extend, fix and improve tests on Lex and Yacc support.

* tests/lexcpp.test: New test script, on support for Lex + C++.
* tests/lexvpath.test: New test script, test build and rebuild
rules for lexers in VPATH setup.
* tests/yacc-basic.test: New test script, run simple "semantic"
checks on basic Yacc support (similarly to what lex3.test does
for Lex support).
* tests/lex.test: Don't create useless dummy source file joe.l.
Remove extra blank lines.
* tests/lex4.test: Add trailing `:' command.  Do not create dummy
useless lex source file.
* tests/lex2.test: Likewise.  Call automake with the `-a' option,
so that it doesn't fail for the absence of `ylwrap' script.  Make
grepping of automake stderr stricter.
* tests/yacc7.test: Add trailing `:' command.  Enable `errexit'
shell flag earlier (just after having sourced ./defs).
* tests/yacc4.test: Likewise.  Also ...
(configure.in): Use pre-populated skeleton set up by ./defs,
instead of writing one from scratch.
Other minor cosmetic changes.
* tests/yacc5.test: Likewise.
* tests/yaccvpath.test: Likewise. Also ...
($distdir): New variable.
Use it throughout.
* tests/lex5.test: Likewise.
* tests/lex3.test: Likewise.  Check the distdir, rather than
grepping the distribution tarball.  Extend the test on the
created binary, and be sure to avoid hangs.  Add some comments.
* tests/yacc.test: Use stricter grepping.  Add trailing `:'.
* tests/yacc6.test: Likewise.
* tests/yacc3.test: Likewise.  Do not create the unused file
`Makefile.sed'.  Remove useless rules from Makefile.am.  Other
minor cosmetic changes.
* tests/yacc2.test: Make grepping of generated `Makefile.in' and
of automake error messages stricter.  Do not redirect output of
grep to /dev/null.  Move call to aclocal earlier.  Reduce the
number of empty blank lines.  Fix a typo in comments.
* tests/yacc8.test: Fixed bugs that reduced the completeness of
the tests.  Added trailing `:' command.
(configure.in): Use pre-populated skeleton set up by ./defs,
instead of writing one from scratch.
* tests/yaccpp.test: Test also extensions `.y++', `.ypp', and
`.yxx', rather than only `.yy'.
* tests/Makefile.am (TESTS): Update.

13 years agoMerge branch 'tests-canon-fixes'
Stefano Lattarini [Thu, 16 Dec 2010 23:27:34 +0000 (00:27 +0100)]
Merge branch 'tests-canon-fixes'

13 years agoMinor cleanups in canon7.test.
Stefano Lattarini [Thu, 16 Dec 2010 23:26:38 +0000 (00:26 +0100)]
Minor cleanups in canon7.test.

* tests/canon7.test (_foo_bar_SOURCES): Remove libs.c.
(configure.in): Remove AC_PROG_CXX.

13 years agoMerge branch 'tests-remake-extend'
Ralf Wildenhues [Thu, 16 Dec 2010 18:58:56 +0000 (19:58 +0100)]
Merge branch 'tests-remake-extend'

* tests-remake-extend:
  Avoid false positive in sc_tests_plain_make maintainer-check.

13 years agoAvoid false positive in sc_tests_plain_make maintainer-check.
Ralf Wildenhues [Thu, 16 Dec 2010 18:58:21 +0000 (19:58 +0100)]
Avoid false positive in sc_tests_plain_make maintainer-check.

* Makefile.am (sc_tests_plain_make): Ensure to only match full
`make' words.  Avoid false positive with remake11.test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agoMerge branch 'tests-canon-fixes'
Ralf Wildenhues [Thu, 16 Dec 2010 18:55:50 +0000 (19:55 +0100)]
Merge branch 'tests-canon-fixes'

* tests-canon-fixes:
  Fix canon7.test failure.

13 years agoFix canon7.test failure.
Ralf Wildenhues [Thu, 16 Dec 2010 18:55:28 +0000 (19:55 +0100)]
Fix canon7.test failure.

* tests/canon7.test (_foo_bar_SOURCES): Add foobar.c.
(lib.h, libd.c, libs.c): Use const for constant strings.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agoMerge branch 'tests-posixsubst-specialvars'
Ralf Wildenhues [Thu, 16 Dec 2010 18:53:43 +0000 (19:53 +0100)]
Merge branch 'tests-posixsubst-specialvars'

* tests-posixsubst-specialvars:
  Fix typos in test comments.

13 years agoFix typos in test comments.
Ralf Wildenhues [Thu, 16 Dec 2010 18:52:48 +0000 (19:52 +0100)]
Fix typos in test comments.

* tests/posixsubst-data.test, tests/posixsubst-extradist.test,
tests/posixsubst-ldadd.test, tests/posixsubst-libraries.test,
tests/posixsubst-ltlibraries.test, tests/posixsubst-programs.test,
tests/posixsubst-scripts.test, tests/posixsubst-sources.test,
tests/posixsubst-tests.test: Fix typos.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agodocs: list LTLIBRARIES among Automake primaries
Stefano Lattarini [Thu, 16 Dec 2010 18:47:36 +0000 (19:47 +0100)]
docs: list LTLIBRARIES among Automake primaries

* doc/automake.texi (Uniform): List `LTLIBRARIES' among
the Automake primaries.

13 years agoMore uses of AS_HELP_STRING in automake macros.
Stefano Lattarini [Sun, 12 Dec 2010 13:17:41 +0000 (14:17 +0100)]
More uses of AS_HELP_STRING in automake macros.

* m4/depend.m4 (AM_DEP_TRACK): Use `AS_HELP_STRING' to format
the help message added to the generated configure.
* m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
* m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
* m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
* m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
Also, bumped all serial numbers of the modified m4 files.

13 years agoMerge branch 'maint'
Stefano Lattarini [Thu, 16 Dec 2010 11:22:22 +0000 (12:22 +0100)]
Merge branch 'maint'

13 years agoMerge branch 'auxdir-tests'
Stefano Lattarini [Thu, 16 Dec 2010 11:20:47 +0000 (12:20 +0100)]
Merge branch 'auxdir-tests'

13 years agoMerge branch 'tests-remake-extend'
Stefano Lattarini [Thu, 16 Dec 2010 11:16:01 +0000 (12:16 +0100)]
Merge branch 'tests-remake-extend'

13 years agoMerge branch 'tests-canon-fixes'
Stefano Lattarini [Thu, 16 Dec 2010 11:07:18 +0000 (12:07 +0100)]
Merge branch 'tests-canon-fixes'

13 years agoTests: extend checks on remake rules.
Stefano Lattarini [Fri, 13 Aug 2010 09:50:31 +0000 (11:50 +0200)]
Tests: extend checks on remake rules.

This adds proper semantical tests (i.e. run make to check the
rebuild rules are correctly triggered) in addition to tentative
grepping of the generated Makefile.in(s).

* tests/remake.test: Enable `errexit' shell flag, and related
changes.  Modernize `configure.in'.  Add trailing `:' command.
Improve heading comments, and add a reference to new sister test
remake1a.test.
* tests/remake3.test: Likewise (but with sister test being
remake3a.test).
* tests/remake2.test: Improve heading comments.  Enable `errexit'
shell flag, and related changes.  Modernize `configure.in'.  Make
grepping of `Makefile.in' slightly stricter.  Add trailing `:'
command.
* tests/remake5.test: Also run the `distcheck' target.  Add
trailing `:' command.  Use proper m4 quoting in configure.in.
* tests/remake4.test: Prefer `$me' over hard-coded test name.
* tests/remake7.test: Use the `configure.in' stub created by
./defs, rather than writing it from scratch.
* tests/remake6.test: Likewise.  Also, add trailing `:' command,
and ensure verbose printing of captured make output.
* tests/remake1a.test: New test, sister of remake.test.
* tests/remake3a.test: New test, sister of remake3.test.
* tests/remake8a.test: New test.
* tests/remake8b.test: Likewise.
* tests/remake9a.test: Likewise.
* tests/remake9b.test: Likewise.
* tests/remake9c.test: Likewise.
* tests/remake9d.test: Likewise.
* tests/remake10a.test: Likewise.
* tests/remake10b.test: Likewise.
* tests/remake10c.test: Likewise.
* tests/remake11.test: Likewise.
* tests/remake12.test: Likewise.
* tests/Makefile.am (TESTS): Updated.

13 years agoExtended tests on AC_CONFIG_AUX_DIR.
Stefano Lattarini [Fri, 7 May 2010 22:32:22 +0000 (00:32 +0200)]
Extended tests on AC_CONFIG_AUX_DIR.

* tests/auxdir.test: Enable `errexit' shell flag.  Prefer `$me'
over hard-coded test name.  Use proper m4 quoting.  Add trailing
`:' command.
* tests/auxdir2.test: Likewise.  Try to call automake also with
the `-a' option, so that it will not fail for spurious reasons.
* tests/auxdir3.test: Add an explanatory comment and a trailing
`:' command.
* tests/auxdir4.test: Prefer `$me' over hard-coded test name.
Make grepping of automake stderr slightly stricter.  Also, now
this test just checks about Automake's reaction to unportable
auxiliary directory names (and it has been extended in this
respect).  Moved the checks about non-existent auxiliary
directories to ...
* tests/auxdir5.test: ... this new test.
* tests/auxdir6.test: New test.
* tests/auxdir7.test: Likewise.
* tests/auxdir8.test: Likewise.
* tests/auxdir9.test: Likewise.
* tests/Makefile.am (TESTS): Updated.

13 years agoImprove tests on generated portions of configure help screen.
Stefano Lattarini [Sun, 12 Dec 2010 13:17:41 +0000 (14:17 +0100)]
Improve tests on generated portions of configure help screen.

* tests/help-depend.test: Grepping of configure help screen
relaxed to cater for possible line wrapping, and tightened in
other respects.
* tests/help-depend2.test: Likewise.
* tests/help-dmalloc.test: Likewise.
* tests/help-lispdir.test: Likewise.
* tests/help-maintainer.test: Likewise.
* tests/help-multilib.test: Likewise.
* tests/help-silent.test: Likewise.
* tests/help-upc.test: Likewise.
* tests/help-init.test: Grepping of configure help screen
tightened.

13 years agoMerge branch 'tests-libobj-fix'
Stefano Lattarini [Mon, 13 Dec 2010 23:21:07 +0000 (00:21 +0100)]
Merge branch 'tests-libobj-fix'

13 years agoLibobj tests: refer to automake bug tracker for limitations.
Stefano Lattarini [Mon, 13 Dec 2010 23:11:25 +0000 (00:11 +0100)]
Libobj tests: refer to automake bug tracker for limitations.

* tests/libobj15b.test (configure.in): In the comment explaining
why an apparently redundant AC_OUTPUT is indeed needed, refer
to the relevant entry in the Automake bug tracker rather than
describing the bug in detail with a FIXME-style comment.
* tests/libobj15c.test: Likewise.
* tests/libobj20b.test: Likewise.

13 years agoLibobj tests: do not use `##' automake comments in-line.
Stefano Lattarini [Mon, 13 Dec 2010 22:11:54 +0000 (23:11 +0100)]
Libobj tests: do not use `##' automake comments in-line.

* tests/libobj19.test (Makefile.am): Do not use inline `##'
comments in the definition of AUTOMAKE_OPTIONS.
* tests/libobj20c.test: Likewise.

Report by Ralf Wildenhues.

13 years agoTests defs: requirement 'xsi-shell' must be synced with libtool.
Stefano Lattarini [Mon, 13 Dec 2010 21:59:54 +0000 (22:59 +0100)]
Tests defs: requirement 'xsi-shell' must be synced with libtool.

* tests/defs (xsi-shell): Add comment telling to keep the
XSI-conformance checks in sync with libtool.

13 years agoImprove and extend tests on canonicalization.
Stefano Lattarini [Mon, 28 Jun 2010 10:40:55 +0000 (12:40 +0200)]
Improve and extend tests on canonicalization.

* tests/canon-name.test: Add trailing `:' command.  When writing
configure.in, prefer to use $me instead of hard-coding the test
name.
* tests/canon3.test: Prefer trailing `:' over trailing `Exit 0'.
* tests/canon4.test: Likewise.  Make grepping of Makefile.in
stricter.  Improve heading comment, and add reference to ...
* tests/canon6.test: ... this new test (sister test of the
previous one).
* tests/canon.test: Prefer cat + here-doc over echo to append
text to configure.in.  Extend grepping of Automake stderr.  Add
trailing `:' command.
* tests/canon5.test: Likewise.
* tests/canon7.test: New file, stress test on canonicalization.
* tests/canon8.test: New test, for better coverage (check that
the `@' character is not transliterated in canonicalizations).
* tests/Makefile.am: Updated.

13 years agoMerge branch 'tests-dejagnu-extend'
Ralf Wildenhues [Mon, 13 Dec 2010 19:24:49 +0000 (20:24 +0100)]
Merge branch 'tests-dejagnu-extend'

* tests-dejagnu-extend:
  Fix testsuite failure of check12.test without DejaGNU.

13 years agoFix testsuite failure of check12.test without DejaGNU.
Ralf Wildenhues [Mon, 13 Dec 2010 19:23:57 +0000 (20:23 +0100)]
Fix testsuite failure of check12.test without DejaGNU.

* tests/check12.test: Require runtest.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agoMerge branch 'tests-init'
Stefano Lattarini [Sun, 12 Dec 2010 21:57:55 +0000 (22:57 +0100)]
Merge branch 'tests-init'

13 years agoMerge branch 'tests-libobj-extend'
Stefano Lattarini [Sun, 12 Dec 2010 21:35:02 +0000 (22:35 +0100)]
Merge branch 'tests-libobj-extend'

13 years agoMerge branch 'tests-posixsubst-specialvars'
Stefano Lattarini [Sun, 12 Dec 2010 21:34:44 +0000 (22:34 +0100)]
Merge branch 'tests-posixsubst-specialvars'

13 years agoTests defs: more uses of $top_testsrcdir.
Stefano Lattarini [Sun, 12 Dec 2010 21:10:05 +0000 (22:10 +0100)]
Tests defs: more uses of $top_testsrcdir.

* tests/compile6.test: Use `$top_testsrcdir' instead of
`$testsrcdir/..'.

13 years agoMerge branch 'tests-colon-extend'
Stefano Lattarini [Fri, 10 Dec 2010 21:26:47 +0000 (22:26 +0100)]
Merge branch 'tests-colon-extend'

13 years agoMerge branch 'tests-dejagnu-extend'
Stefano Lattarini [Fri, 10 Dec 2010 21:26:03 +0000 (22:26 +0100)]
Merge branch 'tests-dejagnu-extend'

13 years agoExtend and improve tests on DejaGnu support.
Stefano Lattarini [Sat, 16 Oct 2010 15:03:03 +0000 (17:03 +0200)]
Extend and improve tests on DejaGnu support.

* tests/dejagnu.test: Do not create useless dummy test script.
Add trailing `:' command.  In heading comments, add reference
to ...
* tests/check12.test: ... this new "semantic" test, covering
concurrent use of dejagnu tests, simple tests and `check-local'
target.
* tests/dejagnu2.test: Make test more reliable, by avoid weak
grepping of make output.  Prefer `cat' over `echo' to append
to configure.in.  Quote literal dots in grep regexps.  Prefer
`grep -c ...' over `grep ... | wc -l'.  Make grepping of
automake stderr slightly stricter.  Add trailing `:' command.
* tests/dejagnu3.test: Prefer `cat' over `echo' to append to
configure.in.  Check stderr of expected-to-fail "make" call.
Remove extra blank lines from Makefile.am.
* tests/dejagnu4.test: Prefer `cat' over `echo' to append to
configure.in.  Prefer `mv -f' over plain `mv' when the target
file already exists.  Avoid extra mkdir calls by creating more
directories at once.  Better use of blank lines.  Check that
the `*.log' and `*.sum' files are created by runtest also when
"make check" fails.
* tests/dejagnu7.test: Prefer `cat' over `echo' to append to
configure.in.  Better use of blank lines.  Add a trailing `:'
command.
* tests/dejagnu6.test: Likewise, and give the dejagnu test a
more descriptive name.
* tests/dejagnu5.test: Likewise.  Also, simply define package
name to `$me' rather than using a non-obvious sed script to
extract it from `AC_INIT', and write the Makefile.am with only
one command.
* tests/Makefile.am (TESTS): Updated.

13 years agoAvoid running installed automake from 'libtool --help'.
Ralf Wildenhues [Fri, 10 Dec 2010 06:39:04 +0000 (07:39 +0100)]
Avoid running installed automake from 'libtool --help'.

* tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
Together with fixed Libtool, this fixes check-coverage to not
invoke installed automake.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agoExtend tests on AC_LIBOBJ and friends.
Stefano Lattarini [Tue, 31 Aug 2010 13:14:29 +0000 (15:14 +0200)]
Extend tests on AC_LIBOBJ and friends.

* tests/aclibobj.test: Removed, superseded by ...
* tests/libobj1.test: ... this new test, which runs autoconf,
./configure and make, to ensure everything really works.
* tests/libobj3.test: Add trailing `:' command.  Quote literal dot
in grep regexp.
* tests/libobj4.test: Enable `errexit' shell flag, and related
changes.  Add trailing `:' command.  Use proper m4 quoting.
* tests/ltlibobjs.test: Likewise.
* tests/libobj5.test: Enable `errexit' shell flag, and related
changes.  Add trailing `:' command.  Make more robust by using
longer filenames to be grepped.
* tests/libobj8.test: Enable `errexit' shell flag, and related
changes.  Add trailing `:' command.  Use the configure.in
stub provided by ./defs, rather than writing it from scratch.
* tests/libobj2.test: Likewise.  Also, add calls to autoconf,
./configure and make, to ensure everything really works.
* tests/libobj7.test: Likewise, and ensure that at least one
function listed in AC_REPLACE_FUNCTIONS is truly replaced.
* tests/libobj13.test: Make grepping of Automake stderr slighty
stricter.  Add trailing `:' command.
* tests/libobj12.test: Likewise.  Also, prefer "cat + here-doc"
over "echo" to append to Makefile.am, and some cosmetic changes
in spacing.
* tests/libobj14.test: Call `Exit 1' if sourcing of ./defs fails.
Slighty improve m4 quoting.  Add trailing `:' command.
* tests/libobj10.test: Add calls to autoconf, ./configure and
make, to ensure everything really works.  Also, remove tests that
nonexistent source for AC_LIBOBJ cause an Automake failure: this
is already checked by ...
* tests/libobj15a.test: ... this new test.
* tests/libobj15b.test: New test, sister test of libobj15a.test,
checks AC_LIBSOURCE instead of AC_LIBOBJ.
* tests/libobj15c.test: New test, sister test of libobj15a.test,
checks AC_LIBSOURCES instead of AC_LIBOBJ.
* tests/libobj11.test: Removed, superseded by ...
* tests/libobj16a.test: ... this new test.
* tests/libobj16b.test: New test, sister test of libobj16a.test,
but using oldish/depracated idioms.
* tests/libobj17.test: New test.
* tests/libobj18.test: Likewise.
* tests/libobj19.test: Likewise.
* tests/libobj20a.test: Likewise.
* tests/libobj20b.test: Likewise.
* tests/libobj20c.test: Likewise.
* tests/Makefile.am (TESTS): Updated.

13 years agoTest `$(var:suf=rpl)' expansion in special automake variables.
Stefano Lattarini [Tue, 30 Nov 2010 11:22:25 +0000 (12:22 +0100)]
Test `$(var:suf=rpl)' expansion in special automake variables.

* tests/posixsubst-data.test: New test.
* tests/posixsubst-extradist.test: Likewise.
* tests/posixsubst-ldadd.test: Likewise.
* tests/posixsubst-libraries.test: Likewise.
* tests/posixsubst-ltlibraries.test: Likewise.
* tests/posixsubst-programs.test: Likewise.
* tests/posixsubst-scripts.test: Likewise.
* tests/posixsubst-sources.test: Likewise.
* tests/posixsubst-tests.test: Likewise.
* tests/Makefile.am (TESTS): Update.

13 years agoMake tests `colon*.test' more "semantic".
Stefano Lattarini [Tue, 16 Nov 2010 23:40:42 +0000 (00:40 +0100)]
Make tests `colon*.test' more "semantic".

Prefer running configure and make over grepping the generated
files; this is both more correct and less fragile.
* tests/colon.test: Made more "semantic", as described above.
* tests/colon5.test: Likewise.
* tests/colon6.test: Likewise.
* tests/colon7.test: Likewise.
* tests/colon2.test: Likewise, and improve syncing with sister
test `colon3.test'.
* tests/colon3.test: Likewise (but with the sister test being
`colon2.test' here).

13 years agoTests required tools: also try `-v' option for GNU compilers.
Stefano Lattarini [Fri, 12 Nov 2010 16:18:09 +0000 (17:18 +0100)]
Tests required tools: also try `-v' option for GNU compilers.

* tests/defs.in: In the loop on "$required" tools, for gcc
and g++, also run "gcc -v" (resp. "g++ -v"), to get more
information, and for consistency with gcj.

13 years agoTests defs: avoid some useless subshells.
Stefano Lattarini [Fri, 12 Nov 2010 16:12:05 +0000 (17:12 +0100)]
Tests defs: avoid some useless subshells.

* tests/defs: In the loop on "$required" tools: avoid subshells
where not needed.

13 years agofix typo in ChangeLog date
Stefano Lattarini [Mon, 6 Dec 2010 21:35:00 +0000 (22:35 +0100)]
fix typo in ChangeLog date

13 years agotweaked ChangeLog after merge
Stefano Lattarini [Mon, 6 Dec 2010 21:23:03 +0000 (22:23 +0100)]
tweaked ChangeLog after merge

13 years agoMerge branch 'test-overrid-split'
Stefano Lattarini [Mon, 6 Dec 2010 21:21:53 +0000 (22:21 +0100)]
Merge branch 'test-overrid-split'

13 years agoMerge branch 'tests-set-e-enable-1'
Stefano Lattarini [Mon, 6 Dec 2010 21:19:36 +0000 (22:19 +0100)]
Merge branch 'tests-set-e-enable-1'

13 years agoMerge branch 'tests-misc-fixes-3'
Stefano Lattarini [Mon, 6 Dec 2010 21:19:36 +0000 (22:19 +0100)]
Merge branch 'tests-misc-fixes-3'

13 years agosilent8.test: use "|| Exit 1" after ". ./defs".
Stefano Lattarini [Thu, 2 Dec 2010 12:28:33 +0000 (13:28 +0100)]
silent8.test: use "|| Exit 1" after ". ./defs".

13 years agoMerge branch 'tests-set-e-enable-2'
Stefano Lattarini [Thu, 2 Dec 2010 12:25:10 +0000 (13:25 +0100)]
Merge branch 'tests-set-e-enable-2'

13 years agoEnable `set -e' in more tests (plus some tweakings).
Stefano Lattarini [Fri, 20 Aug 2010 20:33:44 +0000 (22:33 +0200)]
Enable `set -e' in more tests (plus some tweakings).

* tests/mkinstall.test: Enable `errexit' shell flag, and related
changes.  Add a trailing `:' command, if needed.
* tests/mdate2.test: Likewise.
* tests/objc.test: Likewise.
* tests/noinst.test: Likewise.
* tests/outdir.test: Likewise.
* tests/number.test: Likewise.
* tests/pluseq.test: Likewise.
* tests/req.test: Likewise.
* tests/rulepat.test: Likewise.
* tests/specflg6.test: Likewise.
* tests/spell3.test: Likewise.
* tests/parse.test: Likewise, and ...
(configure.in): Use the stub created by ./defs, rather than
writing it from scratch.  Remove useless calls to AC_PROG_RANLIB
and AC_OUTPUT.
* tests/mdate4.test: Likewise.
* tests/mkinstall.test: Likewise, and ...
(configure.in): ... drop useless call to `AC_OUTPUT'.
* tests/output.test: Enable `errexit' shell flag, and related
changes.  Add a trailing `:' command.
(configure.in): Modernize.
* tests/output2.test: Likewise.
* tests/output3.test: Likewise.
* tests/output4.test: Likewise.
* tests/mdate3.test: Enable `errexit' shell flag, and related
changes.  Prefer `$me' over hard-coded test name.
* tests/nodistdir.test: Enable `errexit' shell flag, and related
changes.  Prefer trailing `:' over trailing `Exit 0'.
* tests/nodist.test: Likewise.  Also, prefer cat + here-doc over
echo to create input test files, and do not create useless dummy
C source files.
* tests/nodist2.test: Likewise.
* tests/ppf77.test: Enable `errexit' shell flag, with related
changes.  Add a trailing `:' command.  Do not create useless
dummy source files.
* tests/spelling.test: Enable `errexit' shell flag, with related
changes.  Add a trailing `:' command.  Also, grep Automake error
message.
* tests/specflg3.test: Enable `errexit' shell flag, with related
changes.  Avoid unportable use of `-e' option of fgrep.  Prefer
trailing `:' over trailing `Exit 0'.  Remove extra empty lines,
and cosmetic changes to whitespaces.
* tests/obsolete.test: Enable `errexit' shell flag, with related
changes.  Improve verbosity.  Other miscellanous changes.

13 years agoMerge branch 'tests-colneq-improve'
Stefano Lattarini [Thu, 2 Dec 2010 12:14:32 +0000 (13:14 +0100)]
Merge branch 'tests-colneq-improve'

13 years agoImprove and extend tests on `:=' variable assignments.
Stefano Lattarini [Thu, 25 Nov 2010 13:33:54 +0000 (14:33 +0100)]
Improve and extend tests on `:=' variable assignments.

* tests/colneq.test: Avoid redundant use of variable assignments
in Makefile.am.  Use command-line automake options instead of
editing AUTOMAKE_OPTIONS in Makefile.am.  Make grepping of the
generated Makefile.in slightly stricter.  Add a trailing `:'
command.
* tests/colneq2.test: Do not create unneeded dummy files.  Run
also autoconf, ./configure and make.  Add trailing `:' command.
* tests/colneq3.test: New test, similar to colneq.test, but
running also autoconf, ./configure and make.
* tests/Makefile.am (TESTS): Update.

13 years agoMerge branch 'maint'
Stefano Lattarini [Sat, 27 Nov 2010 10:07:18 +0000 (11:07 +0100)]
Merge branch 'maint'

13 years agoRemove long-deprecated options --Werror and --Wno-error.
Stefano Lattarini [Fri, 26 Nov 2010 15:04:06 +0000 (16:04 +0100)]
Remove long-deprecated options --Werror and --Wno-error.

These options has been deprecated at least since commit
"Release-1-6-1b-35-gc037f20", dated 2002-07-06.

* automake.in (parse_arguments): Do not recognize anymore options
`--Werror' and `--Wno-error' as synonyms of respectively `-Werror'
and `-Wno-error'.
* tests/werror.test: Update: use `-Werror' instead of `--Werror'.
* NEWS: Update.

13 years agoFix typo in ChangeLog
Stefano Lattarini [Sat, 27 Nov 2010 10:00:24 +0000 (11:00 +0100)]
Fix typo in ChangeLog

13 years agoMerge branch 'maint'
Stefano Lattarini [Thu, 25 Nov 2010 21:49:56 +0000 (22:49 +0100)]
Merge branch 'maint'

13 years agoFix spurious silent*.test failures for $CC != gcc
Stefano Lattarini [Thu, 25 Nov 2010 21:06:14 +0000 (22:06 +0100)]
Fix spurious silent*.test failures for $CC != gcc

In some tests on automake-produced silent rules, we forced the
use of gcc depmode to improve testsuite coverage; but this has
unsurprisingly led to spurious failures when some non-GNU C
compilers were used.  So we are now careful to require GCC in
tests that force gcc depmode.

From reports by Ralf Wildenhues.

* silent5.test: Test removed, its content split into ...
* silent-many-generic.test, silent-many-gcc.test: ... these new
sister tests, the latter of which forces gcc depmode and lists
"gcc" in $required.
* silentlex.test: Test removed, its content split into ...
* silent-lex-generic.test, silent-lex-gcc.test: ... these new
sister tests, the latter of which forces gcc depmode and lists
"gcc" in $required.
* silentyacc.test: Test removed, its content split into ...
* silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
sister tests, the latter of which forces gcc depmode and lists
"gcc" in $required.
* tests/Makefile.am (TESTS): Updated.

13 years agoModernize, improve and/or tweak some test scripts.
Stefano Lattarini [Mon, 14 Jun 2010 15:40:42 +0000 (17:40 +0200)]
Modernize, improve and/or tweak some test scripts.

* tests/maintclean.test: Use proper m4 quoting.  Add trailing `:'
command.
* tests/sinclude.test: Likewise, and add a couple of blank lines,
for clarity.
* tests/make.test: 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.  Some
cosmetic changes in spacing.  Ensure we wait enough time before
touching configure.in to trigger the rebuild rules.
* tests/makej.test: Use `$me' instead of hard-coding the test
name.  Add trailing `:' command.
* tests/version7.test: Likewise.
* tests/space.test: Enable `errexit' shell flag, and related
changes.
* tests/makevars.test: Likewise.  Also, prefer trailing `:' over
trailing `Exit 0', and be more tolerant of white spaces when
grepping Makefile.in.

13 years agoFix some typos in ChangeLog
Stefano Lattarini [Thu, 25 Nov 2010 11:34:59 +0000 (12:34 +0100)]
Fix some typos in ChangeLog

13 years agoSeparate checks on target overriding into multiple test scripts.
Stefano Lattarini [Wed, 24 Nov 2010 14:01:31 +0000 (15:01 +0100)]
Separate checks on target overriding into multiple test scripts.

* tests/overrid.test: Deleted, its contents separated into ...
* tests/override-suggest-local.test: ... this new test ...
* tests/override-html.test: ... and this new test ...
* tests/override-conditional-1.test: ... and this new test ...
* tests/override-conditional-2.test: ... and this new test (still
xfailing).
* tests/Makefile.am (TESTS, XFAIL_TESTS): Updated.

13 years agoMerge branch 'maint'
Stefano Lattarini [Thu, 25 Nov 2010 11:21:00 +0000 (12:21 +0100)]
Merge branch 'maint'

13 years agoFix many typos in ChangeLog
Stefano Lattarini [Thu, 25 Nov 2010 11:16:45 +0000 (12:16 +0100)]
Fix many typos in ChangeLog

13 years agoMerge branch 'maint'
Stefano Lattarini [Sun, 21 Nov 2010 20:57:34 +0000 (21:57 +0100)]
Merge branch 'maint'

13 years agoTests: consistently use "|| Exit 1" after ". ./defs".
Stefano Lattarini [Sun, 21 Nov 2010 15:25:45 +0000 (16:25 +0100)]
Tests: consistently use "|| Exit 1" after ". ./defs".

The test scripts below has been modified with this command:
 $ sed -i 's/^\. \.\/defs *$/& || Exit 1/' tests/*.test

* tests/autohdr.test: Use `. ./defs || Exit 1', not bare
`. ./defs', for consistency with other tests.
* tests/autohdr2.test: Likewise.
* tests/autohdr3.test: Likewise.
* tests/autohdr4.test: Likewise.
* tests/cond23.test: Likewise.
* tests/cond24.test: Likewise.
* tests/cond25.test: Likewise.
* tests/cond26.test: Likewise.
* tests/cond27.test: Likewise.
* tests/cond28.test: Likewise.
* tests/cond29.test: Likewise.
* tests/cond30.test: Likewise.
* tests/cond31.test: Likewise.
* tests/cond32.test: Likewise.
* tests/cond33.test: Likewise.
* tests/cond34.test: Likewise.
* tests/cond35.test: Likewise.
* tests/cond36.test: Likewise.
* tests/cond37.test: Likewise.
* tests/cond38.test: Likewise.
* tests/cond39.test: Likewise.
* tests/cond40.test: Likewise.
* tests/cond41.test: Likewise.
* tests/cond42.test: Likewise.
* tests/cond43.test: Likewise.
* tests/cond44.test: Likewise.
* tests/cond45.test: Likewise.
* tests/dollarvar.test: Likewise.
* tests/dollarvar2.test: Likewise.
* tests/hfs.test: Likewise.
* tests/libobj14.test: Likewise.
* tests/percent.test: Likewise.
* tests/percent2.test: Likewise.
* tests/phony.test: Likewise.
* tests/silent.test: Likewise.
* tests/silent2.test: Likewise.
* tests/silent3.test: Likewise.
* tests/silent4.test: Likewise.
* tests/silent5.test: Likewise.
* tests/silent6.test: Likewise.
* tests/silent7.test: Likewise.
* tests/silent9.test: Likewise.
* tests/silentcxx.test: Likewise.
* tests/silentf77.test: Likewise.
* tests/silentf90.test: Likewise.
* tests/silentlex.test: Likewise.
* tests/silentyacc.test: Likewise.

13 years agoAvoid useless cleaning in some `silent*.test' tests.
Stefano Lattarini [Sun, 21 Nov 2010 14:46:20 +0000 (15:46 +0100)]
Avoid useless cleaning in some `silent*.test' tests.

* tests/silentf77.test: Removed useless calls to "make clean"
and "make maintainer-clean".
* tests/silentf90.test: Likewise.
* tests/silent3.test: Removed useless call to "make distclean".
* tests/silent4.test: Likewise.
* tests/silent9.test: Likewise.

13 years agoMerge branch 'fix-release-stats-for-generated-tests'
Stefano Lattarini [Sat, 20 Nov 2010 11:09:51 +0000 (12:09 +0100)]
Merge branch 'fix-release-stats-for-generated-tests'

13 years agoCode cleanup after removal of option `--output-directory'.
Stefano Lattarini [Thu, 18 Nov 2010 17:09:14 +0000 (18:09 +0100)]
Code cleanup after removal of option `--output-directory'.

* automake.in ($output_directory): Remove, it's unconditionally
defined to `.' and used only ...
(generate_makefile): ... in this subroutine, which now has been
edited and simplified accordingly.

13 years agoRemove obsolete automake option `--output-directory'.
Stefano Lattarini [Thu, 18 Nov 2010 16:59:14 +0000 (17:59 +0100)]
Remove obsolete automake option `--output-directory'.

This option has been deprecated since version 1.7 (2002/2003).

* automake.in ($output_directory): Define to `.' unconditionally.
(parse_arguments): Remove handling of equivalent options `-o' and
`--output-directory'.
* tests/outdir.test: Removed.
* tests/no-outdir-option.test: New test.
* tests/Makefile.am (TESTS): Updated.
* NEWS: Updated.