#2117: t/pmc/nci.t fails when extra nci thunks are disabled
----------------------+-----------------------------------------------------
Reporter: dukeleto | Owner: plobsing
Type: bug | Status: new
Priority: normal | Milestone:
Component: testing | Version: 3.4.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: all |
----------------------+-----------------------------------------------------
Snippet:
{{{
$ prove -v t/library/nciutils.t
t/library/nciutils.t ..
1..13
ok 1 - load_bytecode
No NCI thunk available for signature `ptr (ptr, STRING)'
current instr.: 'parrot;NCI;Utils;nciwrap' pc 558
(runtime/parrot/library/NCI/Utils.pir:421)
called from Sub 'main' pc 87 (t/library/nciutils.t:49)
Dubious, test returned 1 (wstat 256, 0x100)
Failed 12/13 subtests
Test Summary Report
-------------------
t/library/nciutils.t (Wstat: 256 Tests: 1 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 13 tests but ran 1.
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.00 cusr
0.01 csys = 0.03 CPU)
Result: FAIL
(sarkomand)(~/git/parrot master )$ prove -v t/pmc/nci.t
t/pmc/nci.t ..
1..58
ok 1 - load library fails
ok 2 - dlfunc on undef
ok 3 - dlfunc function not found
ok 4 - dlfunc function is defined
not ok 5 - dlfunc function pointer
# Failed test 'dlfunc function pointer'
# at t/pmc/nci.t line 142.
# Exited with error code: 1
# Received:
# libnci_test was successfully loaded
# No NCI thunk available for signature `double (double)'
# current instr.: 'test' pc 19 (/media/ssd/git/parrot/t/pmc/nci_5.pir:13)
#
# Expected:
# libnci_test was successfully loaded
# 1
# 1
# 1
#
not ok 6 - nci_c - return a char in an INTEGER register
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/2117>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets