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

Python testsuite on windows

From: Jens Peters <jpeters7677_at_gmx.de>
Date: Mon, 27 Apr 2009 21:15:58 +0200

Hi there,

Subversion 1.6.1, i'm trying to run the python testsuite on Windows, but
after starting it with:
python subversion\bindings\swig\python\tests\run_all.py

the suite failes quite fast with:

D:\develop\svn\subversion-1.6\subversion\bindings\swig\python\tests/..\svn\core.
py:47: DeprecationWarning: BaseException.message has been deprecated as
of Pytho
n 2.6
   self.message = message
D:\develop\svn\subversion-1.6\subversion\bindings\swig\python\tests\core.py:17:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
   self.assertEqual(svn.core.SubversionException('error message',
1).message,
...EEEEEETraceback (most recent call last):
   File "subversion\bindings\swig\python\tests\run_all.py", line 23, in
<module>
     unittest.main(defaultTest='suite')
   File "D:\opt\python\Lib\unittest.py", line 817, in __init__
     self.runTests()
   File "D:\opt\python\Lib\unittest.py", line 861, in runTests
     result = testRunner.run(self.test)
   File "D:\opt\python\Lib\unittest.py", line 753, in run
     test(result)
   File "D:\opt\python\Lib\unittest.py", line 464, in __call__
     return self.run(*args, **kwds)
   File "D:\opt\python\Lib\unittest.py", line 460, in run
     test(result)
   File "D:\opt\python\Lib\unittest.py", line 464, in __call__
     return self.run(*args, **kwds)
   File "D:\opt\python\Lib\unittest.py", line 460, in run
     test(result)
   File
"D:\develop\svn\subversion-1.6\subversion\bindings\swig\python\tests\trac
\test.py", line 33, in __call__
     self.setUp()
   File
"D:\develop\svn\subversion-1.6\subversion\bindings\swig\python\tests\trac
\versioncontrol\tests\svn_fs.py", line 58, in setUp
     self.tearDown()
   File
"D:\develop\svn\subversion-1.6\subversion\bindings\swig\python\tests\trac
\versioncontrol\tests\svn_fs.py", line 67, in tearDown
     repos.delete(REPOS_PATH)
   File "d:\opt\Subversion\python\libsvn\repos.py", line 93, in
svn_repos_delete
     return _repos.svn_repos_delete(*args)
svn.core.SubversionException: ("Can't remove
'd:\\tmp\\tmp542z21-trac-svnrepos\\
db\\rep-cache.db'", 720032)

As far as I can see the error is raised somewhere deep in APR. Any
ideas? I can remove the directory without any problems manually.

Regards,
Jens

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1950541
Received on 2009-04-27 21:16:29 CEST

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.