0

Dump all FileCheck input on test failure

To make debugging test failures easier.

Change-Id: I3d62afb7f642b2fe7417ee66dfc71f2a972fabb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6368578
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: Arthur Eubanks <aeubanks@google.com>
Cr-Commit-Position: refs/heads/main@{#1434255}
This commit is contained in:
Arthur Eubanks
2025-03-18 10:57:09 -07:00
committed by Chromium LUCI CQ
parent 763e478605
commit e25ca0d8d5

@ -985,9 +985,10 @@ def main():
'^.*SanitizerCommon-ubsan-arm64-Darwin.*Posix/dedup_token_length_test.cpp$',
]
test_env = None
test_env = os.environ.copy()
# Dump all FileCheck input on test failure.
test_env['FILECHECK_OPTS'] = '--dump-input-filter=all'
if lit_excludes:
test_env = os.environ.copy()
test_env['LIT_FILTER_OUT'] = '|'.join(lit_excludes)
if args.bootstrap: