develooper Front page | perl.perl5.porters | Postings from December 2009

Test::Exception 0.27 failing on perl 5.11.3 ?

Thread Next
From:
Gabor Szabo
Date:
December 23, 2009 11:51
Subject:
Test::Exception 0.27 failing on perl 5.11.3 ?
Message ID:
d8a74af10912231151k6e059a74y9780d327e783bc20@mail.gmail.com
Hi Adreian and the perl 5 porters,

I was trying to build Test::Exception 0.27 on perl 5.11.3 and got a
test failure.
Running the failing test script manually I get the following.
The rest of the test seem to work.


/home/szabgab/.perldist_xl/perl-5.11.3-xl-0.03/perl/bin/perl -T -Ilib
t/stacktrace.t
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
#
# # 	main::__ANON__() called at
/home/szabgab/.perldist_xl/perl-5.11.3-xl-0.03/perl/lib/site_perl/5.11.3/Sub/Uplevel.pm
line 150
#
# # 	Sub::Uplevel::uplevel(3, 'CODE(0x8284218)') called at
lib/Test/Exception.pm line 104
#
# # 	eval {...} called at lib/Test/Exception.pm line 104
#
# # 	Test::Exception::_try_as_caller('CODE(0x8284218)') called at
lib/Test/Exception.pm line 178
#
# # 	Test::Exception::throws_ok('CODE(0x8284218)', '/fribble/') called
at t/stacktrace.t line 13
#
# as expected

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About