Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b95e23fbd10912da93b1a61ad2dbe40ca440a12e
Ticket: 534903ffffffffffffffffffffffffffffffffff
threadReap does not belong in tcltest
User & Date: dgp on 2002-03-25 22:27:29
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    tcltest 2 provides the command [tcltest::threadReap].
    
    However, this command serves no function in providing
    the functionality of a generic testing harness.
    Rather, it is a command that would be useful to
    register as a callback within a generic testing
    harness by a particular test suite that was testing
    the Thread extension, or the threading capabilities
    of thread-enabled Tcl.
    
    Looking at the internals makes this clear.  Basically,
    it is
    
     if {we're testing the Thread package} {
       # do one set of things
     } elseif {we're testing thread-enabled Tcl} {
       # do some other set of things
     } else {# do nothing}
    
    The tcltest package should stick to the foundations,
    and not become a dumping ground for the special
    purpose testing utility needs of other packages.
    The tcltest package must provide a complete set of
    callback registration facilities so that other
    package can register all the special purpose utilities
    they need on their own.
    
    Same argument goes for [*locale] and most of the
    constraints.
    
    
    
  4. foundin changed to: "obsolete: 8.4a5"
  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: "34. tcltest Package"
  10. title changed to: "threadReap does not belong in tcltest"
  11. type changed to: "Bug"