From: | "Peter G. Martin" <peter.martin [...] proxima-tech.com> |
To: | <bug-www-mechanize [...] rt.cpan.org> |
Date: | Mon, 14 Jul 2003 13:02:18 +1000 |
Subject: | Win32 test failure in mech-forms.t WWW::Mechanize-0.52 |
nmake test after nmake gives following output to STDERR
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
# Failed test (t\mech-forms.t at line 13)
# got: 'GET file://C:/search
# hl=en (hidden)
# ie=ISO-8859-1 (hidden)
# q=
# btnG=Google Search (submit)
# btnI=I'm Feeling Lucky (submit)
#
# '
# expected: 'GET file:/search
# hl=en (hidden)
# ie=ISO-8859-1 (hidden)
# q=
# btnG=Google Search (submit)
# btnI=I'm Feeling Lucky (submit)
#
# '
# Looks like you failed 1 tests of 1.
Invalid value for shared scalar at C:/Perl/lib/Test/Builder.pm line 319.
WHOA! Somehow you got a different number of results than tests ran!
This should never happen! Please contact the author immediately!
END failed--call queue aborted.
Failed 2/24 test scripts, 91.67% okay. 3/225 subtests failed, 98.67% okay.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2'
Stop.
While redirected STDOUT details are:
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp script/mech-forms
blib\script\mech-forms
pl2bat.bat blib\script\mech-forms
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t\00.load.t t\99.pod.t t\add_header.t t\back.t
t\click-local.t t\click.t t\field.t t\find_link.t t\follow-local.t t\follow.t
t\follow_link.t t\form-local.t t\form.t t\get-local.t t\get.t t\mech-forms.t
t\new-local.t t\new.t t\page_stack.t t\reload-local.t t\reload.t
t\submit-local.t t\submit.t t\tick.t
t\00.load.........ok
t\99.pod..........ok
t\add_header......ok
t\back............skipped
all skipped: This doesn't work at all yet, and people were freaking at
the unexpected successes.
t\click-local.....ok
t\click...........ok
t\field...........ok
t\find_link.......ok
t\follow-local....ok
t\follow..........ok
t\follow_link.....ok
t\form-local......ok
t\form............ok
t\get-local.......ok
t\get.............ok
t\mech-forms......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t\new-local.......ok
t\new.............ok
t\page_stack......ok
t\reload-local....ok
t\reload..........ok
t\submit-local....ok
t\submit..........ok
t\tick............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\mech-forms.t 1 256 1 1 100.00% 1
t\tick.t 2 512 5 4 80.00% 4-5
1 test skipped.
=============================
Other details:
C:\peterm\.cpanplus\5.8.0\build\WWW-Mechanize-0.52>pmvers Test::Builder
0.17
C:\peterm\.cpanplus\5.8.0\build\WWW-Mechanize-0.52>perl -V
Summary of my perl5 (revision 5 version 8 subversion 0) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define
usemultiplicity=def
ine
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-
DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_
PERLIO -DPERL_MSVCRT_READFIX',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeksi
ze=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -release
-libpath:"C:\Perl\lib\C
ORE" -machine:x86'
libpth="C:\Perl\lib\CORE"
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32
lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib
wsoc
k32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comd
lg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib
wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
gnulibc_version='undef'
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
-libpath:"C:
\Perl\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_
CONTEXT PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 805
Built under MSWin32
Compiled at Feb 4 2003 18:08:02
@INC:
C:/Perl/lib
C:/Perl/site/lib
.
==========================================
The url for this test in Win32 is converted to the form file://C:/..... etc
by the Win32 branch of File::Spec etc.
So GET file:/search is NOT going to match in Win32...
I haven't tracked the problems down beyond this level, and haven't found
the problem with tick.t yet -- although I +seem+ to recall seeing a "wstat"
error message somewhere -- which is common to tests not geared to
Win32, apparently... OS function not same or available ??
-Peter G. Martin,
Technical writer, Proxima Technology