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

Testing environment

From: Sviatoslav Sviridov <svd_at_altlinux.ru>
Date: 2005-06-07 17:48:55 CEST

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
Received on Tue Jun 7 17:53:22 2005

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