CC: | jk [...] cybercom.com |
Subject: | Failing tests on Solaris 8, perl-5.6.1 |
Date: | Thu, 09 Apr 2009 22:00:28 +0300 |
To: | bug-Exception-Class [...] rt.cpan.org |
From: | Jaska Kivelä <jaska.kivela [...] cybercom.com> |
Hello.
I am upgrading my HTML::Mason module on a sparc64-solaris8 perl561
machine from 1.15 to 1.40. One of the prerequisites would be to
upgrade Exception::Class from 1.07 to 1.15 or newer.
I have installed Devel::StackTrace 1.20, it compiled and tested OK.
However, for Exception::Class 1.26, I get:
--clip--
(21:57) [jk@pepper] /opt/work/jk/Exception-Class-1.26 > gmake test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/opt/local/lib/perl5/5.6.1/sun4-solaris-64int-ld -I/opt/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/basic.t ......... 1/58 Can't call method "trace" without a package or object reference at t/basic.t line 293.
# Looks like you planned 58 tests but ran 45.
# Looks like your test exited with 255 just after 45.
t/basic.t ......... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 13/58 subtests
t/caught.t ........ ok
t/ignore.t ........ ok
t/pod-coverage.t .. skipped: This test is only run for the module author
t/pod.t ........... skipped: This test is only run for the module author
Test Summary Report
-------------------
t/basic.t (Wstat: 65280 Tests: 45 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 58 tests but ran 45.
Files=5, Tests=58, 2 wallclock secs ( 0.34 usr 0.03 sys + 1.33 cusr 0.21 csys = 1.91 CPU)
Result: FAIL
Failed 1/5 test programs. 0/58 subtests failed.
gmake: *** [test_dynamic] Error 11
Exit 2
(21:57) [jk@pepper] /opt/work/jk/Exception-Class-1.26 >
--clap--
The oldest I can find on CPAN is Exception::Class 1.22, and for that I get:
--clip--
(21:57) [jk@pepper] /opt/work/jk/Exception-Class-1.22 > gmake test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/opt/local/lib/perl5/5.6.1/sun4-solaris-64int-ld -I/opt/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/99-pod.t .. skipped: Test::Pod 1.00 required for testing POD
t/basic.t ... 1/56 Can't call method "trace" without a package or object reference at t/basic.t line 293.
# Looks like you planned 56 tests but ran 45.
# Looks like your test exited with 255 just after 45.
t/basic.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 11/56 subtests
t/caught.t .. ok
t/ignore.t .. ok
Test Summary Report
-------------------
t/basic.t (Wstat: 65280 Tests: 45 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 56 tests but ran 45.
Files=4, Tests=56, 2 wallclock secs ( 0.32 usr 0.04 sys + 1.13 cusr 0.20 csys = 1.69 CPU)
Result: FAIL
Failed 1/4 test programs. 0/56 subtests failed.
gmake: *** [test_dynamic] Error 11
Exit 2
(21:57) [jk@pepper] /opt/work/jk/Exception-Class-1.22 >
--clap--
My perl is:
This is perl, v5.6.1 built for sun4-solaris-64int-ld
And the OS is:
SunOS pepper 5.8 Generic_117350-61 sun4u sparc SUNW,UltraAX-i2
What am I missing here?
Thanks,
-jk
--
Jaska Kivelä | Cybercom Finland | gsm 040 576 2988
jaska.kivela@cybercom.com | Pakkahuoneenaukio 2 A | fax 010 665 3060
specialist | PL 13, 33201 TAMPERE |
Message body not shown because it is not plain text.