Simplify a couple of Tcl tests.
Closed / Fixed442663ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-07-19 06:09:32
Here is an old patch I found kicking around. While it does not actually change any functionality, I think it makes things much more simple. 2001-07-18 Mo DeJong <[email protected]> * tests/fCmd.test: * tests/parseOld.test: Simplify needlessly complex checks for the existence of test commands.
mdejongplain2001-07-19 13:09:34
File Added - 8592: tests.patch
andreas_kupriesplain2001-07-19 22:33:11
Logged In: YES user_id=75003 I remember that in a different place in the testsuite such checks were used to set a constraint which was then subsequently used by the affected tests to enable/disable them.
hobbsplain2001-07-20 05:26:16
Logged In: YES user_id=72656 It might be better to do it via the testConstraints array, and place the constraints on the particular tests. This is actually just a few of many tests that would otherwise fail when not run under tcltest. The reason I like the constraints method better is that each run still has the same number of overall tests, and the summary output tells you the named constrainsts for what was skipped.
hobbsplain2001-08-02 08:18:52
Logged In: YES user_id=72656 The fCmd tests were already updated at some point, and I more correctly did the skip on parseOld.test for testwordend.
Log in (anonymous is fine) to add a comment.
Attachments:
- tests.patch [download] added by mdejong on 2001-07-19 13:09:34. [details]