brintos

brintos / llvm-project-archived public Read only

0
0
Text · 690 B · da2b9f9 Raw
20 lines · plain
1; Create a case that produces a simple diagnostic.2; RUN: echo foo > %t.in3; CHECK: foo4; CHECK: bar5 6; RUN: %ProtectFileCheckOutput \7; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \8; RUN: | FileCheck -check-prefix QUIET %s9 10; RUN: %ProtectFileCheckOutput FILECHECK_OPTS= \11; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \12; RUN: | FileCheck -check-prefix QUIET %s13 14; RUN: %ProtectFileCheckOutput FILECHECK_OPTS=-v \15; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \16; RUN: | FileCheck -check-prefix VERB %s17 18; QUIET-NOT: remark: {{CHECK}}: expected string found in input19; VERB:      remark: {{CHECK}}: expected string found in input20