Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5f0df960e374de6e9f7885e4f9f5ce74aba07ba3
Ticket: 461000ffffffffffffffffffffffffffffffffff
[singleProcess 1] and singleTestInterp
User & Date: dgp on 2001-09-12 20:13:32
Changes

  1. assignee changed to: "melissachawla"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    $ configure --disable-shared
    $ make tcltest
    $ cat twotest.tcl
    package require tcltest
    tcltest::matchFiles [list msgcat.test tcltest.test]
    source ./../tests/all.tcl
    
    $ ./tcltest twotest.tcl -singleProc 1
    Tests running in interp: 
    /local/src/tcl/solaris/tcltest
    Tests located in:  /local/src/tcl/tests
    Tests running in:  /local/src/tcl/solaris
    Temporary files stored in /local/src/tcl/solaris
    Test files run in separate interpreters
    Only running test files that match:  msgcat.test
    tcltest.test
    Tests began at Wed Sep 12 16:08:36 EDT 2001
    msgcat.test
    tcltest.test
    
    Tests ended at Wed Sep 12 16:09:18 EDT 2001
    all.tcl:        Total   166     Passed  164     Skipped
    2       Failed  0
    Sourced 2 Test Files.
    Number of tests skipped for each constraint:
            2       LANGisC
    
    $ ./tcltest
    % package require tcltest
    2.0.1
    % tcltest::singleProcess 1
    1
    % source twotest.tcl
    Tests running in interp: 
    /local/src/tcl/solaris/tcltest
    Tests located in:  /local/src/tcl/tests
    Tests running in:  /local/src/tcl/solaris
    Temporary files stored in /local/src/tcl/solaris
    Test files sourced into current interpreter
    Only running test files that match:  msgcat.test
    tcltest.test
    Tests began at Wed Sep 12 16:10:36 EDT 2001
    msgcat.test
    tcltest.test
    
    ==== tcltest-5.5 tcltest::constraintList FAILED
    ==== Contents of test case:
     lsort [tcltest::constraintList] 
    ---- Result was:
    95 98 LANGisC asyncPipeClose eformat emptyTest
    hasIsoLocale interactive knownBug mac macCrash macOnly
    macOrPc macOrUnix macOrWin nonBlockFiles nonPortable
    notRoot nt pc pcCrash pcOnly root singleTestInterp
    socket stdio tempNotMac tempNotPc tempNotUnix
    tempNotWin unix unixCrash unixExecs unixOnly unixOrPc
    unixOrWin userInteraction win winCrash winOnly
    ---- Result should have been (exact matching):
    95 98 asyncPipeClose eformat emptyTest hasIsoLocale
    interactive knownBug mac macCrash macOnly macOrPc
    macOrUnix macOrWin nonBlockFiles nonPortable notRoot nt
    pc pcCrash pcOnly root singleTestInterp socket stdio
    tempNotMac tempNotPc tempNotUnix tempNotWin unix
    unixCrash unixExecs unixOnly unixOrPc unixOrWin
    userInteraction win winCrash winOnly
    ==== tcltest-5.5 FAILED
    
    
    Tests ended at Wed Sep 12 16:11:15 EDT 2001
    all.tcl:        Total   166     Passed  163     Skipped
    2       Failed  1
    Sourced 4 Test Files.
    Files with failing tests: tcltest.test
    Number of tests skipped for each constraint:
            2       LANGisC
    
    
    
    Clearly the "-singleProc 1" command line option
    successfully clears the singleTestInterp constraint,
    but the command [tcltest::singleProcess 1] does not.
    
    
  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: "34. tcltest Package"
  10. title changed to: "[singleProcess 1] and singleTestInterp "
  11. type changed to: "Bug"