Skip to content

Commit c110a42

Browse files
Merge pull request #36788 from varungandhi-apple/vg-note-LIT_FILTER
[docs] Note LIT_FILTER in Testing.md.
2 parents 2a36794 + 7df4008 commit c110a42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Testing.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ out with ``lit.py -h``. We document some of the more useful ones below:
124124
line, amid a sequence.
125125
* ``-a`` causes a test's commandline and output to always be printed.
126126
* ``--filter=<pattern>`` causes only tests with paths matching the given regular
127-
expression to be run.
127+
expression to be run. Alternately, you can use the `LIT_FILTER='<pattern>'`
128+
environment variable, in case you're invoking `lit.py` through some other
129+
tool such as `build-script`.
128130
* ``-i`` causes tests that have a newer modification date and failing tests to
129131
be run first. This is implemented by updating the mtimes of the tests.
130132
* ``--no-execute`` causes a dry run to be performed. *NOTE* This means that all

0 commit comments

Comments
 (0)