1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/FileCheck/envvar-opts.txt

20 lines
636 B
Plaintext
Raw Normal View History

; Create a case that produces a simple diagnostic.
; RUN: echo foo > %t.in
; CHECK: foo
; CHECK: bar
; RUN: %ProtectFileCheckOutput \
; RUN: not FileCheck %s -input-file %t.in 2>&1 \
; RUN: | FileCheck -check-prefix QUIET %s
; RUN: %ProtectFileCheckOutput FILECHECK_OPTS= \
; RUN: not FileCheck %s -input-file %t.in 2>&1 \
; RUN: | FileCheck -check-prefix QUIET %s
; RUN: %ProtectFileCheckOutput FILECHECK_OPTS=-v \
; RUN: not FileCheck %s -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