diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-11-20 17:12:29 -0500 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-11-21 18:01:12 -0500 |
commit | f471eb8e99b564265a4bea326922263ff06cda40 (patch) | |
tree | 3eb2f6c3a8f5633f883feaf2a22b52be1b09f525 /llvm/lib | |
parent | b8b57087d3a6954204c6c968fb3de1dc67a87c59 (diff) | |
download | bcm5719-llvm-f471eb8e99b564265a4bea326922263ff06cda40.tar.gz bcm5719-llvm-f471eb8e99b564265a4bea326922263ff06cda40.zip |
[FileCheck] Make FILECHECK_OPTS useful for its test suite
Without this patch, `FILECHECK_OPTS` isn't propagated to FileCheck's
test suite so that `FILECHECK_OPTS` doesn't inadvertently affect test
results by affecting the output of FileCheck calls under test. As a
result, `FILECHECK_OPTS` is useless for debugging FileCheck's test
suite.
In `llvm/test/FileCheck/lit.local.cfg`, this patch provides a new
subsitution, `%ProtectFileCheckOutput`, to address this problem for
both `FILECHECK_OPTS` and the deprecated
`FILECHECK_DUMP_INPUT_ON_FAILURE`. The rest of the patch uses
`%ProtectFileCheckOutput` throughout the test suite
Fixes PR40284.
Reviewed By: probinson, thopre
Differential Revision: https://reviews.llvm.org/D65121
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions