"Philip M. Gollucci" <pgollucci_at_p6m7g8.com> writes:
> I plan to start doing maintenance for devel/subversion port in FreeBSD.
> The maintainer is etime and burnt out.
>
> What people usually do for tests of subversion ?
Run 'svn --version' to see that it identifies itself correctly.
Subversion has a regression test suite. Assuming fsfs, bdb, sasl,
neon, serf, swig, perl, python, ruby and java support then run the
tests over file://
$ make check CLEANUP=1
$ make check CLEANUP=1 FS_TYPE=bdb
$ make check CLEANUP=1 FSFS_PACKING=1
$ make check CLEANUP=1 FSFS_SHARDING=3
$ make check CLEANUP=1 FSFS_PACKING=1 FSFS_SHARDING=3
Run the tests over svn://
$ make svnserveautocheck CLEANUP=1
$ make svnserveautocheck CLEANUP=1 ENABLE_SASL=1
Run the tests over http://
$ make davautocheck CLEANUP=1
$ make davautocheck CLEANUP=1 HTTP_LIBRARY=serf
Test the bindings:
$ make check-swig-pl
$ make check-swig-py
$ make check-swig-rb
$ make check-javahl
For the really dedicated you can test combinations of the above, it
doesn't test anything new but there is a small chance that some of the
features interact:
$ make svnserveautocheck CLEANUP=1 FS_TYPE=bdb
$ make svnserveautocheck CLEANUP=1 FSFS_PACKING=1
$ make svnserveautocheck CLEANUP=1 FSFS_SHARDING=3
$ make svnserveautocheck CLEANUP=1 FSFS_PACKING=1 FSFS_SHARDING=3
$ make svnserveautocheck CLEANUP=1 ENABLE_SASL=1 FS_TYPE=bdb
$ make svnserveautocheck CLEANUP=1 ENABLE_SASL=1 FSFS_PACKING=1
$ make svnserveautocheck CLEANUP=1 ENABLE_SASL=1 FSFS_SHARDING=3
$ make svnserveautocheck CLEANUP=1 ENABLE_SASL=1 FSFS_PACKING=1 FSFS_SHARDING=3
$ make davautocheck CLEANUP=1 FS_TYPE=bdb
$ make davautocheck CLEANUP=1 FSFS_PACKING=1
$ make davautocheck CLEANUP=1 FSFS_SHARDING=3
$ make davautocheck CLEANUP=1 FSFS_PACKING=1 FSFS_SHARDING=3
$ make davautocheck CLEANUP=1 HTTP_LIBRARY=serf FS_TYPE=bdb
$ make davautocheck CLEANUP=1 HTTP_LIBRARY=serf FSFS_PACKING=1
$ make davautocheck CLEANUP=1 HTTP_LIBRARY=serf FSFS_SHARDING=3
$ make davautocheck CLEANUP=1 HTTP_LIBRARY=serf FSFS_PACKING=1 FSFS_SHARDING=3
$ make check-javahl FS_TYPE=bdb
If you can run an older server then configure it as described in
subversion/tests/cmdline/README and run the regression tests aginst it
using BASE_URL=... and SERVER_MINOR_VERSION=5 for a 1.5 server.
If you build with kwallet or Gnome keyring support then test those
manually.
--
Philip
Received on 2010-06-18 10:45:02 CEST