[Lldb-commits] [PATCH] D127258: [lldb] Parse the dotest output to determine the most appropriate result code
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 8 08:36:05 PDT 2022
kastiglione accepted this revision.
kastiglione added inline comments.
================
Comment at: lldb/test/API/lldbtest.py:126
+ # being stable for ties.
+ lit_results.sort(reverse=True, key=operator.itemgetter(0))
+ return lit_results[0][1], output
----------------
you could alternatively use `max(lit_results, key=...)`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127258/new/
https://reviews.llvm.org/D127258
More information about the lldb-commits
mailing list