autoconf-patches
[Top][All Lists]
Advanced

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

Re: 07AT_ARG_OPTION.diff


From: Derek Robert Price
Subject: Re: 07AT_ARG_OPTION.diff
Date: Tue, 29 Apr 2003 17:18:30 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02



Akim Demaille wrote:

Index: ChangeLog
2003-03-28  Derek Price  <address@hidden>

        * lib/autotest/general.m4: Comment various HELP_* diversions.
        (PARSE_ARGS_BEGIN): New section for option parsing related
        initialization.
        (AT_INIT): Reformat default help to delineate standard Autotest
        options from package specific ones.  Alter at_prev handling for
        arguments with options.
        (AT_ARG_OPTION,AT_ARG_OPTION_ARG): New macros to define package
        specific options and associated help.

Derek, could you comment your proposal please?  What is the purpose?
What kind of application do you have in mind?

This was all to define the AT_ARG_OPTION & AT_ARG_OPTION_ARG macros.

Basically, this allows a generated testsuite to accept arbitrary options on the command line.

My purpose was to allow the CVS test suite I am creating to accept some of the same options the old test suite did, for instance, -r to only run the remote tests and -s to specify the name of an alternate server executable to test against the client. I have duplicated the -r behavior using keywords, though it doesn't hurt to maintain the old options for backwards compatibility, but I hadn't come up with an easier way to implement -s <server> yet, which allows for testing a CVS client against an older (or newer) server executable instead of against itself.

Derek

--
               *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
--
Predeterminism was doomed from the start.







reply via email to

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