Improve documentation for writing autotest suites.

* doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention that
checks must live inside a test group.
Reported by Christopher Hulbert.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2008-02-22 16:23:48 -07:00
parent bf39a653c6
commit 01a17a6664
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2008-02-22 Eric Blake <ebb9@byu.net>
Improve documentation for writing autotest suites.
* doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention that
checks must live inside a test group.
Reported by Christopher Hulbert.
2008-02-21 Eric Blake <ebb9@byu.net>
Sync git-version-gen from upstream.

View File

@ -20227,6 +20227,8 @@ status 77, then the whole test group is skipped. Otherwise, if this test
fails, run shell commands @var{run-if-fail} or, if this test passes, run shell
commands @var{run-if-pass}.
This macro must be invoked in between @code{AT_SETUP} and @code{AT_CLEANUP}.
@c Previously, we had this:
@c The @var{commands} @emph{must not} redirect the standard output, nor the
@c standard error.