1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

In testrunner.tcl, only show the ETC on the status line if it will fit within

the 80-character line limit.

FossilOrigin-Name: 45a3213d23f4691732ba2eb54d440355ce5757aad4cec8eb92f53b4bd7e7f5cd
This commit is contained in:
drh
2024-10-31 18:29:55 +00:00
parent 03cfce20c9
commit bce0d04c98
3 changed files with 8 additions and 8 deletions

View File

@ -547,7 +547,7 @@ proc show_status {db cls} {
set srcdir [file dirname [file dirname $TRG(info_script)]]
set line "Running: $S(running) (max: $nJob)"
if {$S(running)>0 && $fin>10} {
if {$S(running)>0 && $fin>10 && [string length $line]<69} {
set tmleft [expr {($tm/$fin)*($totalw-$fin)}]
if {$tmleft<0.02*$tm} {
set tmleft [expr {$tm*0.02}]