mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
47070492b5
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
7 lines
354 B
Python
7 lines
354 B
Python
# Check that --show-used-features works correctly.
|
|
#
|
|
# RUN: %{lit} %{inputs}/show-used-features --show-used-features | FileCheck %s
|
|
# CHECK: my-require-feature-1 my-require-feature-2 my-require-feature-3
|
|
# CHECK: my-unsupported-feature-1 my-unsupported-feature-2 my-unsupported-feature-3
|
|
# CHECK: my-xfail-feature-1 my-xfail-feature-2 my-xfail-feature-3
|