Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-06-25
16:45 • Closed ticket [2811598fff]: oo-19.1 test fragile plus 6 other changes artifact: 52b6b19b31 user: dkf
2009-06-24
22:30 • Ticket [2811598fff]: 5 changes artifact: 35c32220c1 user: dkf
15:15 • New ticket [2811598fff]. artifact: a5543a422d user: dgp

oo-19.1 test fragile

Closed / Fixed2811598fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-06-24 15:15:50
Test body for oo-19.1 contains

 inst eval {trace add variable x write foo}

which suffers from Tcl's "creative writing"
problems.  When the global variable ::x
exists, that is what will be traced, which
is probably not the intent of the test, and
can cause interactions with other tests.

See also test oo-7.6, which (until corrected
today) actually leaves such a ::x lying around
to trigger the problem.
dkfplain2009-06-24 22:30:31
Fixed in HEAD; leaving open for port to extension
dkfplain2009-06-25 16:45:10
allow_comments - 1

backported
Log in (anonymous is fine) to add a comment.