aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-06-27 16:34:06 -0400
committerLouis Dionne <ldionne.2@gmail.com>2023-07-17 17:59:15 -0400
commit49b209d5cca3750f71e8a6fda1c5870295ef3a9c (patch)
tree8373745f795dcf27969a8ebfd8d2ba301b6a50f2 /llvm/docs/CommandGuide
parent1cb3fbc713c4d6db2765b7d507c599b9df4a12b0 (diff)
downloadllvm-49b209d5cca3750f71e8a6fda1c5870295ef3a9c.zip
llvm-49b209d5cca3750f71e8a6fda1c5870295ef3a9c.tar.gz
llvm-49b209d5cca3750f71e8a6fda1c5870295ef3a9c.tar.bz2
[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
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/lit.rst10
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/docs/CommandGuide/lit.rst b/llvm/docs/CommandGuide/lit.rst
index b3b3622..2f587c4 100644
--- a/llvm/docs/CommandGuide/lit.rst
+++ b/llvm/docs/CommandGuide/lit.rst
@@ -163,11 +163,6 @@ EXECUTION OPTIONS
Exit with status zero even if some tests fail.
-.. option:: --no-indirectly-run-check
-
- Do not error if a test would not be run if the user had specified the
- containing directory instead of naming the test directly.
-
.. _selection-options:
SELECTION OPTIONS
@@ -458,9 +453,8 @@ executed, two important global variables are predefined:
tests in the suite.
**standalone_tests** When true, mark a directory with tests expected to be run
- standalone. Test discovery is disabled for that directory and
- *--no-indirectly-run-check* is in effect. *lit.suffixes* and *lit.excludes*
- must be empty when this variable is true.
+ standalone. Test discovery is disabled for that directory. *lit.suffixes* and
+ *lit.excludes* must be empty when this variable is true.
**suffixes** For **lit** test formats which scan directories for tests, this
variable is a list of suffixes to identify test files. Used by: *ShTest*.