#380: t/pmc/exceptionhandler.t - Bad plan. You planned 8 tests but ran 6
--------------------+-------------------------------------------------------
Reporter: mikehh | Type: bug
Status: new | Priority: normal
Milestone: | Component: core
Version: trunk | Severity: medium
Keywords: pmc | Lang:
Patch: | Platform:
--------------------+-------------------------------------------------------
Comment(by mikehh):
Ok - it's the --optimize build that is the problem here.
I was in error in saying that it failed on my AMD64 build - it passes
there.
I did a new checkout and built the system again.
I ran:[[BR]]
perl Configure.pl --optimize --test[[BR]]
make world[[BR]]
prove -v t/pmc/exceptionhandler.t[[BR]]
t/pmc/exceptionhandler.t ..[[BR]]
1..8[[BR]]
ok 1 - Instantiated ExceptionHandler[[BR]]
ok 2 - Min and Max severity for exception handlers[[BR]]
ok 3 - Min and Max severity for exception handlers[[BR]]
ok 4 - Exception Handler type checks work[[BR]]
ok 5 - Exception Handler type checks work[[BR]]
ok 6 - Exception Handler subclass popped[[BR]]
Failed 2/8 subtests[[BR]]
OK, then I did a clean checkout again:
perl Configure.pl --test[[BR]]
make world[[BR]]
prove --verbose t/pmc/exceptionhandler.t[[BR]]
t/pmc/exceptionhandler.t ..[[BR]]
1..8[[BR]]
ok 1 - Instantiated ExceptionHandler[[BR]]
ok 2 - Min and Max severity for exception handlers[[BR]]
ok 3 - Min and Max severity for exception handlers[[BR]]
ok 4 - Exception Handler type checks work[[BR]]
ok 5 - Exception Handler type checks work[[BR]]
ok 6 - Exception Handler subclass popped[[BR]]
ok 7 - Exception Handler subclass with can_handle method catch
exception[[BR]]
ok 8 - Exception Handler subclass catch exception[[BR]]
ok[[BR]]
All tests successful.[[BR]]
Files=1, Tests=8, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.04 cusr
0.00 csys = 0.07 CPU)[[BR]]
Result: PASS[[BR]]
So it looks to me that this is due to a failure in the optimizer - i.e.
running gcc with the -O2 flag set.
There seem to be no other failures in the test suite.
I will continue investigating.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/380#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets