[lit] Remove the --no-indirectly-run-check option
authorLouis Dionne <ldionne.2@gmail.com>
Tue, 27 Jun 2023 20:34:06 +0000 (16:34 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Mon, 17 Jul 2023 21:59:15 +0000 (17:59 -0400)
commit49b209d5cca3750f71e8a6fda1c5870295ef3a9c
tree8373745f795dcf27969a8ebfd8d2ba301b6a50f2
parent1cb3fbc713c4d6db2765b7d507c599b9df4a12b0
[lit] Remove the --no-indirectly-run-check option

This option had originally been added in D83069 to allow disabling the
check that something is going to get run at all when a specific test name
is used on the command-line. Since we now use getTestsForPath() (from D151664)
to get the tests to run for a specific path, we don't need a specific check
for this anymore -- Lit will produce the same complaint it would produce if
you provided a directory with no tests.

If one needs to run a specific test on the command-line and the Lit
configuration would normally not include that test, the configuration
should be set up as a "standalone" configuration or it should be fixed
to allow for that test to be found (i.e. probably fix the allowed test
suffixes).

Differential Revision: https://reviews.llvm.org/D153967
llvm/docs/CommandGuide/lit.rst
llvm/utils/lit/lit/LitTestCase.py
llvm/utils/lit/lit/cl_arguments.py
llvm/utils/lit/lit/discovery.py
llvm/utils/lit/lit/formats/base.py
llvm/utils/lit/lit/main.py
llvm/utils/lit/tests/discovery.py
llvm/utils/lit/tests/unit/TestRunner.py