Tests: Fix driver called with no tests

This commit is contained in:
Wilson Snyder 2020-05-15 22:33:35 -04:00
parent 2edbcce032
commit 2d11c2cbb3
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ sub sprint_summary {
my $delta = time() - $::Start;
my $leftmsg = $::Have_Forker ? $self->{left_cnt} : "NO-FORKER";
my $pct = int(100*($self->{left_cnt} / $self->{all_cnt}) + 0.999);
my $pct = int(100*($self->{left_cnt} / ($self->{all_cnt} + 0.001)) + 0.999);
my $eta = ($self->{all_cnt}
* ($delta / (($self->{all_cnt} - $self->{left_cnt})+0.001))) - $delta;
$eta = 0 if $delta < 10;