1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/FileCheck/comment/blank-comments.txt
Mehdi Amini ed76433842 Change filecheck default to dump input on failure
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
2020-06-09 18:57:46 +00:00

10 lines
343 B
Plaintext

# Comment directives with blank contents are fine.
RUN: echo 'foo' > %t.in
RUN: echo 'COM:' > %t.chk
RUN: echo 'CHECK: foo' >> %t.chk
RUN: echo ' COM: ' >> %t.chk
RUN: %ProtectFileCheckOutput FileCheck -dump-input=never -vv %t.chk < %t.in 2>&1 | FileCheck %s
CHECK: .chk:2:8: remark: CHECK: expected string found in input