Skip to content
Tcl Source Code History Of Ticket 461000ffffffffff
Login

History Of Ticket 461000ffffffffff

Artifacts Associated With Ticket 461000ffffffffff

  1. Ticket change [5f0df960e3] (rid 115746) by dgp on 2001-09-12 20:13:32:

    1. assignee initialized to: "melissachawla"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.4a4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "[singleProcess 1] and singleTestInterp "
    11. type initialized to: "Bug"
  2. Ticket change [f77c133014] (rid 91381) by hobbs on 2002-03-23 06:06:31:

    1. assignee changed to: "dgp"
  3. Ticket change [cc00fa155e] (rid 95615) by dgp on 2002-06-01 06:35:22:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      This is because the [InitConstraints] is called as
      part of tcltest package initialization, so the
      "singleTestInterp" constraint is set before the
      [tcltest::singleProcess] is called, and that call
      is not changing the constraint.
      
      This is another example of the error pointed out in 
      Tcl Patch 512214.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [447cf9f48a] (rid 116719) by dgp on 2002-06-06 21:43:26:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      grrr..... the option is -singleproc
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [f64db4dfcc] (rid 130274) by dgp on 2002-06-06 22:00:08:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      testing with the right command line option
      reveals that *both* -singleproc *and* [singleProcess]
      fail to change the singleTestInterp constraint.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [3b42958b29] (rid 112704) by dgp on 2002-06-06 22:24:48:

    1. closedate changed to: "2002-06-06T15:24:48"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      conversion to lazy initialization of test constraints
      fixes this.  (Patch 512214).  Now as long as either
      the command line options are parsed or [singleProcess]
      is called before the first use of the singleTestInterp
      constraint, the right value is used.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"