summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/lit.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/CommandGuide/lit.rst')
-rw-r--r--llvm/docs/CommandGuide/lit.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/lit.rst b/llvm/docs/CommandGuide/lit.rst
index bcaa5c66c8c..7bb499b971d 100644
--- a/llvm/docs/CommandGuide/lit.rst
+++ b/llvm/docs/CommandGuide/lit.rst
@@ -38,6 +38,11 @@ Finally, :program:`lit` also supports additional options for only running a
subset of the options specified on the command line, see
:ref:`selection-options` for more information.
+:program:`lit` parses options from the environment variable ``LIT_OPTS`` after
+parsing options from the command line. ``LIT_OPTS`` is primarily useful for
+supplementing or overriding the command-line options supplied to :program:`lit`
+by ``check`` targets defined by a project's build system.
+
Users interested in the :program:`lit` architecture or designing a
:program:`lit` testing implementation should see :ref:`lit-infrastructure`.
OpenPOWER on IntegriCloud