Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tcltest won't cope with vfs

Closed / Fixed458741ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-09-05 14:34:49
Attached a patch to make tcltest cope with the 
possibility of running tests from a vfs.
vincentdarleyplain2001-09-05 21:34:50
File Added - 10392: tcltestvfs.patch
dgpplain2001-09-06 01:53:32
Logged In: YES 
user_id=80530

Here's a revised patch.  You should not
treat package version numbers (like the
result of [info tclversion]) as floating
point values.  That's not what they are.
dgpplain2001-09-06 01:53:33
File Added - 10404: tt.patch
hobbsplain2001-09-06 03:04:19
Logged In: YES 
user_id=72656

The validity of comparing [info tclversion] as a floating 
point number has been discussed before, and it has always 
been determined that it is OK - tclversion, for reasons 
of "cleanliness" and backwards compatability will always 
return just M.m, or a valid floating point number.  It 
certainly is easier to read than the alternative.
dgpplain2001-09-06 03:09:24
Logged In: YES 
user_id=80530

Sorry, Jeff, that won't fly.  Even if we restrict to
M.m, that will still break when we release Tcl 8.10 .

So we don't release 8.10, I know, in order to accomodate
those that have done such {$tcl_version > 7.6} foolishness
in the past, but that's no reason not to code it right
in new code.
hobbsplain2001-09-06 06:18:23
Logged In: YES 
user_id=72656

OK, I'll have to acquiesve to Don on that point, although 
we've never had a package reach .10.  In any case, the 
revised patch should be used.  Handing back to Vince to 
commit.
vincentdarley Closed ticket [458741ffff]. [History diff]2001-09-07 00:37:28
Log in (anonymous is fine) to add a comment.

Attachments: