Skip to content
Snippets Groups Projects
Commit 31bd7d64 authored by kestes%walrus.com's avatar kestes%walrus.com
Browse files

the estimate of the time remaining was broken (variable name changed in

some code and not others).
parent 1beefc23
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,8 @@
# the build was and display a link to the build log.
# $Revision: 1.22 $
# $Date: 2001/08/02 20:04:20 $
# $Revision: 1.23 $
# $Date: 2001/08/14 15:57:43 $
# $Author: kestes%walrus.com $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/TinderDB/Build.pm,v $
# $Name: $
......@@ -583,7 +583,7 @@ sub status_table_header {
my $current_endtime = $DATABASE{$tree}{$buildname}{'recs'}[0]{'endtime'};
my $current_status = $DATABASE{$tree}{$buildname}{'recs'}[0]{'status'};
my $previous_endtime = $DATABASE{$tree}{$buildname}{'recs'}[1]{'endtime'};
my $current_finnished = BuildStatus::is_status_final($buildstatus);
my $current_finnished = BuildStatus::is_status_final($current_status);
my $txt ='';
my $num_lines;
......@@ -668,8 +668,13 @@ sub status_table_header {
if ($estimated_remaining) {
my $min = sprintf ("%.0f", # round
($estimated_remaining/60) );
my $estimate_end_time = $main::TIME + $estimated_remaining;
$txt .= "time_remaining (estimate): &nbsp;$min<br>";
$num_lines++;
$txt .= "estimated_end_time: &nbsp;";
$txt .= &HTMLPopUp::timeHTML($estimate_end_time)."<br>";
$num_lines++;
}
$buildname =~ s/Clobber/Clbr/g;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment