diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2017-07-07 00:22:11 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2017-07-07 00:22:11 +0000 |
commit | 22a402fb66c2f67051d387c26562ea901dd2f143 (patch) | |
tree | 656b36e2abe1edd65d0fd5b2c85d52f7088d1f0e /llvm/docs/CommandGuide | |
parent | 7586755013fbea57872dbca1177a5eae2de560c2 (diff) | |
download | bcm5719-llvm-22a402fb66c2f67051d387c26562ea901dd2f143.tar.gz bcm5719-llvm-22a402fb66c2f67051d387c26562ea901dd2f143.zip |
[lit] Modify LIT to accept environment variable LIT_FILTER to select tests.
This is especially useful when lit is invoked indirectly by the build
system, and additional arguments can not be easily specified.
Differential Revision: https://reviews.llvm.org/D35091
llvm-svn: 307339
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/lit.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/lit.rst b/llvm/docs/CommandGuide/lit.rst index b8299d44d48..b4d15ef57b7 100644 --- a/llvm/docs/CommandGuide/lit.rst +++ b/llvm/docs/CommandGuide/lit.rst @@ -169,6 +169,13 @@ SELECTION OPTIONS must be in the range ``1..M``. The environment variable ``LIT_RUN_SHARD`` can also be used in place of this option. +.. option:: --filter=REGEXP + + Run only those tests whose name matches the regular expression specified in + ``REGEXP``. The environment variable ``LIT_FILTER`` can be also used in place + of this option, which is especially useful in environments where the call + to ``lit`` is issued indirectly. + ADDITIONAL OPTIONS ------------------ |