From 49b209d5cca3750f71e8a6fda1c5870295ef3a9c Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 27 Jun 2023 16:34:06 -0400 Subject: [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 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'llvm/docs/CommandGuide') 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*. -- cgit v1.1