Skip Menu |

This queue is for tickets about the Perl6-Say CPAN distribution.

Report information
The Basics
Id: 15035
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Perl6-Say

People
Owner: jkeenan [...] cpan.org
Requestors:
Cc:
AdminCc:

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



Tried installing Perl6::Say but get Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1.........Can't use string ("Test::Builder") as a HASH ref while "strict refs" in use at /usr/local/lib/perl5/5.8.6/Test/Builder.pm line 1247. # Looks like your test died just after 1. t/1.........ok 4/01..M can only appear at the beginning or end of tests t/1.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-4 Failed 3/1 tests, -200.00% okay t/export....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/1.t 255 65280 1 3 300.00% 2-4 Failed 1/2 test scripts, 50.00% okay. -3/3 subtests failed, 200.00% okay. Happens on Linux and Windows - latest version of Test::Builder installed
Subject: make test fails
[guest - Wed Oct 12 21:49:50 2005]: Sorry - forgot to put a subject in the original bug entry Show quoted text
> Tried installing Perl6::Say but get > > Running make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1.........Can't use string ("Test::Builder") as a HASH ref while > "strict refs" in use at /usr/local/lib/perl5/5.8.6/Test/Builder.pm > line 1247. > # Looks like your test died just after 1. > t/1.........ok 4/01..M can only appear at the beginning or end of > tests > t/1.........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-4 > Failed 3/1 tests, -200.00% okay > t/export....ok > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/1.t 255 65280 1 3 300.00% 2-4 > Failed 1/2 test scripts, 50.00% okay. -3/3 subtests failed, 200.00% > okay. > > Happens on Linux and Windows - latest version of Test::Builder > installed
Date: Fri, 14 Oct 2005 14:37:31 +0200
From: Damian Conway <damian [...] conway.org>
To: bug-Perl6-Say [...] rt.cpan.org
Subject: Re: [cpan #15035]
RT-Send-Cc:
Show quoted text
> Tried installing Perl6::Say but get > > Running make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1.........Can't use string ("Test::Builder") as a HASH ref while "strict refs" in use at /usr/local/lib/perl5/5.8.6/Test/Builder.pm line 1247. > # Looks like your test died just after 1. > t/1.........ok 4/01..M can only appear at the beginning or end of tests > t/1.........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-4 > Failed 3/1 tests, -200.00% okay > t/export....ok > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/1.t 255 65280 1 3 300.00% 2-4 > Failed 1/2 test scripts, 50.00% okay. -3/3 subtests failed, 200.00% okay. > > Happens on Linux and Windows - latest version of Test::Builder installed
The interface to Test::Builder apparently changed. The fix is to replace the line: Test::Builder->current_test(4); in 1.t with Test::Builder->new->current_test(4); I've patched it for the next release. Thanks! Damian
Subject: Can't use string ("Test::Builder") as a HASH ref while "strict refs" in use
Fixed in 0.06.