Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 33300
Status: resolved
Priority: 0/
Queue: Test-Exception

People
Owner: Nobody in particular
Requestors: ambs [...] cpan.org
Cc:
AdminCc:

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



Subject: Failing t/stacktrace
Make test is failing on perl 5.10 on Mac OS 10.5.2 [ambs@rachmaninoff Test-Exception-0.26]$ prove -b -v t/stacktrace.t t/stacktrace...... 1..2 ok 1 - use Test::Exception; not ok 2 - regex in stacktrace ignored # Failed test 'regex in stacktrace ignored' # at t/stacktrace.t line 17. # STDOUT is: # ok 1 - threw /fribble/ # # not: # not ok 1 - threw /fribble/ # # as expected # STDERR is: # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/stacktrace\.t line 13.*\n?/ # # # expecting: /fribble/ # # # found: died at t/stacktrace.t line 13 # # # Test::Exception::throws_ok('CODE(0x840cd0)', '/fribble/') called at t/stacktrace.t line 13 # # as expected Failed 1/2 subtests Test Summary Report ------------------- t/stacktrace.t (Wstat: 0 Tests: 2 Failed: 1) Failed test: 2 Files=1, Tests=2, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.02 cusr 0.00 csys = 0.04 CPU) Result: FAIL
RT-Send-CC: DAGOLDEN [...] cpan.org
I just discovered the same thing. Downgrading to Sub::Uplevel 0.18 lets the test pass again.
On Sat Feb 16 09:19:35 2008, ANDK wrote: Show quoted text
> I just discovered the same thing. Downgrading to Sub::Uplevel 0.18 lets > the test pass again.
OK, downgrading to Sub::Uplevel 0.18 for now. Cheers
From: ADIE [...] cpan.org
Yeah. It's something to do with the changes in Sub::Uplevel after 0.18. Just figuring out if it's my bug or David's bug :-) On Sat Feb 16 08:33:38 2008, AMBS wrote: Show quoted text
> Make test is failing on perl 5.10 on Mac OS 10.5.2 > > [ambs@rachmaninoff Test-Exception-0.26]$ prove -b -v t/stacktrace.t > t/stacktrace...... > 1..2 > ok 1 - use Test::Exception; > not ok 2 - regex in stacktrace ignored > > # Failed test 'regex in stacktrace ignored' > # at t/stacktrace.t line 17. > # STDOUT is: > # ok 1 - threw /fribble/ > # > # not: > # not ok 1 - threw /fribble/ > # > # as expected > # STDERR is: > # > # not: > # /#\s+Failed\ test.*?\n?.*?at\ t\/stacktrace\.t line 13.*\n?/ > # > # # expecting: /fribble/ > # > # # found: died at t/stacktrace.t line 13 > # > # # Test::Exception::throws_ok('CODE(0x840cd0)', '/fribble/') called at > t/stacktrace.t line 13 > # > # as expected > Failed 1/2 subtests > > Test Summary Report > ------------------- > t/stacktrace.t (Wstat: 0 Tests: 2 Failed: 1) > Failed test: 2 > Files=1, Tests=2, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.02 cusr > 0.00 csys = 0.04 CPU) > Result: FAIL
From: ADIE [...] cpan.org
It was my bug, shown up by David fixing a bug in S::U. Despite the fact it was my fault David was nice enough to provide a patch. Which has been applied. New version on its way to CPAN now.
Fixed in 0.27 - thanks to David Golden :-)