Commit Graph

224 Commits

Author SHA1 Message Date
Stepan Kasal
76aa0e4c11 a typo 2005-04-04 10:19:10 +00:00
Paul Eggert
da9ffbaaaf (AT_INIT): Don't assume that "date +%s" fails if %s isn't supported. 2005-04-01 07:27:53 +00:00
Paul Eggert
789f0bf6ff * NEWS: The configure command now warns you if you attempt to use
a directory whose name contains a special character like space,
newline, or "\".
* doc/autoconf.texi (Installation Directory Variables): Allow
"," in file names.  Do not use \@; it's not a portable regexp.
* bin/Makefile.am (edit): Likewise.
* lib/Makefile.am (edit): Likewise.
* tests/Makefile.am (edit): Likewise.
* tests/semantics.at: Likewise.
* tests/torture.at: Likewise.
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
* lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
* doc/autoconf.texi (File System Conventions): Warn about
unportable file names.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
(AC_INIT): Use it.
(_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
ac_pwd, and quote srcdir.
* lib/autotest/general.m4 (AT_INIT): Quote file name args.
2005-03-23 01:01:58 +00:00
Paul Eggert
10cd1172b4 Regenerate. 2005-02-23 23:26:05 +00:00
Paul Eggert
c28abf84de * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
(AC_COPYRIGHT): Factor header comment portion out and move into...
* lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
* lib/autotest/general.at (AT_COPYRIGHT): New macro.
(AT_INIT): Add Autotest copyright notice.  Display copyright notices in
--version output.
* tests/local.at: Add Autoconf test suite copyright notice.
* doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
* NEWS: Mention AT_COPYRIGHT.
2005-02-05 07:58:43 +00:00
Paul Eggert
2d6b67fdf0 (AT_TESTED, AT_KEYWORDS): Use newline as a separator, not space.
(AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not space.
2005-02-04 07:35:55 +00:00
Paul Eggert
5ed6babbee Regenerate. 2005-02-01 00:59:56 +00:00
Paul Eggert
8afb8f8e62 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when this is safe.
* lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
* tests/mktests.sh: Likewise.
2005-01-28 21:21:32 +00:00
Paul Eggert
778ced2bda * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
(AT_SETUP): Clear AT_capture_files.
(_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
(AT_KEYWORDS): Fix comment typo.
* tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
* tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
* doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2005-01-01 08:12:12 +00:00
Akim Demaille
6834e94321 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
avoid cluttering displayed messages.  Rather, prepend srcdir where
AT_LINE is used for log files.
2004-12-22 13:29:09 +00:00
Akim Demaille
fa96c5a632 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
separated from the test title by forcing a white space.
2004-12-21 12:47:57 +00:00
Akim Demaille
337a92a529 Enable Emacs navigation within testsuite.log files.
* lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
use the compilation mode.
(AT_LINE): Point to the srcdir.
2004-12-21 12:25:08 +00:00
Paul Eggert
5a5aef27e9 Regenerate. 2004-12-20 04:12:52 +00:00
Paul Eggert
b788fb9a74 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
* lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2004-12-19 14:40:36 +00:00
Paul Eggert
1a135aaa8d * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
(_AT_CHECK): Use it.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
(AS_ESCAPE): Fix comment.
* tests/autotest.at: Adjust section banner comments.
(AT_CHECK_AT): Accept STATUS and STDERR.
(AT_CHECK_AT_TEST): Likewise.
(Invalid brace-enclosed parameter expansion)
(Multiline command from M4 expansion)
(Double-M4-quoted command): New tests.
2004-12-19 14:25:56 +00:00
Paul Eggert
bea2437161 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
tracing on commands with possibly-escaped newlines.
* doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
discontinued behavior and its implications.
* tests/autotest.at (BS-newline in command, ^BS-newline in command)
(BSx641-newline in command, BS-BS-newline in command)
(BSx640-newline in command, Newline-CODE-BS-newline in command)
(Single-quote-BS-newline in command)
(Single-quote-newline-BS-newline in command): New tests.
2004-12-14 01:04:25 +00:00
Paul Eggert
4a91f65386 (_AT_CHECK) [--trace]: Rework a shell pattern
to avoid using a negated character class.  Reported by Nicolas Joly.
2004-12-12 09:49:16 +00:00
Paul Eggert
04dcf25d6e * bin/.cvsignore: Add autoconf.in.
* tests/.cvsignore: Add wrapper.in.

* man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.

* lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.

* tests/autotest.at: New file.
* tests/suite.at: Include it.
* tests/Makefile.am: Distribute it.

* lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
  shell tracing on a command that could contain multiple lines.
* doc/autoconf.text: Document that fact and its implications.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
* tests/autotest.at (Multiline backquote command substitution,
  Multiline parameter expansion, Literal multiline command,
  Multiline parenthetical command substitution): Remove XFAIL.
2004-12-10 07:08:52 +00:00
Paul Eggert
9657d427ac Regenerate. 2004-12-09 21:15:19 +00:00
Paul Eggert
b1d940cc81 Regenerate. 2004-12-09 21:02:41 +00:00
Paul Eggert
c567224651 * lib/autotest/general.m4 (AT_INIT): Replace a tr' with a sed'. Join
PATH members so as to not prepend an empty element.  Move a comment.
* Makefile.am (SUBDIRS): Build in `tests' last.
* tests/Makefile.am (installcheck-local): Add check-local dependencies.
2004-12-09 21:01:37 +00:00
Paul Eggert
31d84d895a (AT_INIT): Don't assume /dev/null is readable; it's not true in OS/2-emx. 2004-09-05 22:26:41 +00:00
Paul Eggert
2b1990a208 Regenerate. 2004-08-21 00:00:29 +00:00
Paul Eggert
6b1c07685a Use "file name" rather than "filename" or "path",
to be consistent with the terminology of the GNU coding standards.
2004-08-20 19:58:06 +00:00
Paul Eggert
01f2558bd5 (AT_INIT, AT_CLEANUP, _AT_CHECK, AT_CHECK_NOESCAPE):
Allow spaces in file names.
2004-08-20 06:22:12 +00:00
Paul Eggert
34638b0340 Regenerate. 2004-06-04 17:32:49 +00:00
Paul Eggert
555f6e9cfe Regenerate. 2004-05-03 06:22:29 +00:00
Paolo Bonzini
7c1b2b4c78 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
(AS_INIT): Output shell initialization there. Removed optional
parameter. Expand _AS_SHELL_FN_SPY.
(AS_INIT_WITH_SHELL_FN): Removed.
(_AS_SHELL_FN_SPY): New macro.
(AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
macros.
(AS_SHELL_SANITIZE): Remove loop to find better shell
and documentation for the parameter.
(_AS_DETECT_BETTER_SHELL): Move it here.
(_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
(_AS_RUN): Move it here, support testing with eval.
(AS_REQUIRE_SHELL_FN): Require shell functions when
it is used.
(_AS_LINENO_WORKS): Put around braces, we do not
trigger the bash bug anymore.
* lib/autotest/general.m4: Document M4SH-SANITIZE, do not
use AS_INIT_WITH_SHELL_FN.
* bin/autoconf.in, tests/wrapper.in: Regenerated.
2004-01-30 14:29:18 +00:00
Paul Eggert
5f8650d8c3 Resync and/or copy from original sources. 2004-01-27 19:25:05 +00:00
Paul Eggert
12475c8947 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires. 2004-01-05 07:05:22 +00:00
Paolo Bonzini
0723ac047b 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
        Extracted from AS_SHELL_SANITIZE.
        (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
        macros.
        (AS_SHELL_SANITIZE): Move reinvocation code from
        _AS_LINENO_WORKS, use it to find out if shell
        functions work.
        (_AS_LINENO_WORKS): Don't find another shell if $LINENO
        does not work.
        (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
        (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
        was called.
        * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
        * bin/autoconf.in: Regenerate.
        * tests/wrapper.in: Regenerate.
        * tests/tools.at: Test the syntax of tests/autoconf
        and tests/testsuite.
2003-11-27 10:04:12 +00:00
Alexandre Duret-Lutz
727294e819 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
and ac_abs_top_srcdir are absolute paths.
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2003-11-05 11:58:43 +00:00
Akim Demaille
8d5d3bd898 * configure.ac: Quotation and formatting changes.
(EMACS): Don't set it if it is not recent enough to support
autoconf-mode.el.
From Eric Sunshine.
2003-10-03 07:07:13 +00:00
Akim Demaille
f58280e8cc The test suite are sometimes assigning timings incorrectly.
Reported by Paivio Pollari.
Diagnosed by Nicolas Joly.
* lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
AT_help_all.
Instead of making AT_help a sequence of assignments to grow
$at_help_all, just make AT_help_all be the growing contents of
$at_help_all, and make a single assignment in...
(AT_INIT): here.
(at_times_skip): Flip the meaning and rename as...
(at_times_p): this.
(AT_INIT): When summarizing the test that ran, remove
$at_times_file after use, and check it is present before trying to
use it.
2003-09-26 08:12:38 +00:00
Akim Demaille
f2e174acbe Version 2.57d.
* config/install-sh: Upgrade from CVS Automake.
2003-09-25 08:33:32 +00:00
Akim Demaille
1649ca79e6 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
(autom4te-update): New.
* Makefile.cfg (update): Bind autom4te-update.
2003-08-20 06:29:54 +00:00
Derek Price
e5333fb2d2 * lib/autotest/general.m4: Comment various HELP_* diversions.
(PARSE_ARGS_BEGIN): New section for option parsing related
initialization.
(AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
package specific options and associated help.
2003-08-19 18:21:39 +00:00
Derek Price
30c4fcea69 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
shorter column three.  Add DESCRIPTION to log file content.
2003-08-14 13:49:05 +00:00
Derek Price
b2722eb1c8 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
output.
2003-08-13 21:35:28 +00:00
Derek Price
43eea41b9e * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
(AT_CHECK_NOESCAPE): Move core functionality to...
(_AT_CHECK): ...this new macro.
2003-08-12 19:01:34 +00:00
Derek Price
bdb8ae014e * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
(AT_CHECK_NOESCAPE): ...to this new macro.
2003-08-07 17:47:48 +00:00
Akim Demaille
e3c0ef0f8d * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
not all of them.  This fixes 1. the fact that when testing
Autoconf there are many many config.log, 2. the incorrect use of
top_srcdir to find config.log.
Don't mix the detailed output of failed test with the summary of
failures.  Rather, append detailed log afterwards.
2003-06-23 15:29:02 +00:00
Akim Demaille
9c4ac634f9 Regen. 2003-06-23 08:39:09 +00:00
Akim Demaille
97df4a3e31 Regen with fixed Automake. 2003-06-20 08:18:15 +00:00
Akim Demaille
f6d54deb80 * lib/autotest/general.m4: Use at_times_file only if used.
From Nicolas Joly.
2003-06-20 07:53:03 +00:00
Akim Demaille
2e52204a16 Regen. 2003-06-20 07:34:29 +00:00
Paolo Bonzini
c102ed8494 Add expected failures to autotest. 2003-06-12 11:03:55 +00:00
Paolo Bonzini
df6cb74cb6 Overhaul Autotest's logging: generate separate log files
in testsuite.dir/NNN/testsuite.log, and append them to
testsuite.log instead of re-running the test verbosely.
Adapt documentation.  Update NEWS to signal possible bad
interactions between -x and experr.
2003-05-22 21:52:43 +00:00
Akim Demaille
3cb00cdb8b * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
* lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
* lib/autoconf/c.m4, lib/autoconf/fortran.m4,
* lib/autoconf/general.m4, lib/autoconf/headers.m4,
* lib/autoconf/lang.m4, lib/autoconf/libs.m4,
* lib/autoconf/programs.m4, lib/autoconf/specific.m4,
* lib/autoconf/status.m4, lib/autoconf/types.m4,
* lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
* tests/atspecific.m4, tests/base.at, tests/compile.at,
* tests/foreign.at, tests/m4sh.at, tests/semantics.at,
* tests/tools.at, tests/torture.at:
Whitespace clean up.
Suggested by Jim Meyering.
2003-05-22 13:24:04 +00:00
Akim Demaille
f2da1c1ca5 Regen. 2003-05-06 07:17:42 +00:00