llvm-project/llvm/utils/lit/tests/Inputs
Ben Dunbobbin 81c0d36a18 [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
2020-10-21 13:21:29 +01:00
..
allow-retries
config-map-discovery Revert "[lit] Keep original cfg file case around." 2020-04-15 17:19:39 -04:00
custom-result-category [lit] Avoid re-iterating result codes in different places 2020-06-17 11:40:19 -07:00
discovery [LIT] error if directly named test won't be run indirectly 2020-10-21 13:21:29 +01:00
exec-discovery
exec-discovery-in-tree
fake-externals
googletest-discovery-failed Reapply "[lit] GoogleTest framework should report failures if test binary crashes" 2020-05-22 14:01:08 -07:00
googletest-format
googletest-timeout [lit] Try to remove the flakeyness of `shtest-timeout.py` and `googletest-timeout.py`. 2020-10-08 10:46:18 -07:00
googletest-upstream-format
lit-opts
max-failures [lit] Fix tests on Windows 2020-04-10 17:33:49 -07:00
max-time [lit] Fix tests on Windows 2020-04-10 17:33:49 -07:00
parallelism-groups [lit] Improve handling of parallelism group semaphores 2020-04-06 20:52:06 -07:00
progress-bar
py-config-discovery
show-result-codes [lit] Add --show-xxx command line options 2020-07-08 17:01:05 -07:00
show-used-features [lit] Add an option to print all features used in tests 2020-05-29 07:00:05 -04:00
shtest-env
shtest-format [lit] Remove ANSI control characters from xunit output 2020-08-06 09:16:52 +01:00
shtest-format-argv0 [AIX] Split lit test shtest-format into two separate tests and add AIX as UNSUPPORTED for shtest-format-argv0 2020-06-18 16:58:07 -04:00
shtest-inject [lit] Provide extension API for custom result categories 2020-04-29 19:45:55 -07:00
shtest-keyword-parse-errors [lit] Fix handling of various keyword parse errors 2020-06-12 09:37:40 -04:00
shtest-not
shtest-output-printing
shtest-recursive-substitution [lit] Don't expand escapes until all substitutions have been applied 2020-07-27 18:09:00 +03:00
shtest-run-at-line
shtest-shell
shtest-timeout
test-data
test-data-micro
test_retry_attempts
testrunner-custom-parsers
unittest-adaptor
unparsed-requirements [lit] Allow for tests to have non-parsed requirements 2020-06-15 16:43:02 -07:00
xunit-output Follow up for "[lit] Include unexecuted tests in xUnit report" 2020-06-15 16:19:43 -07:00
lit.cfg