[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-06-01 16:08:20 CEST

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, just checking for lt- at the
beginning and incrementing the pointer past those characters seems
like a somewhat reasonable work around....

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 1 16:08:55 2006

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