#380: t/pmc/exceptionhandler.t - Bad plan. You planned 8 tests but ran 6
-----------------------+----------------------------------------------------
  Reporter:  mikehh    |        Type:  bug   
    Status:  reopened  |    Priority:  normal
 Milestone:            |   Component:  core  
   Version:  trunk     |    Severity:  medium
Resolution:            |    Keywords:  pmc   
      Lang:            |       Patch:        
  Platform:            |  
-----------------------+----------------------------------------------------

Comment(by mikehh):

 The original reported problem now seems to have cleared up.

 '''However''' my build without the optimize flag is failing t/dynpmc/foo.t
 03

 http://smolder.plusthree.com/app/public_projects/report_details/18419

 as opposed to my build with --optimize which passes that test

 http://smolder.plusthree.com/app/public_projects/report_details/18415

 both builds fail t/pmc/packfileconstanttable.t (failed test 3), but then
 so are the other smoke tests at the moment

 I did a make realclean, perl Configure.pl, make, make test and the test
 failed.

 I then did a new svn co, perl Configure.pl, make, make smoke and the test
 failed. That is smoke test 18419 at r37050.

 None of the other smoke tests seem to fail this test.

 I am running on Kubuntu Intrepid i386 with all recent updates and the same
 for CPAN.  It does not fail the test on Kubuntu Intrepid AMD64 either.

 I can't think of any settings that would cause this, or what I could have
 done that would cause the test to pass when I run perl Configure
 --optimise as opposed to perl Configure.pl

 I have included the prove results for the tests without the optimize and
 with.


 {{{
 m...@mhk-desktop:~/parrot.nopt$ prove --verbose t/dynpmc/foo.t
 t/dynpmc/foo.t ..
 1..9
 ok 1 - get_integer
 ok 2 - loadlib with relative pathname, no ext
 not ok 3 - loadlib with absolute pathname, no ext

 #   Failed test 'loadlib with absolute pathname, no ext'
 #   at t/dynpmc/foo.t line 57.
 # Exited with error code: 1
 # Received:
 # Class 'Foo' not found
 # current instr.: 'main' pc 16
 (/home/mhk/parrot.nopt/t/dynpmc/foo_3.pir:15)
 #
 # Expected:
 # 42
 #
 ok 4 - loadlib with relative pathname & ext
 ok 5 - loadlib with absolute pathname & ext
 ok 6 - inherited add
 ok 7 - Foo subclass isa Integer
 ok 8 - .HLL 1
 ok 9 - .HLL 2
 # Looks like you failed 1 test of 9.
 Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/9 subtests

 Test Summary Report
 -------------------
 t/dynpmc/foo.t (Wstat: 256 Tests: 9 Failed: 1)
   Failed test:  3
   Non-zero exit status: 1
 Files=1, Tests=9,  0 wallclock secs ( 0.05 usr  0.00 sys +  0.20 cusr
 0.14 csys =  0.39 CPU)
 Result: FAIL
 m...@mhk-desktop:~/parrot.nopt$

 }}}


 {{{
 m...@mhk-desktop:~/parrot$ prove --verbose t/dynpmc/foo.t
 t/dynpmc/foo.t ..
 1..9
 ok 1 - get_integer
 ok 2 - loadlib with relative pathname, no ext
 ok 3 - loadlib with absolute pathname, no ext
 ok 4 - loadlib with relative pathname & ext
 ok 5 - loadlib with absolute pathname & ext
 ok 6 - inherited add
 ok 7 - Foo subclass isa Integer
 ok 8 - .HLL 1
 ok 9 - .HLL 2
 ok
 All tests successful.
 Files=1, Tests=9,  1 wallclock secs ( 0.04 usr  0.01 sys +  0.21 cusr
 0.12 csys =  0.38 CPU)
 Result: PASS
 m...@mhk-desktop:~/parrot$

 }}}

 I have no idea at the moment how to proceed here.  I will keep working on
 it.

 As regards this ticket the original problem I reported seems to have gone
 away.

 Should a new ticket be created?

 Has anybody else had a problem in this area?

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/380#comment:8>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to