aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide/FileCheck.rst
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2018-11-06 22:07:03 +0000
committerJoel E. Denny <jdenny.ornl@gmail.com>2018-11-06 22:07:03 +0000
commit24994d77b8178f4c65dd4ef9c82748d337a48f2f (patch)
tree68d8d4705a00a596777be30ffc2b4649fd621ec1 /llvm/docs/CommandGuide/FileCheck.rst
parentc3ad28d5e81ae9be0bf18b5c31065777dc2af66f (diff)
downloadllvm-24994d77b8178f4c65dd4ef9c82748d337a48f2f.zip
llvm-24994d77b8178f4c65dd4ef9c82748d337a48f2f.tar.gz
llvm-24994d77b8178f4c65dd4ef9c82748d337a48f2f.tar.bz2
[FileCheck] Parse command-line options from FILECHECK_OPTS
This feature makes it easy to tune FileCheck diagnostic output when running the test suite via ninja, a bot, or an IDE. For example: ``` $ FILECHECK_OPTS='-color -v -dump-input-on-failure' \ LIT_FILTER='OpenMP/for_codegen.cpp' ninja check-clang \ | less -R ``` Reviewed By: probinson Differential Revision: https://reviews.llvm.org/D53517 llvm-svn: 346272
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.rst')
-rw-r--r--llvm/docs/CommandGuide/FileCheck.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/FileCheck.rst b/llvm/docs/CommandGuide/FileCheck.rst
index 830b1e0..6581b33 100644
--- a/llvm/docs/CommandGuide/FileCheck.rst
+++ b/llvm/docs/CommandGuide/FileCheck.rst
@@ -24,6 +24,9 @@ match. The file to verify is read from standard input unless the
OPTIONS
-------
+Options are parsed from the environment variable ``FILECHECK_OPTS``
+and from the command line.
+
.. option:: -help
Print a summary of command line options.