From 7df40080af8617ab6e2ca3e721189aafcc58d6f7 Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Tue, 6 Apr 2021 16:23:39 -0700 Subject: [PATCH] [docs] Note LIT_FILTER in Testing.md. --- docs/Testing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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