#1249: t/pmc/threads.t: Thread types tests need rework
---------------------+------------------------------------------------------
Reporter: jkeenan | Owner:
Type: cage | Status: new
Priority: normal | Milestone:
Component: testing | Version: 1.7.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
Comment(by jkeenan):
Here is current `prove -v` output:
{{{
not ok 10 - CLONE_CODE | CLONE_CLASSES; superclass not built-in # TODO
vtable overrides aren't properly cloned TT # 1248
# Failed (TODO) test 'CLONE_CODE | CLONE_CLASSES; superclass not built-
in'
# at t/pmc/threads.t line 454.
# got: 'in thread:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 0
# Foo? 0
# Bar? 1
# in main:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 0
# Foo? 1
# Bar? 1
# '
# expected: 'in thread:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 0
# Foo? 1
# Bar? 1
# in main:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 0
# Foo? 1
# Bar? 1
# '
not ok 11 - CLONE_CODE | CLONE_CLASSES; superclass built-in # TODO likely
incorrect test TT 1248
# Failed (TODO) test 'CLONE_CODE | CLONE_CLASSES; superclass built-in'
# at t/pmc/threads.t line 539.
# got: 'in thread:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 1
# Foo? 0
# Bar? 1
# in main:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 1
# Foo? 1
# Bar? 1
# '
# expected: 'in thread:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 1
# Foo? 1
# Bar? 1
# in main:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 1
# Foo? 1
# Bar? 1
# '
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1249#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets