Skip Menu |

This queue is for tickets about the Test-Class CPAN distribution.

Report information
The Basics
Id: 47060
Status: resolved
Priority: 0/
Queue: Test-Class

People
Owner: Nobody in particular
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Test::Class-0.31 fails several tests
Date: Wed, 17 Jun 2009 12:31:23 -0500
To: bug-Test-Class [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
# Testing Test::Class::Load 0.03, Perl 5.010000, /runtime/perl-5.10.0-1326/bin/perl t/00-load.t .................... ok t/20-load-classes.t ............ ok t/21-load-subclassed.t ......... ok t/_new.t ....................... ok Prototype mismatch: sub CORE::GLOBAL::caller (;$) vs none at /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/Contextual/Return.pm line 12. 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 # 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 # 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.01 cusr 0.47 csys = 5.77 CPU) Result: FAIL Failed 3/47 test programs. 3/170 subtests failed. make: *** [test_dynamic] Error 255 net2#perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Commit id: 9b969ce64fc3be46ea303c0160e1c6184d33c793 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.0-1326 -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_dosuid -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.0-1326/lib/5.10.0/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 Jun 12 2009 19:32:40 @INC: /runtime/perl-5.10.0-1326/lib/5.10.0/i686-linux-thread-multi /runtime/perl-5.10.0-1326/lib/5.10.0 /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/i686-linux-thread-multi /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0 /runtime/pmlib /common/pmlib /usr/local/pmlib . -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com for the easy way!
Bother. Looks like the latest Test::More has changed the diagnostic text for some test failures. Thanks for reporting. Will fix. Adrian On Wed Jun 17 13:31:49 2009, david@davidfavor.com wrote: Show quoted text
> # Testing Test::Class::Load 0.03, Perl 5.010000, > /runtime/perl-5.10.0-1326/bin/perl > t/00-load.t .................... ok > t/20-load-classes.t ............ ok > t/21-load-subclassed.t ......... ok > t/_new.t ....................... ok > Prototype mismatch: sub CORE::GLOBAL::caller (;$) vs none at > /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/Contextual/Return.pm > line 12. > 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 > > # 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 > > # 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.01 cusr 0.47 csys = 5.77 CPU) > Result: FAIL > Failed 3/47 test programs. 3/170 subtests failed. > make: *** [test_dynamic] Error 255 > > net2#perl -V > Summary of my perl5 (revision 5 version 10 subversion 0) > configuration: > Commit id: 9b969ce64fc3be46ea303c0160e1c6184d33c793 > 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.0-1326 -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_dosuid -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.0-1326/lib/5.10.0/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 Jun 12 2009 19:32:40 > @INC: > /runtime/perl-5.10.0-1326/lib/5.10.0/i686-linux-thread-multi > /runtime/perl-5.10.0-1326/lib/5.10.0 > /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/i686-linux-thread- > multi > /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0 > /runtime/pmlib > /common/pmlib > /usr/local/pmlib > . >
Subject: Re: [rt.cpan.org #47060] Test::Class-0.31 fails several tests
Date: Thu, 18 Jun 2009 11:16:23 -0500
To: bug-Test-Class [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
You're welcome. Let me know when there's a new version available and I'll give it a test spin. Adrian Howard via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47060 > > > Bother. Looks like the latest Test::More has changed the diagnostic text for some test > failures. > > Thanks for reporting. Will fix. > > Adrian > > > On Wed Jun 17 13:31:49 2009, david@davidfavor.com wrote:
>> # Testing Test::Class::Load 0.03, Perl 5.010000, >> /runtime/perl-5.10.0-1326/bin/perl >> t/00-load.t .................... ok >> t/20-load-classes.t ............ ok >> t/21-load-subclassed.t ......... ok >> t/_new.t ....................... ok >> Prototype mismatch: sub CORE::GLOBAL::caller (;$) vs none at >> /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/Contextual/Return.pm >> line 12. >> 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 >> >> # 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 >> >> # 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.01 cusr 0.47 csys = 5.77 CPU) >> Result: FAIL >> Failed 3/47 test programs. 3/170 subtests failed. >> make: *** [test_dynamic] Error 255 >> >> net2#perl -V >> Summary of my perl5 (revision 5 version 10 subversion 0) >> configuration: >> Commit id: 9b969ce64fc3be46ea303c0160e1c6184d33c793 >> 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.0-1326 -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_dosuid -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.0-1326/lib/5.10.0/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 Jun 12 2009 19:32:40 >> @INC: >> /runtime/perl-5.10.0-1326/lib/5.10.0/i686-linux-thread-multi >> /runtime/perl-5.10.0-1326/lib/5.10.0 >> /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/i686-linux-thread- >> multi >> /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0 >> /runtime/pmlib >> /common/pmlib >> /usr/local/pmlib >> . >>
> > >
-- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com for the easy way!
It might be unnessesary to say so, but I also had trouble installing the module from CPAN because of the pattern-matching.
I'm afraid this is a "/me too" post. :) R.
Subject: Re: [rt.cpan.org #47060] Test::Class-0.31 fails several tests
Date: Mon, 27 Jul 2009 08:16:46 -0500
To: bug-Test-Class [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Robin Bowes via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47060 > > > I'm afraid this is a "/me too" post. :) > > R.
:-) -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
On Mon Jul 27 09:17:05 2009, david@davidfavor.com wrote: Show quoted text
> Robin Bowes via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=47060 > > > > > I'm afraid this is a "/me too" post. :) > > > > R.
> > :-) >
Yes - I know ;-) Sorry. Not had any free time lately and it's fallen to the bottom of the pile. Will try and sort. Adrian
I've attached a patch that fixes the test problems. Hopefully it will save you a bit of time. cd Test-Class patch -p1 < test_class.patch There were two issues: a case change (Skip to SKIP), and the word 'object' being changed to 'thing' in Test::More 0.88. I made the SKIP test case insensitive. For the object/thing issue, I made it check the version of Test::More and determine what word to use from that. If you don't care about supporting Test::More before 0.88, then the word just needs to be changed.
diff -rc Test-Class-0.31-0wRF14/t/fail2.t tc/t/fail2.t *** Test-Class-0.31-0wRF14/t/fail2.t 2008-09-14 13:25:11.000000000 -0400 --- tc/t/fail2.t 2009-08-06 17:41:54.000000000 -0400 *************** *** 23,34 **** package main; $ENV{TEST_VERBOSE}=0; ! ! test_out("not ok 1 - The object isa Object"); test_out("not ok 2 - cannot create Objects"); test_fail(-11); test_err( "# (in Object::Test->_test_new)" ); ! test_err(qr/#\s+The object isn't defined\n/); test_fail(-14); test_err( "# (in Object::Test->_test_new)" ); --- 23,34 ---- package main; $ENV{TEST_VERBOSE}=0; ! my $identifier = ($Test::More::VERSION < 0.88) ? 'object' : 'thing'; ! test_out("not ok 1 - The $identifier isa Object"); test_out("not ok 2 - cannot create Objects"); test_fail(-11); test_err( "# (in Object::Test->_test_new)" ); ! test_err(qr/#\s+The $identifier isn't defined\n/); test_fail(-14); test_err( "# (in Object::Test->_test_new)" ); diff -rc Test-Class-0.31-0wRF14/t/runtests_die.t tc/t/runtests_die.t *** Test-Class-0.31-0wRF14/t/runtests_die.t 2008-09-14 13:25:11.000000000 -0400 --- tc/t/runtests_die.t 2009-08-06 17:38:55.000000000 -0400 *************** *** 22,33 **** my $filename = sub { return (caller)[1] }->(); ! test_out( "not ok 1 - The object isa Object"); test_err( "# Failed test ($filename at line 15)"); test_err( "# (in Foo->test_object)" ); ! test_err( "# The object isn't defined"); test_out( "not ok 2 - test_object died (could not create object)"); ! test_err( "# Failed test ($filename at line 32)"); test_err( "# (in Foo->test_object)" ); Foo->runtests; test_test("early die handled"); --- 22,35 ---- my $filename = sub { return (caller)[1] }->(); ! my $identifier = ($Test::More::VERSION < 0.88) ? 'object' : 'thing'; ! ! test_out( "not ok 1 - The $identifier isa Object"); test_err( "# Failed test ($filename at line 15)"); test_err( "# (in Foo->test_object)" ); ! test_err( "# The $identifier isn't defined"); test_out( "not ok 2 - test_object died (could not create object)"); ! test_err( "# Failed test ($filename at line 34)"); test_err( "# (in Foo->test_object)" ); Foo->runtests; test_test("early die handled"); diff -rc Test-Class-0.31-0wRF14/t/skip1.t tc/t/skip1.t *** Test-Class-0.31-0wRF14/t/skip1.t 2008-09-14 13:25:11.000000000 -0400 --- tc/t/skip1.t 2009-08-06 17:25:44.000000000 -0400 *************** *** 20,26 **** print "1..1\n"; my $output = <$io>; chomp($output); ! my $ok = $output eq "1..0 # Skip skipping"; print "not " unless $ok; print "ok 1 - SKIP_ALL called skip_all\n"; }; --- 20,28 ---- print "1..1\n"; my $output = <$io>; chomp($output); ! ! my $ok = $output =~ /^1..0 # Skip skipping$/i; ! print "not " unless $ok; print "ok 1 - SKIP_ALL called skip_all\n"; };
Hello, Show quoted text
> I've attached a patch that fixes the test problems. Hopefully it will > save you a bit of time.
i just wanted to report that the patch has worked here. Thanks! Best wishes, Mario
Subject: Re: [rt.cpan.org #47060] Test::Class-0.31 fails several tests
Date: Wed, 19 Aug 2009 17:28:03 -0500
To: bug-Test-Class [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Mario Domgörgen via RT" <bug-Test-Class@rt.cpan.org>" wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47060 > > > Hello, >
>> I've attached a patch that fixes the test problems. Hopefully it will >> save you a bit of time.
> > i just wanted to report that the patch has worked here. Thanks! > > Best wishes, Mario
perl-5.10.1-RC2-1 + Test::Class-0.31 works well together. Thanks! -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com for the easy way!
From: jarich [...] perltraining.com.au
Patch fixes for perl, v5.10.0 built for i486-linux-gnu-thread-multi Test-Class-0.32_1
Should be fixed in 0.36 hitting cpan now. Apologies for the delay.