On Fri Feb 29 23:20:07 2008, kraai wrote:
> Howdy,
> 
> The failure tests in t/perl/Parrot_Test.t fail because the file name
> and line number format used by Test::Builder on my system differs from
> that expected.  That is, the test suite expects
> 
>  #   at $0 line $line.
> 
> whereas
> 
>  #   in $0 at line $line.
> 

Yes, this is a consequence of our removal of specific versions (0.60) of
Test::More, Test::Simple and (most relevantly) Test::Builder from the
Parrot distribution in
http://rt.perl.org/rt3/Ticket/Display.html?id=38262.  I had to "fix" the
tests for failure cases (i.e., try to match what gets printed to STDERR)
and the fix related to post-0.64_01 versions of Test::Builder.  Can I
assume that you're working with a version earlier than 0.64?


> is actually produced.  According to the Test::Builder::Tester
> documentation, the test_fail function should be used to handle just
> this type of problem.  

AAMOF, I've been trying to figure out how to use test_fail() for the
past day.  I'll try out your patch and see if it works with the more
recent Test::Builder.


Reply via email to