Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 19f696b7f70cc7566cad59b1498c2f3316c98390
Ticket: 460591ffffffffffffffffffffffffffffffffff
tcltest::singleProcess 1 ==> 8 tests fai
User & Date: dgp on 2001-09-11 06:19:27
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    tcltest 2 defaults to evaluating each of the files
    tests/*.test in its own child process.  This minimizes
    the reach of failing tests that crash a process and
    helps to isolate tests from one another.
    
    When [tcltest::singleProcess 1] is evaluated, this
    default is overridden, and all tests are evaluated
    in a single process.  Some isolation is lost.  For
    example, tests that assume that a command or a
    variable is not defined may fail because that
    command or variable has been defined by tests in
    another file.  Particular culprits are [foo] or
    $res.
    
    Note that tcltest 2.0.1 has recently been changed
    by Vince Darley to automatically detect when
    the tests are not being run from a native file
    system, and to set [tcltest::singleProcess 1] in
    that case, so it's important that the Tcl test
    suite work in this mode.
    
    Note also that when backporting tests to the Tcl 8.3.x
    branch, the Tcl 8.3.x release include tcltest 1, not
    tcltest 2, so all tests are evaluated in a single
    process.
    
    The following tests fail when 'make test' is 
    invoked in single process mode:
    
    ioCmd-8.11
    ioCmd-8.12
    ioCmd-8.13
    namespace-41.1
    rename-4.1
    rename-4.2
    stack-2.1
    tcltest-5.5
    
    
    
  4. foundin changed to: "obsolete: 8.4a4"
  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: "None"
  10. title changed to: "tcltest::singleProcess 1 ==> 8 tests fai"
  11. type changed to: "Bug"