From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 6/6] sg-report-flight: Report stepno and testid of first worst fail Date: Fri, 1 May 2015 16:27:24 +0100 Message-ID: <1430494044.15640.71.camel@citrix.com> References: <21827.30808.198577.574772@mariner.uk.xensource.com> <1430492568-1761-1-git-send-email-ian.jackson@eu.citrix.com> <1430492568-1761-7-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 1YoCqe-0000PH-Uo for xen-devel@lists.xenproject.org; Fri, 01 May 2015 15:27:29 +0000 In-Reply-To: <1430492568-1761-7-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: Ian Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Fri, 2015-05-01 at 16:02 +0100, Ian Jackson wrote: > This makes reading the scoreboard considerably easier. > > We abuse the local variable @worst slight, pushing the extra info we ^ly > @@ -993,9 +995,13 @@ END > next if $this[1] < $worst[1]; > next if $this[1] == $worst[1] && $ei->{Step}{status} ne 'pass'; > @worst=@this; > + push @worst, > + encode_entities("$ei->{Step}{stepno}. $ei->{Step}{testid}"); > } > - print H "",$worst[0],""; > + push @worstrow1, "",$worst[3],""; > + push @worstrow2, "",$worst[0],""; > } > + print H "\n", @worstrow1, "\n\n", @worstrow2; Does this need a in the middle? I think there was likely no in the old code either, and I suppose web standards being what they are ......... probably works. That being the case you could reasonably defer shaving this yakk for another time. > print H "\n"; > # Create a gutter row after the headers. > print H " \n";