Overview
Comment: | Updated to fix display problem with file sizes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 498cc9030858f165f828647c4301e999113579b8 |
User & Date: | rkeene on 2010-09-26 04:47:29 |
Other Links: | manifest | tags |
Context
2010-09-26
| ||
04:47 | Updated to include OS and CPU in Kit build info check-in: 0f7ae7bf19 user: rkeene tags: trunk | |
04:47 | Updated to fix display problem with file sizes check-in: 498cc90308 user: rkeene tags: trunk | |
04:47 | Updated to list failed builds in published reports check-in: f8d3a24687 user: rkeene tags: trunk | |
Changes
Modified build/test/publish-tests from [137a0321be] to [ccd0830569].
88 88 89 89 return [join $desc {, }] 90 90 } 91 91 92 92 proc pretty_print_size {size} { 93 93 foreach unit [list "" K M G T P] { 94 94 if {$size < 1024} { 95 - if {$size < 10} { 95 + if {$size < 10 && $unit != ""} { 96 96 set size [expr {round($size * 10) / 10.0}] 97 97 } else { 98 98 set size [expr {round($size)}] 99 99 } 100 100 101 101 return "$size [string trim ${unit}B]" 102 102 }