Re: Running Python bindings tests on Windows?
From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-01-03 07:10:10 CET
Hi David,
On 1/2/07, David James <james@cs.toronto.edu> wrote:
>
It looks quite a bit better. The tests run to completion. It looks
--
Joe Swatosh
Here are the results:
D:\SVN\src-trunk\subversion\bindings\swig\python>python tests\run_all.py -v
Test playing with C batons ... ok
Test direct method calls to callbacks ... ok
Test svn_client_checkout2. ... ok
test_client_ctx_baton_lifetime (client.SubversionClientTestCase) ... ok
Test svn_client_info on an empty repository ... ok
Test svn_client_log3 on a file:// URL ... ok
Test svn_client_mkdir2 on a file:// URL ... ok
Test svn_client_open_ra_session(). ... ok
Test svn_client_url_from_path for a file:// URL ... ok
Test svn_client_uuid_from_path. ... ok
Test svn_client_uuid_from_url on a file:// URL ... ok
Test tx_invoke_window_handler ... ok
Test assert_valid method on proxy objects ... ok
test_compatibility_layer (pool.PoolTestCase) ... ok
Check that integer struct members work correctly ... ok
Check that object struct members work correctly ... ok
test_pool (pool.PoolTestCase) ... ok
test_commit (ra.SubversionRepositoryAccessTestCase) ... ok
test_commit2 (ra.SubversionRepositoryAccessTestCase) ... ok
test_get_dir2 (ra.SubversionRepositoryAccessTestCase) ... ok
test_get_file (ra.SubversionRepositoryAccessTestCase) ... FAIL
test_get_file_revs (ra.SubversionRepositoryAccessTestCase) ... ok
test_get_latest_revnum (ra.SubversionRepositoryAccessTestCase) ... ok
test_get_locations (ra.SubversionRepositoryAccessTestCase) ... ok
test_get_repos_root (ra.SubversionRepositoryAccessTestCase) ... ok
test_get_uuid (ra.SubversionRepositoryAccessTestCase) ... ok
test_update (ra.SubversionRepositoryAccessTestCase) ... ok
test_access_path (wc.SubversionWorkingCopyTestCase) ... ERROR
test_check_wc (wc.SubversionWorkingCopyTestCase) ... ERROR
test_crawl_revisions2 (wc.SubversionWorkingCopyTestCase) ... FAIL
ERROR
test_create_notify (wc.SubversionWorkingCopyTestCase) ... ERROR
test_entries_read (wc.SubversionWorkingCopyTestCase) ... ERROR
test_entry (wc.SubversionWorkingCopyTestCase) ... ERROR
test_get_adm_dir (wc.SubversionWorkingCopyTestCase) ... ERROR
test_get_ancestry (wc.SubversionWorkingCopyTestCase) ... ERROR
test_get_ignores (wc.SubversionWorkingCopyTestCase) ... ERROR
test_get_pristine_copy_path (wc.SubversionWorkingCopyTestCase) ... FAIL
ERROR
test_init_traversal_info (wc.SubversionWorkingCopyTestCase) ... ERROR
test_is_adm_dir (wc.SubversionWorkingCopyTestCase) ... ERROR
test_is_entry_prop (wc.SubversionWorkingCopyTestCase) ... ERROR
test_is_normal_prop (wc.SubversionWorkingCopyTestCase) ... ERROR
test_is_wc_prop (wc.SubversionWorkingCopyTestCase) ... ERROR
test_lock (wc.SubversionWorkingCopyTestCase) ... ERROR
test_set_adm_dir (wc.SubversionWorkingCopyTestCase) ... ERROR
test_status (wc.SubversionWorkingCopyTestCase) ... ERROR
test_version (wc.SubversionWorkingCopyTestCase) ... ERROR
Make sure that repos.create doesn't segfault when we set fs-type ... ok
Test scope of dir_delta callbacks ... ok
Test the dump_fs2 function ... ok
Test scope of get_logs callbacks ... ok
Test playing with revprops ... ok
test_changeset_added_dirs
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_changeset_dir_moves
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_changeset_file_copy
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_changeset_file_edit
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_changeset_repos_creation
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_diff_dir_different_dirs
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_diff_dir_different_revs
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_diff_dir_no_change
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_diff_file_different_files
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_diff_file_different_revs
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_diff_file_no_change
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_dir_content
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_dir_entries
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_dir_properties
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_file_content
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_file_entries
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_file_properties
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_node (trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase)
... ok
test_get_node_history
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_node_history_follow_copy
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_node_specific_rev
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_path_history
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_path_history_copied_dir
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_get_path_history_copied_file
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
test_rev_navigation
(trac.versioncontrol.tests.svn_fs.SubversionRepositoryTestCase) ... ok
======================================================================
ERROR: test_access_path (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpuraled\\.svn\\entries'
======================================================================
ERROR: test_check_wc (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpdlt-pw\\.svn\\entries'
======================================================================
ERROR: test_crawl_revisions2 (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpgxa0we\\.svn\\entries'
======================================================================
ERROR: test_create_notify (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmp7nntzf\\.svn\\entries'
======================================================================
ERROR: test_entries_read (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpzmckdq\\.svn\\entries'
======================================================================
ERROR: test_entry (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmphyqz_7\\.svn\\entries'
======================================================================
ERROR: test_get_adm_dir (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpgutvpg\\.svn\\entries'
======================================================================
ERROR: test_get_ancestry (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmp41zg-z\\.svn\\entries'
======================================================================
ERROR: test_get_ignores (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpmbjc4b\\.svn\\entries'
======================================================================
ERROR: test_get_pristine_copy_path (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmp1elxzp\\.svn\\entries'
======================================================================
ERROR: test_init_traversal_info (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmp3jaqsg\\.svn\\entries'
======================================================================
ERROR: test_is_adm_dir (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpr0fd4v\\.svn\\entries'
======================================================================
ERROR: test_is_entry_prop (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmphkkyld\\.svn\\entries'
======================================================================
ERROR: test_is_normal_prop (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpbmayof\\.svn\\entries'
======================================================================
ERROR: test_is_wc_prop (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpy7p5y_\\.svn\\entries'
======================================================================
ERROR: test_lock (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpp3qyev\\.svn\\entries'
======================================================================
ERROR: test_set_adm_dir (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpqaq8p5\\.svn\\entries'
======================================================================
ERROR: test_status (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmphamz-p\\.svn\\entries'
======================================================================
ERROR: test_version (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 162, in tearDown
shutil.rmtree(self.path)
File "C:\python24\lib\shutil.py", line 163, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpdg5qxc\\.svn\\entries'
======================================================================
FAIL: test_get_file (ra.SubversionRepositoryAccessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\ra.py",
line 30, in test_get_file
self.assertEqual(rev, fs_revnum)
AssertionError: 10503392 != 14
======================================================================
FAIL: test_crawl_revisions2 (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 112, in test_crawl_revisions2
self.assertEqual(readme_path, info.path)
AssertionError:
'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmpgxa0we\\trunk\\README.txt'
!= 'c:\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\t
mpgxa0we/trunk/README.txt'
======================================================================
FAIL: test_get_pristine_copy_path (wc.SubversionWorkingCopyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\SVN\src-trunk\subversion\bindings\swig\python\tests\wc.py",
line 150, in test_get_pristine_copy_path
os.path.join(self.path, wc.get_adm_dir(), 'text-base', 'foo.svn-base'))
AssertionError:
'c:.svn/text-base/\\docume~1\\joe-sw~1.acs\\locals~1\\temp\\tmp1elxzp\\foo.svn-base'
!= 'c:\\docume~1\\joe-sw~1.acs\\locals~
1\\temp\\tmp1elxzp\\.svn\\text-base\\foo.svn-base'
----------------------------------------------------------------------
Ran 76 tests in 44.974s
FAILED (failures=3, errors=19)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 3 07:10:31 2007
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.