Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-08-06
05:36 • Closed ticket [589859ffff]: -setup/-cleanup not constrained! plus 8 other ch... artifact: e01b5f22a7 user: dgp
2002-08-01
22:49 • New ticket [589859ffff]. artifact: cd4a0749d6 user: dgp

-setup/-cleanup not constrained!

Closed / Fixed589859ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-08-01 22:49:28
As observed by Carl Zwanzig <[email protected]>
on comp.lang.tcl, the -setup and -cleanup scripts
of tests *always* run, even when a constraint
causes the body of a test to be skipped.  It seems
it would make more sense if a constraint disabled
all or none of the setup, body, and cleanup scripts.

tcltest 2.1 copied this behavior from tcltest 2.0.
Is there any good reason for it?  (Some strange
need of TclPro?)  If not, I'm inclined to consider
it a bug and fix it.
dgpplain2002-08-06 05:36:31
Logged In: YES 
user_id=80530


Fixed in tcltest 2.2 (with Tcl 8.4b2).
Log in (anonymous is fine) to add a comment.