Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b50c749edf1291f9c58bf78668802b904326b0a1
Ticket: 218934ffffffffffffffffffffffffffffffffff
Tcltest package typo corrections
User & Date: nobody on 2000-10-26 01:08:08
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2836 Bug
    Version: 8.2
    SubmitDate: '1999-09-20'
    LastModified: '1999-09-21'
    Severity: LOW
    Status: Released
    Submitter: techsupp
    ChangedBy: jenn
    OS: Linux
    OSVersion: 2.0.29
    Machine: Other
    FixedDate: '1999-09-21'
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Andreas Kupries
    
    
    Extensions:
    
    --
    
    
    CustomShell:
    
    --
    
    
    ReproducibleScript:
    
    Enclosed a patch correcting some typos I saw while looking through the
    
        tcltest
    
        package distributed with tcl 8.2 (library/tcltest1.0/).
    
    
    ObservedBehavior:
    
    --
    
    
    DesiredBehavior:
    
    --
    
    
    Patch:
    
    *** tcltest.tcl.origMon Sep 13 19:25:00 1999
    
    --- tcltest.tcl      Mon Sep 13 19:49:00 1999
    
    ***************
    
    *** 56,62 ****
    
          variable errorChannel stderr
    
    
          # debug output doesn't get printed by default; debug level 1 spits
    
    !     # up only the tets that were skipped because they didn't match or were 
    
          # specifically skipped.  A debug level of 2 would spit up the tcltest
    
          # variables and flags provided; a debug level of 3 causes some additional
    
          # output regarding operations of the test harness.  The tcltest package
    
    --- 56,62 ----
    
          variable errorChannel stderr
    
    
          # debug output doesn't get printed by default; debug level 1 spits
    
    !     # up only the tests that were skipped because they didn't match or were 
    
          # specifically skipped.  A debug level of 2 would spit up the tcltest
    
          # variables and flags provided; a debug level of 3 causes some additional
    
          # output regarding operations of the test harness.  The tcltest package
    
    ***************
    
    *** 91,97 ****
    
          array set ::tcltest::createdNewFiles {}
    
    
          # initialize ::tcltest::numTests array to keep track fo the number of
    
    !     # tests that pass, fial, and are skipped.
    
    
          array set ::tcltest::numTests [list Total 0 Passed 0 Skipped 0 Failed 0] 
    
    
    --- 91,97 ----
    
          array set ::tcltest::createdNewFiles {}
    
    
          # initialize ::tcltest::numTests array to keep track fo the number of
    
    !     # tests that pass, fail, and are skipped.
    
    
          array set ::tcltest::numTests [list Total 0 Passed 0 Skipped 0 Failed 0] 
    
    
    ***************
    
    *** 114,120 ****
    
          # Don't run only the constrained tests by default
    
          variable limitConstraints false
    
    
    !     # tests that use thread need to know which is the main thread
    
    
          variable mainThread 1
    
          if {[info commands testthread] != {}} {
    
    --- 114,120 ----
    
          # Don't run only the constrained tests by default
    
          variable limitConstraints false
    
    
    !     # tests that use threads need to know which is the main thread
    
    
          variable mainThread 1
    
          if {[info commands testthread] != {}} {
    
    ***************
    
    *** 207,213 ****
    
      #       previously exist - otherwise, it just increments it.
    
    
      proc ::tcltest::AddToSkippedBecause { constraint } {
    
    !     # add the constraint to the list of constraints the kept tests
    
          # from running
    
    
          if {[info exists ::tcltest::skippedBecause($constraint)]} {
    
    --- 207,213 ----
    
      #       previously exist - otherwise, it just increments it.
    
    
      proc ::tcltest::AddToSkippedBecause { constraint } {
    
    !     # add the constraint to the list of constraints that kept tests
    
          # from running
    
    
          if {[info exists ::tcltest::skippedBecause($constraint)]} {
    
    ***************
    
    *** 339,347 ****
    
          set ::tcltest::testConstraints(win32s) [string equal $tcl_platform(os) \
    
          "Win32s"]
    
    
    !     # The following Constraints switches are used to mark tests that should work,
    
    !     # but have been temporarily disabled on certain platforms because they don't
    
    !     # and we haven't gotten around to fixing the underlying problem.
    
    
          set ::tcltest::testConstraints(tempNotPc) \
    
          [expr {!$::tcltest::testConstraints(pc)}]
    
    --- 339,347 ----
    
          set ::tcltest::testConstraints(win32s) [string equal $tcl_platform(os) \
    
          "Win32s"]
    
    
    !     # The following Constraints switches are used to mark tests that should
    
    !     # work, but have been temporarily disabled on certain platforms because
    
    !     # they don't and we haven't gotten around to fixing the underlying problem.
    
    
          set ::tcltest::testConstraints(tempNotPc) \
    
          [expr {!$::tcltest::testConstraints(pc)}]
    
    
    PatchFiles:
    
    tcltest.tcl
    
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "Tcltest package typo corrections"
  11. type changed to: "Bug"