[lit] Improve consistency for showing result groups
authorJulian Lettner <julian.lettner@apple.com>
Tue, 16 Jun 2020 19:15:16 +0000 (12:15 -0700)
committerJulian Lettner <julian.lettner@apple.com>
Tue, 16 Jun 2020 19:40:06 +0000 (12:40 -0700)
commit7837de13943ff28648f0a443e8ba21c81bbe9679
tree4a9aef9bd9a1c5722ada6c56abb3f743b0c011f8
parentd970ab63e22eb5918774953da6b99ac27e5832a0
[lit] Improve consistency for showing result groups

Before this change we showed all result groups with a code that was not
explicitly hard-coded set.  This set missed the FLAKYPASS result code.

Let's generalize the code to always show failures and the additionally
requested result codes.
llvm/utils/lit/lit/cl_arguments.py
llvm/utils/lit/lit/main.py
llvm/utils/lit/tests/custom-result-category.py