view test/FileCheck/envvar-opts.txt @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents
children
line wrap: on
line source

; 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