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

Failing tests Darwin/Debian

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-05-27 17:32:29 CEST

Trying to set up a buildbot slave on my system, I had failing tests
(ra-local-test and svnsync_tests.py).

The problem looked like the system was linking to the wrong dynamic libs.

 Knowing Debian libtool can cause problems like that when testing
non-installed libs, I changed libtool to vanilla 1.5.22 (and later
also to 1.5.20). This didn't solve my test problems.

Ben Reser had the same failing test on Darwin (ra-local-test). He
figured out part of the patch below, which solved his problem on
Darwin. I extended the reasoning to svnsync which fixed both problems
for me on Debian.

BTW: The installed svn is 1.3.0-dev; I'm trying to compile trunk.

This is the patch required to get it going:
Index: build.conf
===================================================================
--- build.conf (revision 19840)
+++ build.conf (working copy)
@@ -308,7 +308,7 @@
 description = Subversion repository replicator
 type = exe
 path = subversion/svnsync
-libs = libsvn_ra libsvn_delta libsvn_subr apr
+libs = libsvn_subr libsvn_delta libsvn_ra apr
 install = bin

@@ -697,9 +697,8 @@
 path = subversion/tests/libsvn_ra_local
 sources = ra-local-test.c
 install = test
-libs = libsvn_test libsvn_ra_local libsvn_ra
- libsvn_fs libsvn_delta libsvn_subr
- aprutil apriconv apr
+libs = libsvn_subr libsvn_delta libsvn_fs libsvn_test
+ libsvn_ra_local libsvn_ra aprutil apriconv apr

 # ----------------------------------------------------------------------------
 # These are not unit tests at all, they are small programs that exercise

As buildsystems aren't my strong point, I greatly welcome comments!

bye,

Erik.
Received on Sat May 27 17:32:53 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.