Skip to content
Tcl Source Code History Of Ticket 1228806
Login

History Of Ticket 1228806

Artifacts Associated With Ticket 1228806

  1. Ticket change [f2d378e03e] (rid 109623) by mpettigr on 2005-06-28 06:53:06:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Currently tests skipped from the command-line are not 
      reported when '-verbose s' is set, only skipped tests due 
      to constraints are reported.  For example,
      
      tclsh all.tcl -verbose s -skip foo*
      
      will not report any skipped tests except in summary.  
      This new feature is also convenient because it allows a 
      way to list the test names from the command-line, e.g.,
      
      tclsh all.tcl -verbose s -skip *
      
      possible solution:
      
      Update Skipped proc when the following code.  Note: 
      patch begin and end comments where patch is inserted 
      below.
      
      proc tcltest::Skipped {name constraints} {
          variable testLevel
          variable numTests
          variable testConstraints
      
          if {$testLevel == 1} {
      incr numTests(Total)
          }
          # skip the test if it's name matches an element of skip
          foreach pattern [skip] {
      if {[string match $pattern $name]} {
          if {$testLevel == 1} {
      incr numTests(Skipped)
      DebugDo 1 
      {AddToSkippedBecause userSpecifiedSkip}
          }
        # MNP - patch begin
          if {[IsVerbose skip]} {
      puts [outputChannel] "++++ 
      $name SKIPPED: userSpecifiedSkip"
          }
        # MNP - patch end
          return 1
      }
          }
      
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mpettigr"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to:
      Enhance '-verbose s' so that '-skip'ped tests are reported
      
    11. type initialized to: "RFE"
  2. Ticket change [3b9b8f7695] (rid 254606) by juliannoble2 on 2026-06-26 05:39:53:

    1. closer changed to: "nobody"
    2. comment changed to:
      Currently tests skipped from the command-line are not 
      reported when '-verbose s' is set, only skipped tests due 
      to constraints are reported.  For example,
      
      tclsh all.tcl -verbose s -skip foo*
      
      will not report any skipped tests except in summary.  
      This new feature is also convenient because it allows a 
      way to list the test names from the command-line, e.g.,
      
      tclsh all.tcl -verbose s -skip *
      
      possible solution:
      
      Update Skipped proc when the following code.  Note: 
      patch begin and end comments where patch is inserted 
      below.
      
      proc tcltest::Skipped {name constraints} {
          variable testLevel
          variable numTests
          variable testConstraints
      
          if {$testLevel == 1} {
      incr numTests(Total)
          }
          # skip the test if it's name matches an element of skip
          foreach pattern [skip] {
      if {[string match $pattern $name]} {
          if {$testLevel == 1} {
      incr numTests(Skipped)
      DebugDo 1 
      {AddToSkippedBecause userSpecifiedSkip}
          }
        # MNP - patch begin
          if {[IsVerbose skip]} {
      puts [outputChannel] "++++ 
      $name SKIPPED: userSpecifiedSkip"
          }
        # MNP - patch end
          return 1
      }
          }
      
    3. icomment:
      After 20+ years of this behaviour, It may not be worth the risk of changing this due to compatibility concerns - but the documentation could be clearer here.
      Currently the documentation is very vague regarding the -verbose setting:
      
        skip (s)
        Print output when a test is skipped
      
      The ++++ <testname> SKIPPED: <constraint/reason> output seems to be missing also when there is no positive match for the -match flag.
      
      A note that the -verbose skip value only refers to constraints, whilst summary "SKIP" values are more comprehensive would be good.
      
    4. login: "juliannoble2"
    5. mimetype: "text/plain"
    6. severity changed to: "Minor"