1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/FileCheck/envvar-opts.txt
2018-11-06 22:42:10 +00:00

16 lines
471 B
Plaintext

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