view llvm/test/FileCheck/envvar-opts.txt @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children 2e18cbf3894f
line wrap: on
line source

; 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