From: Ian Jackson Subject: [OSSTEST PATCH 3/6] sg-report-flight: Break colour of out $cell_html->() results Date: Fri, 1 May 2015 16:02:45 +0100 Message-ID: <1430492568-1761-4-git-send-email-ian.jackson@eu.citrix.com> References: <21827.30808.198577.574772@mariner.uk.xensource.com> <1430492568-1761-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YoCTH-0005sM-B7 for xen-devel@lists.xenproject.org; Fri, 01 May 2015 15:03:19 +0000 In-Reply-To: <1430492568-1761-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org No functional change. Signed-off-by: Ian Jackson --- sg-report-flight | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sg-report-flight b/sg-report-flight index 18a5afa..29b5ef6 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -970,8 +970,8 @@ END ? ('#ff8888',400) : ('#ffff00',250); } - my $h = " bgcolor=\"$bgc\">"; - $h .= "{job}). + my $ch = "bgcolor=\"$bgc\""; + my $h = "{job}). "/$s->{stepno}.".encode_entities($s->{step}).".log\">"; #print H "[$s->{stepno}] "; $h .= encode_entities($sum_core); @@ -980,7 +980,7 @@ END $h .= " ". displayflightnum($sum_flight).""; } - return ($h,$priority); + return ($h,$priority,$ch); }; foreach my $col (@cols) { @@ -992,7 +992,7 @@ END next if $this[1] < $worst[1]; @worst=@this; } - print H ""; + print H "",$worst[0],""; } print H "\n"; # Create a gutter row after the headers. @@ -1038,8 +1038,8 @@ END if ($ei) { $deferred_cells->(1); my $s= $ei->{Step}; - my ($h,$priority) = $cell_html->($ei); - print H ""; + my ($h,$priority,$ch) = $cell_html->($ei); + print H "",$h,""; } else { $ndeferred++; } -- 1.7.10.4