|
2017-11-14
| ||
| 17:11 | • Ticket [d3cf54139d] static package Tcltest as provided in app tcltest lacks chil... artifact: 0c67b7601b user: dgp | |
| 15:43 | • Ticket [d3cf54139d]: 3 changes artifact: 26d3cd3d71 user: dgp | |
| 15:41 | • New ticket [d3cf54139d]. artifact: 58a104f4c1 user: dgp | |
static package Tcltest as provided in app tcltest lacks child interp support
Opend3cf54139d5fa637c091195e3fec6d964125dd73Created 9 years agoUpdated 9 years ago
Descriptionplain2017-11-14 15:41:15
$ make runtest ... % package present Tcltest 8.7a2 % interp create child child % child eval package require Tcltest can't find package Tcltest %
dgpplain2017-11-14 15:43:20
This is a problem because the test suite is written with the expectation that Tcltest is available in all the interps that run tests. In particular, all tests in package.test that have the constraint testpreferstable are always skipped because they run in child interps, and child interps cannot access the testpreferstable command that comes from the Tcltest package. When we have tests that never run, we get bugs popping up due to lack of testing.
dgpplain2017-11-14 17:11:31
Used workarounds to deal with the immediate troubles in package.test. Maybe the best way forward for the Tcltest package would be to make it [load]-able.
Log in (anonymous is fine) to add a comment.