Hello,
I was trying to compile subversion 1.5.2 on CentOS 5.2 x86_64 and it seems there are couple of bugs in subversion test suite.
1. All clients are called with srcdir parameter and clients don't understand it:
$ grep srcdir tests.log
client-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_client
compat-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
config-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
diff-diff3-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_diff
error-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
fs-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_fs
hashdump-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
locks-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_fs
mergeinfo-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
opt-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
path-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
ra-local-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_ra_local
random-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_delta
repos-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_repos
revision-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
stream-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
string-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
time-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
translate-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
utf-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_subr
2. The second problem, if subversion already installed tests are linked with "old" libraries, not "new" one:
START: fs-test
fs-test: invalid option: --srcdir=/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_fs
svn_tests: Mismatched FS module version for 'fsfs': found 1.5.2, expected 1.5.1
FAIL: fs-test 1: begin a txn, check its name, then close it
$ pwd
/home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/tests/libsvn_fs
$ ldd fs-test
libsvn_repos-1.so.0 => /home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/libsvn_repos/.libs/libsvn_repos-1.so.0 (0x00002b3e21ecd000)
libsvn_fs-1.so.0 => /home/vvc/rpmbuild/BUILD/subversion-1.5.2/subversion/libsvn_fs/.libs/libsvn_fs-1.so.0 (0x00002b3e220f4000)
libsvn_fs_fs-1.so.0 => /usr/lib64/libsvn_fs_fs-1.so.0 (0x00002b3e222fb000)
libsvn_fs_base-1.so.0 => /usr/lib64/libsvn_fs_base-1.so.0 (0x00002b3e2251c000)
libsvn_delta-1.so.0 => /usr/lib64/libsvn_delta-1.so.0 (0x00002b3e22748000)
libsvn_fs_util-1.so.0 => /usr/lib64/libsvn_fs_util-1.so.0 (0x00002b3e22954000)
libsvn_subr-1.so.0 => /usr/lib64/libsvn_subr-1.so.0 (0x00002b3e22b55000)
...
Thanks,
Vadym Chepkov
Received on 2008-10-06 04:23:31 CEST