]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
sg-report-flight: Sort failures by job name as last resort
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 21 Jul 2020 13:40:37 +0000 (14:40 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 31 Jul 2020 16:09:41 +0000 (17:09 +0100)
This removes some nondeterminism from the output.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
sg-report-flight

index 1c3721291bef2fe7fd7a6b8d302913ef704ff46f..034008071d8f37d30bd166e6b2a9b5d8cd280352 100755 (executable)
@@ -822,6 +822,7 @@ END
        # they finished in the same second, we pick the lower-numbered
        # step, which is the earlier one (if they are sequential at
        # all).
+       or $a->{Job} cmp $b->{Job}
     }
         @failures;