[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-05-30 16:49:01 CEST

On Tue, 30 May 2006 19:09:55 +0530, C. Michael Pilato
<cmpilato@collab.net> wrote:

> Kamesh Jayachandran wrote:
>>
>>>
>>> subversion/tests/libsvn_subr/.libs/lt-stream-test ? I dont see that.
>>>
>>> shell wrapper?
>>
>> libtool has the shell wrapper trick, which makes sure that correct
>> version of libs are getting loaded by the program that is getting
>> wrapped.
>> This shell wrapper sets the LD_LIBRARY_PATH and such to the relevant
>> libraries(in this case libs from your build area) and starts the wrapped
>> program.
>> Each build dir should have '.libs' directory, Not sure why you could not
>> see them, do 'ls -al'.
>
> There's another behavior I've noticed which can add confusion.
> Immediately
> after compilation, there is no "./libs/lt-myprogram". It doesn't get
> created until the first invocation of "myprogram":

hmmm. Thank you Kamesh, Mike.

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].

Regards,
Madan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 30 16:18:45 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.