mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +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
20 lines
690 B
Plaintext
20 lines
690 B
Plaintext
; Create a case that produces a simple diagnostic.
|
|
; RUN: echo foo > %t.in
|
|
; CHECK: foo
|
|
; CHECK: bar
|
|
|
|
; RUN: %ProtectFileCheckOutput \
|
|
; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \
|
|
; RUN: | FileCheck -check-prefix QUIET %s
|
|
|
|
; RUN: %ProtectFileCheckOutput FILECHECK_OPTS= \
|
|
; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \
|
|
; RUN: | FileCheck -check-prefix QUIET %s
|
|
|
|
; RUN: %ProtectFileCheckOutput FILECHECK_OPTS=-v \
|
|
; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \
|
|
; RUN: | FileCheck -check-prefix VERB %s
|
|
|
|
; QUIET-NOT: remark: {{CHECK}}: expected string found in input
|
|
; VERB: remark: {{CHECK}}: expected string found in input
|