We are more interested the first worst failure. But if everything passed, then the last pass.
Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com> --- 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@lists.xen.org http://lists.xen.org/xen-devel