[all-commits] [llvm/llvm-project] dac21f: [lit] Add an option to print all features used in ...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri May 29 04:00:28 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dac21fd29cd2ae2b979a276747ad5ad82fca09bf
https://github.com/llvm/llvm-project/commit/dac21fd29cd2ae2b979a276747ad5ad82fca09bf
Author: Louis Dionne <ldionne at apple.com>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M llvm/utils/lit/lit/BooleanExpression.py
M llvm/utils/lit/lit/Test.py
M llvm/utils/lit/lit/TestRunner.py
M llvm/utils/lit/lit/cl_arguments.py
M llvm/utils/lit/lit/main.py
A llvm/utils/lit/tests/Inputs/show-used-features/lit.cfg
A llvm/utils/lit/tests/Inputs/show-used-features/mixed.txt
A llvm/utils/lit/tests/Inputs/show-used-features/requires.txt
A llvm/utils/lit/tests/Inputs/show-used-features/unsupported.txt
A llvm/utils/lit/tests/Inputs/show-used-features/xfail.txt
A llvm/utils/lit/tests/show-used-features.py
Log Message:
-----------
[lit] Add an option to print all features used in tests
Lit test suites can tend to accumulate annotations that are not necessarily
relevant as time goes by, for example XFAILS on old compilers or platforms.
To help spot old annotations that can be cleaned up, it can be useful to
look at all features used inside a test suite.
This commit adds a new Lit option '--show-used-features' that prints all
the features used in XFAIL, REQUIRES and UNSUPPORTED of all tests that
are discovered.
Differential Revision: https://reviews.llvm.org/D78589
More information about the All-commits
mailing list