[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: question about the C test framework

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2006-06-03 19:50:34 CEST

On Thu, 01 Jun 2006 19:38:20 +0530, Garrett Rooney
<rooneg@electricjellyfish.net> wrote:

> On 5/30/06, Madan U Sreenivasan <madan@collab.net> wrote:
>> On Tue, 30 May 2006 20:39:50 +0530, Malcolm Rowe
>> <malcolm-svn-dev@farside.org.uk> wrote:
>>
>> > On Tue, May 30, 2006 at 08:19:01PM +0530, Madan U Sreenivasan wrote:
>> >> I guess I have to remove the 'lt-' that comes at the beginning of
>> >> argv[0],
>> >> and I can safely assume that all tests will have a generated
>> lt-script,
>> >> whose name would be present in argv[0].
>> >>
>> >
>> > No. If you compile with --disable-shared, libtool doesn't create
>> > wrappers.
>> >
>> > You still haven't explained why you think this is a problem.
>>
>> Its not a problem. It just puts a few hurdles in trying to print the
>> script name in the help message. I wanted to use argv[0], which gives
>> 'lt-' prepended to the script name.
>
> Honestly, I'm not sure it's something you need to worry about, but if
> it really bothers you that much,

Actually, looking at the usage message for lt-scriptname when the user
said 'scriptname --help' is not a good thing.

> just checking for lt- at the
> beginning and incrementing the pointer past those characters seems
> like a somewhat reasonable work around....

yeah, that would be the way around. Thank you.

Regards,
Madan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 3 19:52:55 2006

This is an archived mail posted to the Subversion Dev mailing list.