[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH 4/6] sg-report-flight: Better choice of column-head cell



On Fri, 2015-05-01 at 16:02 +0100, Ian Jackson wrote:
> We are more interested the first worst failure.  But if everything
                       ^in ?

> passed, then the last pass.

> 
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> ---
>  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 "<tr><th>";
> -    print H "Worst/last";
> +    print H "Last pass / First worst fail";
>      print H "</th>";
>  
>      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 "<td ",$worst[2],">",$worst[0],"</td>";



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.