1 ; Check that all errors in a CHECK-NOT blocks are reported, but that FileCheck
2 ; does not check past the block.
3 RUN: %ProtectFileCheckOutput \
4 RUN: not FileCheck --dump-input=never --input-file %s %s 2>&1 | \
5 RUN: FileCheck --strict-whitespace --check-prefix CHECK-ERRORS %s
19 CHECK-ERRORS: multiple-check-not-failures.txt:[[#@LINE-5]]:12: error: {{C}}HECK-NOT: excluded string found in input
20 CHECK-ERRORS-NEXT: {{C}}HECK-NOT: bar
21 CHECK-ERRORS-NEXT: {{^}} ^{{$}}
22 CHECK-ERRORS-NEXT: multiple-check-not-failures.txt:[[#@LINE-14]]:1: note: found here
23 CHECK-ERRORS-NEXT: bar
24 CHECK-ERRORS-NEXT: {{^}}^~~{{$}}
25 CHECK-ERRORS-NEXT: multiple-check-not-failures.txt:[[#@LINE-10]]:12: error: {{C}}HECK-NOT: excluded string found in input
26 CHECK-ERRORS-NEXT: {{C}}HECK-NOT: foo
27 CHECK-ERRORS-NEXT: {{^}} ^{{$}}
28 CHECK-ERRORS-NEXT: multiple-check-not-failures.txt:[[#@LINE-21]]:1: note: found here
29 CHECK-ERRORS-NEXT: foo
30 CHECK-ERRORS-NEXT: {{^}}^~~{{$}}
31 CHECK-ERRORS-NOT: error:
32 CHECK-ERRORS-NOT: {{C}}HECK-NOT: baz