mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
ed76433842
Having the input dumped on failure seems like a better default: I debugged FileCheck tests for a while without knowing about this option, which really helps to understand failures. Remove `-dump-input-on-failure` and the environment variable FILECHECK_DUMP_INPUT_ON_FAILURE which are now obsolete. Differential Revision: https://reviews.llvm.org/D81422
17 lines
652 B
Plaintext
17 lines
652 B
Plaintext
# Not using comment directives is always fine.
|
|
|
|
RUN: echo 'foo' > %t.in
|
|
RUN: echo 'CHECK: foo' > %t.chk
|
|
|
|
# Check the case of default comment prefixes.
|
|
RUN: %ProtectFileCheckOutput \
|
|
RUN: FileCheck -dump-input=never -vv %t.chk < %t.in 2>&1 | FileCheck %s
|
|
|
|
# Specifying non-default comment prefixes doesn't mean you have to use them.
|
|
# For example, they might be applied to an entire test suite via
|
|
# FILECHECK_OPTS or via a wrapper command or substitution.
|
|
RUN: %ProtectFileCheckOutput \
|
|
RUN: FileCheck -dump-input=never -vv -comment-prefixes=FOO %t.chk < %t.in 2>&1 | FileCheck %s
|
|
|
|
CHECK: .chk:1:8: remark: CHECK: expected string found in input
|