-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.