Subject: | Test::Class-0.33_1 still fails several tests |
Date: | Wed, 09 Sep 2009 07:02:01 -0500 |
To: | bug-Test-Class [...] rt.cpan.org |
From: | David Favor <david [...] davidfavor.com> |
jarich@perltraining.com.au via RT wrote:
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47060 >
>
> Patch fixes for perl, v5.10.0 built for i486-linux-gnu-thread-multi
> Test-Class-0.32_1
>
>
>
>
>
>
net2#untar /cpan-mirror/authors/id/A/AD/ADIE/Test-Class-0.32_1.tar.gz
tar xzf /cpan-mirror/authors/id/A/AD/ADIE/Test-Class-0.32_1.tar.gz
net2#cd Test-Class-0.32_1/
net2#perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Class
net2#make
cp lib/Test/Class/MethodInfo.pm blib/lib/Test/Class/MethodInfo.pm
cp lib/Test/Class.pm blib/lib/Test/Class.pm
cp lib/Test/Class/Load.pm blib/lib/Test/Class/Load.pm
Manifying blib/man3/Test::Class::MethodInfo.3pm
Manifying blib/man3/Test::Class.3pm
Manifying blib/man3/Test::Class::Load.3pm
net2#make test
PERL_DL_NONLAZY=1 /runtime/perl-5.10.1.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00-load.t .................... 1/1 # Testing Test::Class::Load 0.03, Perl 5.010001,
/runtime/perl-5.10.1.1/bin/perl
t/00-load.t .................... ok
t/20-load-classes.t ............ ok
t/21-load-subclassed.t ......... ok
t/_new.t ....................... ok
t/bad-autoloads.t .............. ok
t/bailout.t .................... ok
t/builder.t .................... ok
t/compile.t .................... ok
t/current_method.t ............. ok
t/diag_on_failure.t ............ ok
t/die_before_plan.t ............ ok
t/expected_tests.t ............. ok
t/fail1.t ...................... ok
t/fail2.t ...................... 1/2
# Failed test 'fail2'
# at t/fail2.t line 37.
# STDOUT is:
# not ok 1 - The thing isa Object
# not ok 2 - cannot create Objects
#
# not:
# not ok 1 - The object isa Object
#
# not ok 2 - cannot create Objects
#
# as expected
# STDERR is:
# # Failed test 'The thing isa Object'
# # at t/fail2.t line 18.
# # (in Object::Test->_test_new)
# # The thing isn't defined
# # Failed test 'cannot create Objects'
# # at t/fail2.t line 18.
# # (in Object::Test->_test_new)
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/fail2\.t line 18.*\n?/
#
# # (in Object::Test->_test_new)
#
# (?-xism:#\s+The object isn't defined\n)
# /#\s+Failed\ test.*?\n?.*?at\ t\/fail2\.t line 18.*\n?/
#
# # (in Object::Test->_test_new)
#
# as expected
t/fail2.t ...................... Failed 1/2 subtests
t/fail3.t ...................... ok
t/header.t ..................... ok
t/late_header.t ................ ok
t/methodinfo.t ................. ok
t/named_test.t ................. ok
t/num_method_tests.t ........... ok
t/num_tests.t .................. ok
t/override.t ................... ok
t/rt15870.t .................... ok
t/rt17264.t .................... ok
t/run_all_tests.t .............. ok
t/runtests.t ................... ok
t/runtests_die.t ............... 1/1
# Failed test 'early die handled'
# at t/runtests_die.t line 33.
# STDOUT is:
# not ok 1 - The thing isa Object
# not ok 2 - test_object died (could not create object)
#
# not:
# not ok 1 - The object isa Object
#
# not ok 2 - test_object died (could not create object)
#
# as expected
# STDERR is:
# # Failed test 'The thing isa Object'
# # at t/runtests_die.t line 15.
# # (in Foo->test_object)
# # The thing isn't defined
# # Failed test 'test_object died (could not create object)'
# # at t/runtests_die.t line 32.
# # (in Foo->test_object)
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/runtests_die\.t line 15.*\n?/
#
# # (in Foo->test_object)
#
# # The object isn't defined
#
# /#\s+Failed\ test.*?\n?.*?at\ t\/runtests_die\.t line 32.*\n?/
#
# # (in Foo->test_object)
#
# as expected
t/runtests_die.t ............... Failed 1/1 subtests
t/runtests_extra.t ............. ok
t/runtests_noplan.t ............ ok
t/runtests_of.t ................ ok
t/runtests_result.t ............ ok
t/runtests_return.t ............ ok
t/runtests_trailing.t .......... ok
t/runtests_with_wrong_class.t .. ok
t/show_plan_in_shutdown.t ...... ok
t/skip1.t ...................... Failed 1/1 subtests
t/skip2.t ...................... ok
t/skip_class_reason.t .......... ok
t/spaces.t ..................... ok
t/startup.t .................... ok
t/startup_that_dies.t .......... ok
t/test_classes.t ............... ok
t/test_deep.t .................. ok
t/test_method.t ................ ok
t/test_verbose.t ............... ok
t/Tests.t ...................... ok
t/todo.t ....................... ok
Test Summary Report
-------------------
t/fail2.t (Wstat: 0 Tests: 2 Failed: 1)
Failed test: 1
t/runtests_die.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
t/skip1.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Files=47, Tests=170, 6 wallclock secs ( 0.20 usr 0.09 sys + 5.12 cusr 0.46 csys = 5.87 CPU)
Result: FAIL
Failed 3/47 test programs. 3/170 subtests failed.
make: *** [test_dynamic] Error 255
Show quoted text_______
net2#git-describe
perl-5.10.1-1-gca8de22
_______
net2#perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Commit id: ca8de220718ba91d5a5fdd9779497cd5b0250258
Platform:
osname=linux, osvers=2.6.27.21-170.2.56.fc10.i686, archname=i686-linux-thread-multi
uname='linux net2.coolsurf.com 2.6.27.21-170.2.56.fc10.i686 #1 smp mon mar 23 23:37:54 edt 2009
i686 i686 i386 gnulinux '
config_args='-Dprefix=/runtime/perl-5.10.1.1 -ders -Dusedevel -Dcf_by=David Favor
-Dcf_email=david@davidfavor.com -Dperladmin=david@davidfavor.com -Dcc=gcc -Doptimize=-O2 -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic
-Dloclibpth=/usr/local/lib -Dlocincpth=/usr/local/include -Duseshrplib -Dusethreads -Uuseithreads
-Duselargefiles -Dd_semctl_semun -Dotherlibdirs=/runtime/pmlib:/common/pmlib:/usr/local/pmlib -Ui_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n
-Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -Dd_gethostent_r_proto -Ud_endhostent_r_proto
-Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto
-Ud_setservent_r_proto'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32
-fstack-protector -mtune=generic ',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include'
ccversion='', gccversion='4.3.2 20081105 (Red Hat 4.3.2-7)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.9.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.9'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/runtime/perl-5.10.1.1/lib/5.10.1/i686-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_USE_DEVEL
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_REENTRANT_API
Built under linux
Compiled at Aug 23 2009 11:58:03
@INC:
/runtime/perl-5.10.1.1/lib/5.10.1/i686-linux-thread-multi
/runtime/perl-5.10.1.1/lib/5.10.1
/runtime/perl-5.10.1.1/lib/site_perl/5.10.1/i686-linux-thread-multi
/runtime/perl-5.10.1.1/lib/site_perl/5.10.1
/runtime/pmlib
/common/pmlib
/usr/local/pmlib
.
--
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way!