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

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



We are more interested the first worst failure.  But if everything
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>";
-- 
1.7.10.4


_______________________________________________
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®.