#1135: t/op/annotate-old.t fails using -f core
--------------------+-------------------------------------------------------
Reporter: coke | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: 1.6.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Test appears to fail as expected, but not every core displays line numbers
in stacktraces.
(Tests that test for this should check for the correct value in the
runcores that support it, and -1 otherwise.)
{{{
$ perl t/harness -f t/op/annotate-old.t
t/op/annotate-old.t .. 1/1
# Failed test 'unhandled exception from loaded function'
# at t/op/annotate-old.t line 26.
# 'too many positional arguments: 5 passed, 2 expected
# current instr.: 'parrot;Test;More;ok' pc 31
(runtime/parrot/library/Test/More.pir:100)
# called from Sub 'main' pc -1 ((unknown file):-1)
# '
# doesn't match '/(foobar:42)/
# '
# './parrot --runcore=fast -D40 "/home/coke/sandbox/parrot/t/op/annotate-
old_1.pir"' failed with exit code 1
# Looks like you failed 1 test of 1.
t/op/annotate-old.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/op/annotate-old.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.05 cusr
0.01 csys = 0.08 CPU)
Result: FAIL
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1135>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets