autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 18doc-AT_CHECK-optional-shell-code.diff


From: Derek Robert Price
Subject: Re: 18doc-AT_CHECK-optional-shell-code.diff
Date: Mon, 18 Aug 2003 12:51:29 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Akim Demaille wrote:

> It occurred to me that I might want to comment further than the
> ChangeLog on these.  :) This is documentation for arguments the
> AT_CHECK macro already accepted but that I noticed was missing:

Yep, that's because I was unsure of the interface.  But OK.

Committed, with minor changes to merge with my recent doc-stdio-defaults patch:

Index: ChangeLog

2003-08-18  Derek Price <address@hidden>

        * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
        RUN-IF-PASS optional arguments.

Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.751
diff -u -r1.751 autoconf.texi
--- doc/autoconf.texi   18 Aug 2003 15:28:16 -0000      1.751
+++ doc/autoconf.texi   18 Aug 2003 16:47:04 -0000
@@ -14408,12 +14408,14 @@
expansion.  The contents ought to end with an end of line.
@end defmac

address@hidden AT_CHECK (@var{commands}, @dvar{status, @samp{0}}, @dvar{stdout, 
@samp{}}, @dvar{stderr, @samp{}})
address@hidden 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.


Derek

--
               *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
--
Since English is a mess, it maps well onto the problem space,
which is also a mess, which we call reality.

        - Larry Wall






reply via email to

[Prev in Thread] Current Thread [Next in Thread]