Date: | Tue, 08 Feb 2005 13:06:56 +0100 |
From: | Bart Lateur <bart.lateur [...] pandora.be> |
To: | bug-Win32-IE-Mechanize [...] rt.cpan.org, Bart Lateur <bart.lateur [...] pandora.be> |
Subject: | "make test" failures on Dutch/Flemish Windows XP SP2 + MSIE 6.0 |
Volgens <http://yapc.mongueurs.net/yapc/info/?id=abeltje> spreekt u
Nederlands...
Ik krijg met "make test" in CPAN.pm een heleboel gefaalde tests bij het
proberen installeren van Win32::IE::Mechanize 0.008 op een Vlaamse
versie van Windows XP SP2 met MSIE 6.0.2900.2180. Ik heb het log uit het
venster van cmd.exe wat opgekuist en in een attachment geplakt.
Ik heb het wat van dichterbij bekenen, en ik zie de volgende trends:
1) domme fout in test zelf, "case" van pad verschilt, bv.
# got:
'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html'
# expected:
'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html'
2) "gebruiksvriendelijk" opkuisen van syteemberichten door Microsoft,
specifiek voor type van bestand, bv:
t\02ct...........NOK 16
# got: 'Gif-afbeelding'
# expected: 'image/gif'
t\02ct...........NOK 18
# got: 'JPEG-afbeelding'
# expected: 'image/jpeg'
t\basic..........NOK 6
# got: 'HTML-bestand'
# expected: 'text/html'
3) andere problemen waarschijnlijk tgv localisatie:
t\jstest.........NOK 3
# got: 'JS Redirection'
# expected: 'JS Redirection Success'
4) serieuze fouten, pagina niet geladen of verkeerd geïnterpreteerd,
voornamelijk in t\swaplist
t\swaplist.......NOK 10
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'choice1'
t\swaplist.......NOK 11
# Structures begin differing at:
# $got->{choice4} = Does not exist
# $expected->{choice4} = undef
t\swaplist.......NOK 15
#
'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0'
# doesn't match '(?-xism:\bdosubmit=1\b)'
# Failed test (t\swaplist.t at line 64)
--
Bart.
Running make test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\00props.t t\01construct.t t\02ct.t t\basic.t t\field.t
t\find_link.t t\formbasics.t t\frames.t t\image-parse.t t\jstest.t t\select.t t\swaplist.t t\tick.t
t\00props........# Testing Win32::IE::Mechanize 0.008
t\00props........ok
t\01construct....ok
t\02ct...........ok 5/20
# Failed test (t\02ct.t at line 30)
t\02ct...........NOK 6
# got: 'HTML-bestand'
# expected: 'text/html'
t\02ct...........ok 7/20
# Failed test (t\02ct.t at line 33)
# got: 'Tekstdocument'
t\02ct...........NOK 8
# expected: 'text/plain'
t\02ct...........ok 9/20
# Failed test (t\02ct.t at line 36)
t\02ct...........NOK 10
# got: 'Tekstdocument'
# expected: 'text/plain'
t\02ct...........ok 12/20
# Failed test (t\02ct.t at line 43)
t\02ct...........NOK 13
# got: 'HTML-bestand'
# expected: 'text/html'
# Failed test (t\02ct.t at line 44)
t\02ct...........NOK 14
# got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html'
# expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html'
t\02ct...........ok 15/20
# Failed test (t\02ct.t at line 51)
t\02ct...........NOK 16
# got: 'Gif-afbeelding'
# expected: 'image/gif'
t\02ct...........ok 17/20
# Failed test (t\02ct.t at line 51)
t\02ct...........NOK 18
# got: 'JPEG-afbeelding'
# expected: 'image/jpeg'
t\02ct...........ok 19/20
# Failed test (t\02ct.t at line 51)
t\02ct...........NOK 20
# got: 'Png-afbeelding'
# expected: 'image/png'
# Looks like you failed 8 tests of 20.
t\02ct...........dubious
Test returned status 8 (wstat 2048, 0x800)
DIED. FAILED tests 6, 8, 10, 13-14, 16, 18, 20
Failed 8/20 tests, 60.00% okay
t\basic..........ok 5/12
# Failed test (t\basic.t at line 29)
t\basic..........NOK 6
# got: 'HTML-bestand'
# expected: 'text/html'
t\basic..........ok 8/12
# Failed test (t\basic.t at line 35)
t\basic..........NOK 9
# got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/formbasics.html'
# expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/formbasics.html'
t\basic..........ok 10/12
# Failed test (t\basic.t at line 38)
t\basic..........NOK 11
# got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html'
# expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html'
t\basic..........ok 12/12
# Looks like you failed 3 tests of 12.
t\basic..........dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 6, 9, 11
Failed 3/12 tests, 75.00% okay
t\field..........ok
t\find_link......ok
t\formbasics.....ok 5/33
# Failed test (t\formbasics.t at line 29)
# got: 'HTML-bestand'
# expected: 'text/html'
t\formbasics.....NOK 6
# Failed test (t\formbasics.t at line 31)
t\formbasics.....ok 33/33
# Looks like you failed 2 tests of 33.
t\formbasics.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 6-7
Failed 2/33 tests, 93.94% okay
t\frames.........ok
t\image-parse....ok 5/20
# Failed test (t\image-parse.t at line 30)
t\image-parse....NOK 6
# got: 'HTML-bestand'
# expected: 'text/html'
t\image-parse....ok 8/20
# Failed test (t\image-parse.t at line 38)
t\image-parse....NOK 9
# got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/wango.jpg'
# expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/wango.jpg'
t\image-parse....ok 11/20
# Failed test (t\image-parse.t at line 44)
t\image-parse....NOK 12
# got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/bongo.gif'
# expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/bongo.gif'
t\image-parse....ok 20/20
# Looks like you failed 3 tests of 20.
t\image-parse....dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 6, 9, 12
Failed 3/20 tests, 85.00% okay
t\jstest.........ok 2/4
# Failed test (t\jstest.t at line 25)
t\jstest.........NOK 3
# got: 'JS Redirection'
# expected: 'JS Redirection Success'
# Failed test (t\jstest.t at line 30)
t\jstest.........NOK 4
# got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/jstest.html'
# expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/jstestok.html'
# Looks like you failed 2 tests of 4.
t\jstest.........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t\select.........ok
t\swaplist.......ok 5/25
# Failed test (t\swaplist.t at line 28)
t\swaplist.......NOK 6
# got: 'HTML-bestand'
# expected: 'text/html'
t\swaplist.......ok 9/25
# Failed test (t\swaplist.t at line 43)
t\swaplist.......NOK 10
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'choice1'
# Failed test (t\swaplist.t at line 51)
t\swaplist.......NOK 11
# Structures begin differing at:
# $got->{choice4} = Does not exist
# $expected->{choice4} = undef
# Failed test (t\swaplist.t at line 55)
t\swaplist.......NOK 12
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'choice3'
t\swaplist.......ok 13/25
# Failed test (t\swaplist.t at line 59)
t\swaplist.......NOK 14
# got: '0'
# expected: '1'
# Failed test (t\swaplist.t at line 63)
t\swaplist.......NOK 15
# 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0'
# doesn't match '(?-xism:\bdosubmit=1\b)'
# Failed test (t\swaplist.t at line 64)
t\swaplist.......NOK 16
# 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0'
# doesn't match '(?-xism:\bisin=choice3\b)'
# Failed test (t\swaplist.t at line 66)
t\swaplist.......NOK 17
# 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0'
# doesn't match '(?-xism:\bnotin=choice4)'
# Failed test (t\swaplist.t at line 66)
t\swaplist.......NOK 18
# 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0'
# doesn't match '(?-xism:\bnotin=choice1)'
# Failed test (t\swaplist.t at line 66)
t\swaplist.......NOK 19
# 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0'
# doesn't match '(?-xism:\bnotin=choice5)'
# Failed test (t\swaplist.t at line 66)
t\swaplist.......NOK 20
# 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0'
# doesn't match '(?-xism:\bnotin=choice2)'
t\swaplist.......ok 25/25
# Looks like you failed 11 tests of 25.
t\swaplist.......dubious
Test returned status 11 (wstat 2816, 0xb00)
DIED. FAILED tests 6, 10-12, 14-20
Failed 11/25 tests, 56.00% okay
t\tick...........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\02ct.t 8 2048 20 8 40.00% 6 8 10 13-14 16 18 20
t\basic.t 3 768 12 3 25.00% 6 9 11
t\formbasics.t 2 512 33 2 6.06% 6-7
t\image-parse.t 3 768 20 3 15.00% 6 9 12
t\jstest.t 2 512 4 2 50.00% 3-4
t\swaplist.t 11 2816 25 11 44.00% 6 10-12 14-20
Failed 6/13 test scripts, 53.85% okay. 29/248 subtests failed, 88.31% okay.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
Stop.
C:\command\nmake.EXE test -- NOT OK
Running make install
make test had returned bad status, won't install without force