diff --git a/docs/Testing.md b/docs/Testing.md index ab22e54db5b..6b3e211bf8c 100644 --- a/docs/Testing.md +++ b/docs/Testing.md @@ -124,7 +124,9 @@ out with ``lit.py -h``. We document some of the more useful ones below: line, amid a sequence. * ``-a`` causes a test's commandline and output to always be printed. * ``--filter=`` causes only tests with paths matching the given regular - expression to be run. + expression to be run. Alternately, you can use the `LIT_FILTER=''` + environment variable, in case you're invoking `lit.py` through some other + tool such as `build-script`. * ``-i`` causes tests that have a newer modification date and failing tests to be run first. This is implemented by updating the mtimes of the tests. * ``--no-execute`` causes a dry run to be performed. *NOTE* This means that all