Compress the content of the status line in testrunning.tcl so that all the
same status information appears but with less punctuation and with "zero" values omitted, so that the status line will fit comfortably on an 80-column terminal window. FossilOrigin-Name: 966351311682a319ec796c07d407ce90cd1aa0cea9e904ba1085a4ebadbdf925
This commit is contained in:
+8
-2
@@ -963,13 +963,19 @@ proc one_line_report {} {
|
||||
foreach j [lsort [array names t]] {
|
||||
foreach k {done failed running} { incr v($k,$j) 0 }
|
||||
set fin [expr $v(done,$j) + $v(failed,$j)]
|
||||
lappend text "$j ($fin/$t($j)) f=$v(failed,$j) r=$v(running,$j)"
|
||||
lappend text "${j}($fin/$t($j))"
|
||||
if {$v(failed,$j)>0} {
|
||||
lappend text "f$v(failed,$j)"
|
||||
}
|
||||
if {$v(running,$j)>0} {
|
||||
lappend text "r$v(running,$j)"
|
||||
}
|
||||
}
|
||||
|
||||
if {[info exists TRG(reportlength)]} {
|
||||
puts -nonewline "[string repeat " " $TRG(reportlength)]\r"
|
||||
}
|
||||
set report "${tm}s: [join $text { }]"
|
||||
set report "${tm} [join $text { }]"
|
||||
set TRG(reportlength) [string length $report]
|
||||
if {[string length $report]<100} {
|
||||
puts -nonewline "$report\r"
|
||||
|
||||
Reference in New Issue
Block a user