diff options
Diffstat (limited to 'subversion/bindings/swig/python/tests/run_all.py')
-rw-r--r-- | subversion/bindings/swig/python/tests/run_all.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/subversion/bindings/swig/python/tests/run_all.py b/subversion/bindings/swig/python/tests/run_all.py index acb0926..3a042e0 100644 --- a/subversion/bindings/swig/python/tests/run_all.py +++ b/subversion/bindings/swig/python/tests/run_all.py @@ -18,9 +18,10 @@ # under the License. # # +import sys import unittest, setup_path import mergeinfo, core, client, delta, checksum, pool, fs, ra, wc, repository, \ - auth, trac.versioncontrol.tests + auth, trac.versioncontrol.tests, typemap from svn.core import svn_cache_config_get, svn_cache_config_set # Run all tests @@ -28,7 +29,10 @@ from svn.core import svn_cache_config_get, svn_cache_config_set def suite(): """Run all tests""" settings = svn_cache_config_get() - settings.cache_size = long(1024*1024*32) ### Need explicit long + if sys.hexversion < 0x3000000: + settings.cache_size = long(1024*1024*32) ### Need explicit long + else: + settings.cache_size = 1024*1024*32 svn_cache_config_set(settings) s = unittest.TestSuite() s.addTest(core.suite()) @@ -43,6 +47,7 @@ def suite(): s.addTest(repository.suite()) s.addTest(auth.suite()) s.addTest(trac.versioncontrol.tests.suite()) + s.addTest(typemap.suite()) return s if __name__ == '__main__': |