diff options
author | Ben Dunbobbin <Ben.Dunbobbin@sony.com> | 2020-10-21 13:09:15 +0100 |
---|---|---|
committer | Ben Dunbobbin <Ben.Dunbobbin@sony.com> | 2020-10-21 13:21:29 +0100 |
commit | 81c0d36a1836c9be7c34a6d8198310ad7ea9bb53 (patch) | |
tree | 054e5592812124d87b76c350ee3cc0ae053c1511 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 96685faf6dd9b044394af6f7a9d8b10fadb327b5 (diff) | |
download | llvm-81c0d36a1836c9be7c34a6d8198310ad7ea9bb53.zip llvm-81c0d36a1836c9be7c34a6d8198310ad7ea9bb53.tar.gz llvm-81c0d36a1836c9be7c34a6d8198310ad7ea9bb53.tar.bz2 |
[LIT] error if directly named test won't be run indirectly
Currently, a LIT test named directly (on the command line) will
be run even if the name of the test file does not meet the rules
to be considered a test in the LIT test configuration files for
its test suite. For example, if the test does not have a
recognised file extension.
This makes it relatively easy to write a LIT test that won't
actually be run. I did in: https://reviews.llvm.org/D82567
This patch adds an error to avoid users doing that. There is a
small performance overhead for this check. A command line option
has been added so that users can opt into the old behaviour.
Differential Revision: https://reviews.llvm.org/D83069
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions