Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f2d378e03e0526e32f4f34693eccd31555d689ad
Ticket: 1228806fffffffffffffffffffffffffffffffff
Enhance '-verbose s' so that '-skip'ped tests are reported
User & Date: mpettigr on 2005-06-28 06:53:06
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. 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
    }
        }
    
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mpettigr"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to:
    Enhance '-verbose s' so that '-skip'ped tests are reported
    
  11. type changed to: "RFE"