Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 650493a349a423016e0993861386264c676ec6c5
Ticket: 1160114fffffffffffffffffffffffffffffffff
TEA_PROG_TCLSH doesn't check version
User & Date: dgp on 2005-03-09 18:58:26
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
  4. foundin changed to: "obsolete: 8.5a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "85. tclconfig"
  10. title changed to: "TEA_PROG_TCLSH doesn't check version"
  11. type changed to: "Bug"