[lit] Add EXCLUDED test result category
authorJulian Lettner <julian.lettner@apple.com>
Mon, 13 Apr 2020 20:01:46 +0000 (13:01 -0700)
committerJulian Lettner <julian.lettner@apple.com>
Fri, 1 May 2020 00:58:11 +0000 (17:58 -0700)
commit8cb8fe909bc8fac7d756e06d0a70967a1e24a583
tree8edd3629881710308cc6f49d61e12b825fc6703c
parenta3515ab8af8aa2db463def55ba6a477b24e64a54
[lit] Add EXCLUDED test result category

Track and print the number of tests that were discovered but not
executed due to test selection options:
  * --filter (regex filter)
  * --max-tests (limits number of tests)
  * sharding feature

With this change all discovered tests are accounted for: every
discovered test is included in one of the counts printed in the summary.

Reviewed By: jdenny

Differential Revision: https://reviews.llvm.org/D78078
llvm/utils/lit/lit/Test.py
llvm/utils/lit/lit/main.py
llvm/utils/lit/tests/selecting.py