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

Re: Running Python bindings tests on Windows?

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-01-03 23:38:15 CET

Hi David,

On 1/3/07, David James <james@cs.toronto.edu> wrote:
> On 1/3/07, David James <james@cs.toronto.edu> wrote:
> > > 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
> >
> > This looks like a bug in either the get_file function or the SWIG
> > wrapper. I'm not sure how to fix this one, or debug it. Ideas?
>
> It turns out that this was a bug in the test, which I fixed in r22888.
> Let me know if this helps. Everything should work on Windows now.
>
> Give it a try
>
> Cheers,
>
> David
>

Sweet!
--Joe Swatosh

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) ... ok
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) ... ok
test_check_wc (wc.SubversionWorkingCopyTestCase) ... ok
test_crawl_revisions2 (wc.SubversionWorkingCopyTestCase) ... ok
test_create_notify (wc.SubversionWorkingCopyTestCase) ... ok
test_entries_read (wc.SubversionWorkingCopyTestCase) ... ok
test_entry (wc.SubversionWorkingCopyTestCase) ... ok
test_get_adm_dir (wc.SubversionWorkingCopyTestCase) ... ok
test_get_ancestry (wc.SubversionWorkingCopyTestCase) ... ok
test_get_ignores (wc.SubversionWorkingCopyTestCase) ... ok
test_get_pristine_copy_path (wc.SubversionWorkingCopyTestCase) ... ok
test_init_traversal_info (wc.SubversionWorkingCopyTestCase) ... ok
test_is_adm_dir (wc.SubversionWorkingCopyTestCase) ... ok
test_is_entry_prop (wc.SubversionWorkingCopyTestCase) ... ok
test_is_normal_prop (wc.SubversionWorkingCopyTestCase) ... ok
test_is_wc_prop (wc.SubversionWorkingCopyTestCase) ... ok
test_lock (wc.SubversionWorkingCopyTestCase) ... ok
test_set_adm_dir (wc.SubversionWorkingCopyTestCase) ... ok
test_status (wc.SubversionWorkingCopyTestCase) ... ok
test_version (wc.SubversionWorkingCopyTestCase) ... ok
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

----------------------------------------------------------------------
Ran 76 tests in 52.374s

OK

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 3 23:38:35 2007

This is an archived mail posted to the Subversion Users mailing list.