From: Ian Jackson Subject: [OSSTEST PATCH 4/6] sg-report-flight: Better choice of column-head cell Date: Fri, 1 May 2015 16:02:46 +0100 Message-ID: <1430492568-1761-5-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.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YoCT8-0005pY-67 for xen-devel@lists.xenproject.org; Fri, 01 May 2015 15:03:10 +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 We are more interested the first worst failure. But if everything passed, then the last pass. Signed-off-by: Ian Jackson --- sg-report-flight | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sg-report-flight b/sg-report-flight index 29b5ef6..7c9e52e 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -949,7 +949,7 @@ END } print H "\n"; print H ""; - print H "Worst/last"; + print H "Last pass / First worst fail"; print H ""; my $cell_html = sub { @@ -990,6 +990,7 @@ END next unless $ei; my @this = $cell_html->($ei); next if $this[1] < $worst[1]; + next if $this[1] == $worst[1] && $ei->{Step}{status} ne 'pass'; @worst=@this; } print H "",$worst[0],""; -- 1.7.10.4