You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sviatoslav Sviridov <sv...@altlinux.ru> on 2005/06/07 15:48:55 UTC

Testing environment

Hello,

It seems there is a problem in testing environment for dynamicaly linked
subversion.
I use "--disable-rpath --enable-shared --enable-dso" configgure flags
among others, and in that case there are no such library dependencies like:

libsvn_client -> libsvn_client_*
libsvn_fs -> libsvn_fs_*

That means that when tests are executed, required libraries (e.g.
libsvn_fs_fs) are searched in a system dirs, so alrready installed
libraries are used.
When we try to execute test in a chrooted environment or on the machine
without subversion installed, we get a lots of errors in the tests.

Currently I've used a workaround by setting LD_LIBRARY_PATH variable
like this:

LD_LIBRARY_PATH=`find subversion -type d -name .libs|while read dir; do
echo "%buildsubdir/$dir"; done|xargs echo|tr ' ' ':'`

It seems some kind of a solution required for testing framework...

-- 
Best Regards,
Sviatoslav Sviridov <Sviataslau_Svirydau at epam.com>
phone:  +375 (17) 210 1662, ext. 1503
fax:    +375 (17) 210 1168
mobile: +375 (29) 641 4214
-- 
Look at it this way: Your wife's spending $280 a month on meditation lessons to
forget $26,000 of college education. And you're still drinking ordinary scotch?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org