]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
authorDerek Price <derek@ximbiot.com>
Mon, 18 Aug 2003 16:48:26 +0000 (16:48 +0000)
committerDerek Price <derek@ximbiot.com>
Mon, 18 Aug 2003 16:48:26 +0000 (16:48 +0000)
RUN-IF-PASS optional arguments.

ChangeLog
doc/autoconf.texi

index 76eba81465af4abd2d9a1372624f99078083e458..74981545d35f4b0bb205ff0c55e0e8613b1f47b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-18  Derek Price <derek@ximbiot.com>
+
+       * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
+       RUN-IF-PASS optional arguments.
+
 2003-08-18  Derek Price  <derek@ximbiot.com>
 
        * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
index 0ea3f00b67f94f12d3d2a736ab38e91f5a2d719e..afffdf8b568ff75673f9dd630dc100e9cb489d3e 100644 (file)
@@ -14408,12 +14408,14 @@ brackets to protect against included commas or spurious M4
 expansion.  The contents ought to end with an end of line.
 @end defmac
 
-@defmac AT_CHECK (@var{commands}, @dvar{status, @samp{0}}, @dvar{stdout, @samp{}}, @dvar{stderr, @samp{}})
+@defmac AT_CHECK (@var{commands}, @dvar{status, @samp{0}}, @dvar{stdout, @samp{}}, @dvar{stderr, @samp{}}, @ovar{run-if-fail}, @ovar{run-if-pass})
 @atindex CHECK
 Execute a test by performing given shell @var{commands}.  These commands
 should normally exit with @var{status}, while producing expected
 @var{stdout} and @var{stderr} contents.  If @var{commands} exit with
-status 77, then the whole test group is skipped.
+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}.
 
 The @var{commands} @emph{must not} redirect the standard output, nor the
 standard error.