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

python question

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-24 15:06:02 CEST

When I run 'make check' I get update_tests.py fails:

Running all tests in commit_tests.py...success
Running all tests in update_tests.py...FAILURE
Running all tests in prop_tests.py...success

When I run
 'python ~/sw/subversion/svn/subversion/tests/clients/cmdline/update_tests.py'
from the command line it works

PASS: update_tests.py 1: update a locally-modified binary file
PASS: update_tests.py 2: update to an old revision of a binary files
PASS: update_tests.py 3: ensure update is not munging additions or replacements
PASS: update_tests.py 4: update to revision 0
PASS: update_tests.py 5: Make sure overlapping idental changes do not conflict.

The test/log contains

START: update_tests.py
PASS: update_tests.py 1: update a locally-modified binary file
Traceback (most recent call last):
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/update_tests.py", line 560, in ?
    svntest.main.run_tests(test_list)
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/svntest/main.py", line 419, in run_tests
    exit_code = _internal_run_tests(test_list, testnum)
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/svntest/main.py", line 367, in _internal_run_tests
    if run_one_test(n, test_list):
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/svntest/main.py", line 351, in run_one_test
    error = apply(func, args)
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/update_tests.py", line 248, in update_binary_file_2
    None, None, None, None, wc_dir):
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/svntest/actions.py", line 335, in run_and_verify_commit
    if run_and_verify_status(wc_dir_name, status_output_tree):
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/svntest/actions.py", line 356, in run_and_verify_status
    mytree = tree.build_tree_from_status (output)
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/svntest/tree.py", line 587, in build_tree_from_status
    lastline = string.strip(lines.pop())
IndexError: pop from empty list
END: update_tests.py

Anyone got any ideas?

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 24 15:07:25 2002

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.