1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[lit] Sort testing summary output

As fallout from from the record-and-reorder work, people asked that the
summary output be sorted to aid diffing.
This commit is contained in:
David Zarzycki 2021-03-20 07:52:08 -04:00
parent 52195b6999
commit 980d119a88

View File

@ -295,7 +295,7 @@ def print_results(tests, elapsed, opts):
tests_by_code[test.result.code].append(test)
for code in lit.Test.ResultCode.all_codes():
print_group(tests_by_code[code], code, opts.shown_codes)
print_group(sorted(tests_by_code[code], key=lambda t: t.getFullName()), code, opts.shown_codes)
print_summary(tests_by_code, opts.quiet, elapsed)