From: Ian Jackson Subject: [OSSTEST PATCH 10/10] sg-report-job-history: Colour host column according to whether it changes Date: Thu, 23 Jul 2015 19:19:24 +0100 Message-ID: <1437675564-16602-11-git-send-email-ian.jackson@eu.citrix.com> References: <1437675564-16602-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.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZIL6F-0007sd-F9 for xen-devel@lists.xenproject.org; Thu, 23 Jul 2015 18:20:07 +0000 In-Reply-To: <1437675564-16602-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 Signed-off-by: Ian Jackson --- sg-report-job-history | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sg-report-job-history b/sg-report-job-history index 11fdaaf..9a6e17b 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -232,6 +232,7 @@ END my $alternate= 0; my @last_revs; my @alt_revs; + my $alt_hosts; foreach my $r (@test_rows) { my $altcolour= report_altcolour($alternate); print H ""; @@ -249,7 +250,8 @@ END $r->{Content}."\n"; my $lastrev; my $hosts = join ", ", map { $_ // "-" } @{ $r->{Hosts} }; - print H "".encode_entities($hosts)."\n"; + my $hosts_colour = report_altchangecolour(\$alt_hosts, $hosts); + print H "".encode_entities($hosts)."\n"; $osstestverq->execute($r->{Flight}{flight}); print H "", -- 1.7.10.4