Changeset 2083 for trunk/tester/scripts


Ignore:
Timestamp:
Feb 4, 2011 8:47:35 AM (9 years ago)
Author:
braffert
Message:

tester: status message missing case when some tests passed and some need to run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tester/scripts/testview.tcl

    r2081 r2083  
    219219                    set desc "[_plural $states(Fail)] failed\n[_plural $states(Pass)] passed"
    220220                }
     221                */0/* {
     222                    if {$states(Pass) == 1} {
     223                        set smesg "One of these tests passed"
     224                    } else {
     225                        set smesg "Some of these tests passed"
     226                    }
     227                    set sicon [Rappture::icon pass64]
     228                    set color $itk_option(-statuspasscolor)
     229                    set desc "[_plural $states(Pass)] passed\n[_plural $states(?)] need to run"
     230                }
    221231                default {
    222232                    set smesg "Some tests passed, some failed"
Note: See TracChangeset for help on using the changeset viewer.