Lines Matching refs:chk
15 ; RUN: echo 'CHECK: hello' > %t.chk
16 ; RUN: echo 'CHECK: universe' >> %t.chk
19 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
52 ; RUN: echo 'CHECK: hello' > %t.chk
53 ; RUN: echo 'CHECK: world' >> %t.chk
56 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
60 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
64 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
94 ; RUN: echo 'CHECK-COUNT-3: pete' > %t.chk
97 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
101 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
105 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
136 ; RUN: echo 'CHECK: hello' > %t.chk
137 ; RUN: echo 'CHECK-NEXT: again' >> %t.chk
138 ; RUN: echo 'CHECK-NEXT: world' >> %t.chk
141 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
145 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
149 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
171 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
192 ; RUN: echo 'CHECK: hello' > %t.chk
193 ; RUN: echo 'CHECK-SAME: world' >> %t.chk
194 ; RUN: echo 'CHECK-SAME: again' >> %t.chk
197 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
201 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
205 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
225 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
258 ; RUN: echo 'CHECK: hello' > %t.chk
259 ; RUN: echo 'CHECK-EMPTY:' >> %t.chk
260 ; RUN: echo 'CHECK-EMPTY:' >> %t.chk
261 ; RUN: echo 'CHECK-LABEL: label' >> %t.chk
264 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
268 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
272 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
298 ; RUN: echo 'CHECK: hello' > %t.chk
299 ; RUN: echo 'CHECK-EMPTY:' >> %t.chk
302 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
306 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
310 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
336 ; RUN: echo 'CHECK-NOT: goodbye' > %t.chk
337 ; RUN: echo 'CHECK-NOT: world' >> %t.chk
340 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
344 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
348 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
370 ; RUN: echo 'CHECK: ain' >> %t.chk
373 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
377 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
381 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
410 ; RUN: echo 'CHECK-DAG: def' > %t.chk
411 ; RUN: echo 'CHECK-DAG: abc' >> %t.chk
412 ; RUN: echo 'CHECK-DAG: abc' >> %t.chk
413 ; RUN: echo 'CHECK-DAG: def' >> %t.chk
423 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
427 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
431 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
464 ; RUN: echo 'CHECK-DAG: def' > %t.chk
465 ; RUN: echo 'CHECK-DAG: bc' >> %t.chk
466 ; RUN: echo 'CHECK-DAG: abc' >> %t.chk
467 ; RUN: echo 'CHECK-DAG: de' >> %t.chk
468 ; RUN: echo 'CHECK-DAG: def' >> %t.chk
471 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
475 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
479 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
537 ; RUN: echo 'CHECK: text' > %t.chk
538 ; RUN: echo 'CHECK-LABEL: labelA' >> %t.chk
539 ; RUN: echo 'CHECK: foobar' >> %t.chk
540 ; RUN: echo 'CHECK-LABEL: labelB' >> %t.chk
541 ; RUN: echo 'CHECK: labelC' >> %t.chk
542 ; RUN: echo 'CHECK-LABEL: labelC' >> %t.chk
543 ; RUN: echo 'CHECK-NOT: foobar' >> %t.chk
544 ; RUN: echo 'CHECK-LABEL: labelD' >> %t.chk
545 ; RUN: echo 'CHECK-NOT: textD' >> %t.chk
546 ; RUN: echo 'CHECK-LABEL: labelE' >> %t.chk
547 ; RUN: echo 'CHECK-NOT: labelF' >> %t.chk
548 ; RUN: echo 'CHECK-LABEL: labelF' >> %t.chk
551 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk 2>&1 \
555 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -v 2>&1 \
559 ; RUN: not FileCheck -dump-input=always -input-file %t.in %t.chk -vv 2>&1 \
564 ; LAB:{{.*}}.chk:3:8: error: CHECK: expected string not found in input
565 ; LAB:{{.*}}.chk:6:14: error: CHECK-LABEL: expected string not found in input
566 ; LAB:{{.*}}.chk:9:12: error: CHECK-NOT: excluded string found in input
617 ; RUN: echo 'CHECK: hel' > %t.chk
618 ; RUN: echo 'CHECK: wor' >> %t.chk
619 ; RUN: echo 'CHECK: !' >> %t.chk
629 ; RUN: not FileCheck -dump-input=always -input-file=%t.in %t.chk 2>&1 \
636 ; RUN: not FileCheck -dump-input=always -input-file=%t.in %t.chk -v 2>&1 \
644 ; RUN: not FileCheck -dump-input=always -input-file=%t.in %t.chk -vv 2>&1 \
681 ; RUN: echo 'CHECK: [[DEF_MATCH1]] [[DEF_MATCH2]]' > %t.chk
682 ; RUN: echo 'CHECK: [[DEF_MATCH1]] [[UNDEF]] [[DEF_NOMATCH]]' >> %t.chk
685 ; RUN: not FileCheck -dump-input=always -vv -input-file=%t.in %t.chk 2>&1 \
712 ; RUN: echo 'CHECK-NOT: [[DEF_MATCH1]] [[UNDEF]] [[DEF_NOMATCH]]' > %t.chk
713 ; RUN: echo 'CHECK-NOT: [[DEF_MATCH1]] [[DEF_MATCH2]]' >> %t.chk
714 ; RUN: echo 'CHECK: END' >> %t.chk
717 ; RUN: not FileCheck -dump-input=always -vv -input-file=%t.in %t.chk 2>&1 \
748 ; RUN: echo 'CHECK: strvar: [[STRVAR:[a-z]+]]' > %t.chk
749 ; RUN: echo 'CHECK: numvar no expr: [[#NUMVAR_NO_EXPR:]]' >> %t.chk
750 ; RUN: echo 'CHECK: numvar expr: [[#%d,NUMVAR_EXPR:2-NUMVAR_NO_EXPR]]' >> %t.chk
755 ; RUN: >> %t.chk
757 ; RUN: echo 'CHECK-NOT: var in neg match: [[VAR:foo]]' >> %t.chk
758 ; RUN: echo 'CHECK: END' >> %t.chk
761 ; RUN: not FileCheck -dump-input=always -vv -input-file=%t.in %t.chk 2>&1 \
804 ; RUN: echo 'CHECK: pre' > %t.chk
805 ; RUN: echo 'CHECK-NEXT: [[VAR]]' >> %t.chk
808 ; RUN: not FileCheck -dump-input=always -vv -input-file=%t.in %t.chk 2>&1 \
826 ; RUN: echo 'CHECK: pre' > %t.chk
827 ; RUN: echo 'CHECK-SAME: [[VAR]]' >> %t.chk
830 ; RUN: not FileCheck -dump-input=always -vv -input-file=%t.in %t.chk 2>&1 \
850 ; RUN: echo 'CHECK-DAG: var' > %t.chk
851 ; RUN: echo 'CHECK-DAG: [[VAR]]' >> %t.chk
852 ; RUN: echo 'CHECK: END' >> %t.chk
855 ; RUN: FileCheck -dump-input=always -vv -input-file=%t.in %t.chk 2>&1 \