Skip Menu |

This queue is for tickets about the autoclass CPAN distribution.

Report information
The Basics
Id: 19623
Status: resolved
Priority: 0/
Queue: autoclass

People
Owner: Nobody in particular
Requestors: aaron [...] FreeBSD.org
Cc:
AdminCc:

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



Subject: Make test fails under Perl 5.6.2, FreeBSD 5.2.1
Here's the build log: fivetwoone# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Class::AutoClass fivetwoone# make cp lib/Class/AutoClass/Root.pm blib/lib/Class/AutoClass/Root.pm cp lib/Class/AutoClass.pm blib/lib/Class/AutoClass.pm cp lib/Class/AutoClass/Args.pm blib/lib/Class/AutoClass/Args.pm Manifying blib/man3/Class::AutoClass::Root.3 Manifying blib/man3/Class::AutoClass.3 Manifying blib/man3/Class::AutoClass::Args.3 fivetwoone# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/AutoArgsTest.........ok t/AutoClassTest........ok 1/0Subroutine first redefined at (eval 31) line 4. Subroutine last redefined at (eval 32) line 4. Subroutine friends redefined at (eval 33) line 4. Subroutine sex redefined at (eval 34) line 4. Subroutine has_default redefined at (eval 35) line 4. Subroutine gender redefined at (eval 36) line 2. Subroutine FIRST redefined at (eval 37) line 1. Subroutine LAST redefined at (eval 38) line 1. Subroutine FRIENDS redefined at (eval 39) line 1. Subroutine SEX redefined at (eval 40) line 1. Subroutine HAS_DEFAULT redefined at (eval 41) line 1. t/AutoClassTest........ok t/classvarTest.........ok t/defaultTest..........ok 1/0# Tests for handling of defaults with synonyms. Parent only # Tests for handling of defaults with synonyms. Parent and Child t/defaultTest..........ok t/nullify..............ok t/override.............ok t/RootTest.............ok 1/0Use of uninitialized value in join or string at /usr/local/lib/perl5/site_perl/5.6.2/IO/Scalar.pm line 421. Use of uninitialized value in concatenation (.) or string at /root/p5-Class-AutoClass/work/AutoClass/blib/lib/Class/AutoClass/Root.pm line 285. t/RootTest.............ok t/synonym..............ok t/testCase.............ok 2/0Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 28. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 49. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 50. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 75. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 76. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 106. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 131. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 132. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 168. Unquoted string "uniq" may clash with future reserved word at t/testCase.t line 169. # test setting attributes from defaults t/testCase.............NOK 4 # Failed test 'parent can do expected methods' # in t/testCase.t at line 29. # Structures begin differing at: # $got->[0] = 'auto_MIXED' # $expected->[0] = 'AUTO_UPPER' t/testCase.............NOK 17 # Failed test 'parent can do expected methods' # in t/testCase.t at line 51. # Structures begin differing at: # $got->[0] = 'auto_upper' # $expected->[0] = 'AUTO_UPPER' t/testCase.............NOK 34 # Failed test 'parent can do expected methods' # in t/testCase.t at line 77. # Structures begin differing at: # $got->[0] = 'auto_MIXED' # $expected->[0] = 'AUTO_UPPER' # test setting attributes from arguments t/testCase.............NOK 51 # Failed test 'parent can do expected methods' # in t/testCase.t at line 107. # Structures begin differing at: # $got->[0] = 'auto_MIXED' # $expected->[0] = 'AUTO_UPPER' t/testCase.............NOK 64 # Failed test 'parent can do expected methods' # in t/testCase.t at line 133. # Structures begin differing at: # $got->[0] = 'auto_upper' # $expected->[0] = 'AUTO_UPPER' t/testCase.............NOK 84 # Failed test 'parent can do expected methods' # in t/testCase.t at line 170. # Structures begin differing at: # $got->[0] = 'auto_MIXED' # $expected->[0] = 'AUTO_UPPER' # Looks like you failed 6 tests of 103. t/testCase.............dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 4, 17, 34, 51, 64, 84 Failed 6/103 tests, 94.17% okay t/testInconsistent.....ok t/testNoAutoClass......ok t/testNoUseParent......ok t/testSynonyms2........ok t/testUseOutOfOrder....ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/testCase.t 6 1536 103 6 4 17 34 51 64 84 Failed 1/14 test scripts. 6/362 subtests failed. Files=14, Tests=362, 5 wallclock secs ( 3.98 cusr + 0.53 csys = 4.51 CPU)
This was fixed long ago, but I neglected to close the ticket. On Wed May 31 16:19:25 2006, guest wrote: Show quoted text
> Here's the build log: > > fivetwoone# perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Class::AutoClass > fivetwoone# make > cp lib/Class/AutoClass/Root.pm blib/lib/Class/AutoClass/Root.pm > cp lib/Class/AutoClass.pm blib/lib/Class/AutoClass.pm > cp lib/Class/AutoClass/Args.pm blib/lib/Class/AutoClass/Args.pm > Manifying blib/man3/Class::AutoClass::Root.3 > Manifying blib/man3/Class::AutoClass.3 > Manifying blib/man3/Class::AutoClass::Args.3 > fivetwoone# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/AutoArgsTest.........ok > t/AutoClassTest........ok 1/0Subroutine first redefined at (eval 31) > line 4. > Subroutine last redefined at (eval 32) line 4. > Subroutine friends redefined at (eval 33) line 4. > Subroutine sex redefined at (eval 34) line 4. > Subroutine has_default redefined at (eval 35) line 4. > Subroutine gender redefined at (eval 36) line 2. > Subroutine FIRST redefined at (eval 37) line 1. > Subroutine LAST redefined at (eval 38) line 1. > Subroutine FRIENDS redefined at (eval 39) line 1. > Subroutine SEX redefined at (eval 40) line 1. > Subroutine HAS_DEFAULT redefined at (eval 41) line 1. > t/AutoClassTest........ok > t/classvarTest.........ok > t/defaultTest..........ok 1/0# Tests for handling of defaults with > synonyms. Parent only > # Tests for handling of defaults with synonyms. Parent and Child > t/defaultTest..........ok > t/nullify..............ok > t/override.............ok > t/RootTest.............ok 1/0Use of uninitialized value in join or > string at /usr/local/lib/perl5/site_perl/5.6.2/IO/Scalar.pm line 421. > Use of uninitialized value in concatenation (.) or string at > /root/p5-Class- > AutoClass/work/AutoClass/blib/lib/Class/AutoClass/Root.pm > line 285. > t/RootTest.............ok > t/synonym..............ok > t/testCase.............ok 2/0Unquoted string "uniq" may clash with > future reserved word at t/testCase.t line 28. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 49. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 50. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 75. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 76. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 106. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 131. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 132. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 168. > Unquoted string "uniq" may clash with future reserved word at > t/testCase.t line 169. > # test setting attributes from defaults > t/testCase.............NOK 4 > # Failed test 'parent can do expected methods' > # in t/testCase.t at line 29. > # Structures begin differing at: > # $got->[0] = 'auto_MIXED' > # $expected->[0] = 'AUTO_UPPER' > t/testCase.............NOK 17 > # Failed test 'parent can do expected methods' > # in t/testCase.t at line 51. > # Structures begin differing at: > # $got->[0] = 'auto_upper' > # $expected->[0] = 'AUTO_UPPER' > t/testCase.............NOK 34 > # Failed test 'parent can do expected methods' > # in t/testCase.t at line 77. > # Structures begin differing at: > # $got->[0] = 'auto_MIXED' > # $expected->[0] = 'AUTO_UPPER' > # test setting attributes from arguments > t/testCase.............NOK 51 > # Failed test 'parent can do expected methods' > # in t/testCase.t at line 107. > # Structures begin differing at: > # $got->[0] = 'auto_MIXED' > # $expected->[0] = 'AUTO_UPPER' > t/testCase.............NOK 64 > # Failed test 'parent can do expected methods' > # in t/testCase.t at line 133. > # Structures begin differing at: > # $got->[0] = 'auto_upper' > # $expected->[0] = 'AUTO_UPPER' > t/testCase.............NOK 84 > # Failed test 'parent can do expected methods' > # in t/testCase.t at line 170. > # Structures begin differing at: > # $got->[0] = 'auto_MIXED' > # $expected->[0] = 'AUTO_UPPER' > # Looks like you failed 6 tests of 103. > t/testCase.............dubious > Test returned status 6 (wstat 1536, 0x600) > DIED. FAILED tests 4, 17, 34, 51, 64, 84 > Failed 6/103 tests, 94.17% okay > t/testInconsistent.....ok > t/testNoAutoClass......ok > t/testNoUseParent......ok > t/testSynonyms2........ok > t/testUseOutOfOrder....ok > Failed Test Stat Wstat Total Fail List of Failed > ------------------------------------------------------------------------------
- Show quoted text
> t/testCase.t 6 1536 103 6 4 17 34 51 64 84 > Failed 1/14 test scripts. 6/362 subtests failed. > Files=14, Tests=362, 5 wallclock secs ( 3.98 cusr + 0.53 csys = > 4.51 CPU)