cdv test failures
Robert Collins
robertc at robertcollins.net
Wed May 24 23:52:18 BST 2006
I see cdv failures on about 50% of my test runs. Here is a sample:
======================================================================
FAIL: test_multiple_ranges (bzrlib.tests.test_diff.TestCDVDiffLib)
vvvv[log from
bzrlib.tests.test_diff.TestCDVDiffLib.test_multiple_ranges]-----
^^^^[log from
bzrlib.tests.test_diff.TestCDVDiffLib.test_multiple_ranges]-----
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/robertc/source/baz/integration/bzrlib/tests/test_diff.py",
line 221, in test_multiple_ranges
, [(0, 0, 3), (6, 4, 3), (9, 20, 7)])
File "/home/robertc/source/baz/integration/bzrlib/tests/test_diff.py",
line 217, in chk_blocks
self.assertEquals(matching, blocks)
AssertionError: [(0, 0, 3), (6, 4, 3), (9, 20, 7)] != [(0, 0, 3), (6, 4,
2), (8, 19, 8)]
======================================================================
FAIL: test_opcodes (bzrlib.tests.test_diff.TestCDVDiffLib)
vvvv[log from
bzrlib.tests.test_diff.TestCDVDiffLib.test_opcodes]-------------
^^^^[log from
bzrlib.tests.test_diff.TestCDVDiffLib.test_opcodes]-------------
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/robertc/source/baz/integration/bzrlib/tests/test_diff.py",
line 176, in test_opcodes
[('equal', 0,6, 0,6),
File "/home/robertc/source/baz/integration/bzrlib/tests/test_diff.py",
line 148, in chk_ops
self.assertEquals(codes, s.get_opcodes())
AssertionError: [('equal', 0, 6, 0, 6), ('insert', 6, 6, 6, 11),
('equal', 6, 16, 11, 21)] != [('equal', 0, 3, 0, 3), ('insert', 3, 3, 3,
8), ('equal', 3, 16, 8, 21)]
======================================================================
FAIL: test_cdv_unified_diff_files
(bzrlib.tests.test_diff.TestCDVDiffLibFiles)
vvvv[log from
bzrlib.tests.test_diff.TestCDVDiffLibFiles.test_cdv_unified_diff_files]
^^^^[log from
bzrlib.tests.test_diff.TestCDVDiffLibFiles.test_cdv_unified_diff_files]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/robertc/source/baz/integration/bzrlib/tests/test_diff.py",
line 387, in test_cdv_unified_diff_files
sequencematcher=SequenceMatcher)))
AssertionError: ['--- a2 \n', '+++ b2 \n', '@@ -4,6 +4,11 @@\n', ' d\n',
' e\n', ' f\n', '+x\n', '+y\n', '+d\n', '+e\n', '+f\n', ' g\n', ' h\n',
' i\n'] != ['--- a2 \n', '+++ b2 \n', '@@ -1,6 +1,11 @@\n', ' a\n', ' b
\n', ' c\n', '+d\n', '+e\n', '+f\n', '+x\n', '+y\n', ' d\n', ' e\n', ' f
\n']
----------------------------------------------------------------------
Cheers,
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060525/3875789b/attachment.pgp
More information about the bazaar
mailing list