Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-08-02
08:18 • Closed ticket [442663ffff]: Simplify a couple of Tcl tests. plus 7 other cha... artifact: bf22d0fb1c user: hobbs
2001-07-20
05:26 • Ticket [442663ffff]: 4 changes artifact: 6cfc2af8dc user: hobbs
2001-07-19
22:33 • Ticket [442663ffff]: 4 changes artifact: 546142d505 user: andreas_kupries
13:09 • Add attachment tests.patch to ticket [442663ffff] artifact: 3067ceee13 user: mdejong
13:09 • Ticket [442663ffff] Simplify a couple of Tcl tests. status still Open with 4... artifact: 344cec7d4b user: mdejong
06:09 • New ticket [442663ffff]. artifact: 684075458c user: mdejong

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: