#551: t/pmc/nci.t:  2 test failures
---------------------+------------------------------------------------------
 Reporter:  jkeenan  |       Owner:                 
     Type:  bug      |      Status:  new            
 Priority:  normal   |   Milestone:                 
Component:  none     |     Version:                 
 Severity:  medium   |    Keywords:  pmc nci pointer
     Lang:           |       Patch:                 
 Platform:           |  
---------------------+------------------------------------------------------

Comment(by jkeenan):

 Replying to [comment:2 whiteknight]:
 >
 > I was aware of this error (I'm not on i386, so I found out after I
 committed r38037), so I committed in a fix at r38052. Can you do me a
 favor and update to r38052 (or later) and let me know what the status is
 and what the errors are if any?

 I checked out r38052 and got these results:
 {{{
 ok 65 - arity
 not ok 66 - nci_vVi - void** out parameter

 #   Failed test 'nci_vVi - void** out parameter'
 #   at t/pmc/nci.t line 2650.
 # Exited with error code: [SIGNAL 6]
 # Received:
 # src/call/pcc.c:978: failed assertion '(st->dest.sig &
 PARROT_ARG_TYPE_MASK) == PARROT_ARG_PMC'
 # Backtrace - Obtained 18 stack frames (max trace depth is 32).
 #   (unknown)
 #     Parrot_confess
 #       Parrot_fetch_arg_nci
 #         (unknown)
 #           (unknown)
 #             Parrot_NCI_invoke
 #               Parrot_invokecc_p
 #                 (unknown)
 #                   (unknown)
 #                     (unknown)
 #                       (unknown)
 #                         Parrot_runops_fromc_args
 #                           Parrot_runcode
 #                             (unknown)
 #                               imcc_run
 #                                 (unknown)
 #                                   __libc_start_main
 #                                     (unknown)
 #
 # Expected:
 # got 10
 #
 ok 67 - nci_ttt - t_tt parameter
 ok 68 - nci_vfff - v_fff parameter
 not ok 69 - nci_vV - char** out parameter

 #   Failed test 'nci_vV - char** out parameter'
 #   at t/pmc/nci.t line 2709.
 # Exited with error code: [SIGNAL 11]
 # Received:
 #
 # Expected:
 # Hello bright new world
 #
 # Looks like you failed 2 tests of 69.
  Dubious, test returned 2 (wstat 512, 0x200)
  Failed 2/69 subtests

 Test Summary Report
 -------------------
 t/pmc/nci (Wstat: 512 Tests: 69 Failed: 2)
   Failed tests:  66, 69
   Non-zero exit status: 2
 Files=1, Tests=69,  6 wallclock secs ( 0.00 usr  0.00 sys +  1.16 cusr
 0.22 csys =  1.38 CPU)
 Result: FAIL
 }}}
 And, of course, my original report was done at HEAD.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/551#comment:3>
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