From 24994d77b8178f4c65dd4ef9c82748d337a48f2f Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Tue, 6 Nov 2018 22:07:03 +0000 Subject: [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 --- llvm/docs/CommandGuide/FileCheck.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/docs/CommandGuide/FileCheck.rst') 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. -- cgit v1.1