Subversion のテストツールである win-test.py を紹介します。
このツールでは Subversion の各種ライブラリの単体テストを 行います。通常リリース版では、このテストに PASS します。 しかし、trunk ではしばしば FAIL する場合があります。 このスクリプトを実行することにより何か問題があった 場合に容易に問題を把握することができるようになっています。
D:\svnwork\subversion\trunk>win-tests.py --help
Driver for running the tests on Windows.
Usage: python win-tests.py [option] [test-path]
Valid options:
-r, --release : test the Release configuration
-d, --debug : test the Debug configuration (default)
-u URL, --url=URL : run ra_dav or ra_svn tests against URL; will
start svnserve for ra_svn tests
-v, --verbose : talk more
-f, --fs-type=type : filesystem type to use (fsfs is default)
-c, --cleanup : cleanup after running a test
...
リリース版でテスト
D:\svnwork\subversion\trunk>win-tests.py -r
Testing Release configuration on local repository.
Running all tests in compat-test.exe [1/48]...success
Running all tests in config-test.exe [2/48]...success
Running all tests in diff-diff3-test.exe [3/48]...success
Running all tests in error-test.exe [4/48]...success
Running all tests in fs-test.exe [5/48]...success
Running all tests in hashdump-test.exe [6/48]...success
Running all tests in locks-test.exe [7/48]...success
Running all tests in opt-test.exe [8/48]...success
Running all tests in path-test.exe [9/48]...success
Running all tests in ra-local-test.exe [10/48]...success
Running all tests in random-test.exe [11/48]...success
...