Overview
| Artifact ID: | 650493a349a423016e0993861386264c676ec6c5 |
|---|---|
| Ticket: | 1160114fffffffffffffffffffffffffffffffff
TEA_PROG_TCLSH doesn't check version |
| User & Date: | dgp on 2005-03-09 18:58:26 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Sometimes it is important to test an extension in the same version of Tcl it was configured for. (Or at least not an earlier, possibly incompatible, release). TEA_PROG_TCLSH appears to just crawl through a search path looking for any programs named tclsh* . This could easily be an earlier release of Tcl, and conceivably not a Tcl interpreter program at all. Would be an improvement for TEA_PROG_TCLSH to try to evaluate [info tclversion] in the program it finds. This would allow verification that the program is in fact a Tcl interpreter at all, and that it provides a Tcl version that satisfies the TCL_VERSION value in the tclConfig.sh file that is in use. This has bitten when people try to test the trofs extension, where they configure against a Tcl 8.5 tclConfig.sh and header files, but attempt to run the test suite in a Tcl 8.4 tclsh, which fails.
- foundin changed to: "obsolete: 8.5a3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "85. tclconfig"
- title changed to: "TEA_PROG_TCLSH doesn't check version"
- type changed to: "Bug"