Ticket UUID: | 458741 | |||
Title: | tcltest won't cope with vfs | |||
Type: | Bug | Version: | obsolete: 8.4a4 | |
Submitter: | vincentdarley | Created on: | 2001-09-05 14:34:49 | |
Subsystem: | 34. tcltest Package | Assigned To: | vincentdarley | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2001-09-07 00:37:28 | |
Resolution: | Fixed | Closed By: | vincentdarley | |
Closed on: | 2001-09-06 17:37:28 | |||
Description: |
Attached a patch to make tcltest cope with the possibility of running tests from a vfs. | |||
User Comments: |
hobbs added on 2001-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. dgp added on 2001-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. hobbs added on 2001-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. dgp added on 2001-09-06 01:53:33: File Added - 10404: tt.patch dgp added on 2001-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. vincentdarley added on 2001-09-05 21:34:50: File Added - 10392: tcltestvfs.patch |