win32 selftest results

Alexander Belchenko bialix at ukr.net
Sun Jul 2 11:38:30 BST 2006


Alexander Belchenko пишет:
> John Arbash Meinel пишет:
>> Alexander Belchenko wrote:
>>> test_nonascii.UnicodeFilename.test_platform
>>>                                   FAIL          30ms
>>
>> ^-- I'm very suspicious about your setup if this test is failing, and it
>> make explain while all the other Unicode tests are failing.
>> This test just checks that if I create 3 files with unicode filenames,
>> when I do a 'os.listdir(u'.')' I get those three names back.
>> And then on Mac it checks that the filenames have been normalized.
>>
>> Can you send me the log for test_nonascii.UnicodeFilename.test_platform
>> That one may be the most revealing. (I'm busy the rest of the weekend,
>> but I'll try to look into it on Monday).
> 
> This log is shortest one:
> 
> ======================================================================
> FAIL: test_platform (bzrlib.tests.test_nonascii.UnicodeFilename)
> 
> vvvv[log from 
> bzrlib.tests.test_nonascii.UnicodeFilename.test_platform]-------
> converting os path '.' => url 
> file:///E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp/test_nonascii.UnicodeFilename.test_platform 
> 
> 
> ^^^^[log from 
> bzrlib.tests.test_nonascii.UnicodeFilename.test_platform]-------
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "E:\work\MyCode\bzr\devel\jam.win32\bzrlib\tests\test_nonascii.py", line 
> 75, in test_platform
>     self.assertEqual(expected, present)
> AssertionError: [u'\xe4', u'\xe5', u'\u017d'] != [u'\xe4', u'\u017d']

Something wrong here. When I run this test alone I have much verbose 
log. But anyway result the same:

test_nonascii.UnicodeFilename.test_platform 
                                   FAIL         437ms

======================================================================
FAIL: test_platform (bzrlib.tests.test_nonascii.UnicodeFilename)

vvvv[log from 
bzrlib.tests.test_nonascii.UnicodeFilename.test_platform]-------
converting os path 'E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp' => 
url file:///E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp
converting os path 'E:/work/MyCode/bzr/devel/jam.win32' => url 
file:///E:/work/MyCode/bzr/devel/jam.win32
converting os path 'E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp' => 
url file:///E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp
created control directory in 
file:///E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp/
creating repository in 
file:///E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp/.bzr/.
creating branch <bzrlib.branch.BzrBranchFormat5 object at 0x00D7B7B0> in 
file:///E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp/.bzr/
got branch format Bazaar-NG Metadir branch format 5
got branch format Bazaar-NG Metadir branch format 5
opening working tree u'E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp'
failed to open 
E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp/.bzr/checkout/stat-cache: 
[Errno 2] No such file or directory: 
u'E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp/.bzr/checkout/stat-cache'
write hc
write hash cache: 
E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp/.bzr/checkout/stat-cache 
hits=0 misses=0 stat=0 recent=0 updates=0
wrote working inventory
wrote working inventory
wrote working inventory
converting os path '.' => url 
file:///E:/work/MyCode/bzr/devel/jam.win32/test0000.tmp/test_nonascii.UnicodeFilename.test_platform

^^^^[log from 
bzrlib.tests.test_nonascii.UnicodeFilename.test_platform]-------
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"E:\work\MyCode\bzr\devel\jam.win32\bzrlib\tests\test_nonascii.py", line 
80, in test_platform
     self.assertEqual(expected, present)
AssertionError: [u'\xe4', u'\xe5', u'\u017d'] != [u'\xe4', u'\u017d']

----------------------------------------------------------------------
Ran 1 test in 0.469s

FAILED (failures=1)


--
Alexander





More information about the bazaar mailing list