[PATCH] D53517: [FileCheck] Parse command-line options from FILECHECK_OPTS

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 22 11:38:53 PDT 2018


jdenny created this revision.
jdenny added reviewers: probinson, hfinkel.
Herald added subscribers: kristina, delcypher, hiraditya.

This feature makes it easy to tune FileCheck diagnostic output when
running the test suite via ninja.  For example:

  $ FILECHECK_OPTS='-color -v -dump-input-on-failure' \
    LIT_FILTER='OpenMP/for_codegen.cpp' ninja check-clang \
    | less -R


Repository:
  rL LLVM

https://reviews.llvm.org/D53517

Files:
  llvm/docs/CommandGuide/FileCheck.rst
  llvm/include/llvm/Support/CommandLine.h
  llvm/lib/Support/CommandLine.cpp
  llvm/test/FileCheck/envvar-opts.txt
  llvm/utils/FileCheck/FileCheck.cpp
  llvm/utils/lit/lit/TestingConfig.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53517.170461.patch
Type: text/x-patch
Size: 4877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181022/2c735a72/attachment.bin>


More information about the llvm-commits mailing list