[rt-users] WWW::Mechanize - failed test t/mech-dump.t at line 36 - failed for target `test_dynamic'
Alan Baker
abaker at cliquecom.com
Thu Jul 22 15:44:50 EDT 2004
I was just curious if the mech-dump utility is used under RT. The make test
results with no errors if mech-dump isn't selected when you would run "perl
Makefile.PL". Should I add mech-dump and force it? If anyone can help it
would be appreciated.
--Alan
-
-
SunOS csr-rt01 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-V210
-
-
-
cpan> look WWW::Mechanize
Running look for module WWW::Mechanize
Trying to open a subshell in the build directory...
Working directory is /usr/local/cpan/build/WWW-Mechanize-1.02
root at csr-rt01 # perl Makefile.PL
It seems that you are not directly connected to the Internet. Some
of the WWW::Mechanize tests interact with websites such as Google,
in addition to its own internal tests.
Do you want to skip these tests? [y]
Do you want to install the mech-dump utility? [y]
Writing Makefile for WWW::Mechanize
root at csr-rt01 # make
cp bin/mech-dump blib/script/mech-dump
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/mech-dump
Manifying blib/man1/mech-dump.1
Manifying blib/man3/WWW::Mechanize::Examples.3
Manifying blib/man3/WWW::Mechanize::Link.3
Manifying blib/man3/WWW::Mechanize::Cookbook.3
Manifying blib/man3/WWW::Mechanize::FAQ.3
Manifying blib/man3/WWW::Mechanize.3
root at csr-rt01 # make test
cp bin/mech-dump blib/script/mech-dump
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/mech-dump
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/00.load.t t/98.rules.t
t/add_header.t t/aliases.t t/area_link.t t/autocheck.t t/die.t t/field.t
t/find_link-warnings.t t/find_link.t t/form-parsing.t t/frames.t
t/link-base.t t/link.t t/mech-dump.t t/new.t t/pod-coverage.t t/pod.t
t/regex-error.t t/select.t t/taint.t t/tick.t t/warn.t t/warnings.t
t/local/click.t t/local/failure.t t/local/follow.t t/local/form.t
t/local/get.t t/local/page_stack.t t/local/referer.t t/local/reload.t
t/local/submit.t
t/00.load...............ok 1/2# Testing WWW::Mechanize 1.02
t/00.load...............ok
t/98.rules..............ok
t/add_header............ok
t/aliases...............ok
t/area_link.............ok
t/autocheck.............ok
t/die...................ok
t/field.................ok
t/find_link-warnings....ok
t/find_link.............ok
t/form-parsing..........ok
t/frames................ok
t/link-base.............ok
t/link..................ok
t/local/click...........ok 2/10# Started local server on
http://localhost:33337/
t/local/click...........ok
t/local/failure.........ok 1/17# Started local server on
http://localhost:33341/
t/local/failure.........ok
t/local/follow..........ok 1/20# Started local server on
http://localhost:33344/
t/local/follow..........ok
t/local/form............ok 1/16# Started local server on
http://localhost:33349/
t/local/form............ok
t/local/get.............ok 1/37# Started local server on
http://localhost:33352/
t/local/get.............ok
t/local/page_stack......ok 1/11# Started local server on
http://localhost:33360/
t/local/page_stack......ok
t/local/referer.........ok
t/local/reload..........ok 1/16# Started local server on
http://localhost:33369/
t/local/reload..........ok
t/local/submit..........ok 1/13# Started local server on
http://localhost:33373/
t/local/submit..........ok
t/mech-dump.............NOK 5# Failed test (t/mech-dump.t at line 36)
# Structures begin differing at:
# $got->[0] = ' hl=en (hidden readonly)'
# $expected->[0] = ' hl=en (hidden)'
# Looks like you failed 1 tests of 5.
t/mech-dump.............dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/5 tests, 80.00% okay
t/new...................ok
t/pod-coverage..........ok
t/pod...................ok
t/regex-error...........ok
t/select................ok
t/taint.................ok
t/tick..................ok
t/warn..................ok
t/warnings..............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
t/mech-dump.t 1 256 5 1 20.00% 5
Failed 1/33 test scripts, 96.97% okay. 1/364 subtests failed, 99.73% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
-
-
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris
uname='sunos 5.9 generic sun4u sparc sunw,ultra-5_10 solaris '
config_args='-Dcc=gcc -B/usr/ccs/bin/'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.2', gccosandvers='solaris2.9'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lbind -lnsl -lgdbm -ldb -ldl -lm -lc
perllibs=-lsocket -lbind -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Feb 9 2004 03:13:00
@INC:
/usr/local/lib/perl5/5.8.3/sun4-solaris
/usr/local/lib/perl5/5.8.3
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.3
/usr/local/lib/perl5/site_perl
.
More information about the rt-users
mailing list