[llvm-exegesis][NFC] Improve parsing of the YAML files
[llvm-core.git] / test / FileCheck / verbose.txt
blobe6eec5e5462f8c7eca577ab7c6222010597b681f
1 ; RUN: FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix QUIET --allow-empty %s
2 ; RUN: FileCheck -v -input-file %s %s 2>&1 | FileCheck -check-prefix V %s
3 ; RUN: FileCheck -vv -input-file %s %s 2>&1 | FileCheck -check-prefixes V,VV %s
5 foo
6 bar
7 CHECK: foo
8 CHECK-NOT: raboof
9 CHECK-NEXT: bar
11 V:      verbose.txt:[[@LINE-4]]:8: remark: {{C}}HECK: expected string found in input
12 V-NEXT: {{C}}HECK: foo{{$}}
13 V-NEXT:  {{^       \^$}}
14 V-NEXT: verbose.txt:[[@LINE-9]]:1: note: found here
15 V-NEXT: {{^}}foo{{$}}
16 V-NEXT: {{^}}^~~{{$}}
18 V-NEXT: verbose.txt:[[@LINE-9]]:13: remark: {{C}}HECK-NEXT: expected string found in input
19 V-NEXT: {{C}}HECK-NEXT: bar{{$}}
20 V-NEXT:  {{^            \^$}}
21 V-NEXT: verbose.txt:[[@LINE-15]]:1: note: found here
22 V-NEXT: {{^}}bar{{$}}
23 V-NEXT: {{^}}^~~{{$}}
25 VV-NEXT: verbose.txt:[[@LINE-17]]:12: remark: {{C}}HECK-NOT: excluded string not found in input
26 VV-NEXT: {{C}}HECK-NOT: raboof{{$}}
27 VV-NEXT:  {{^           \^$}}
28 VV-NEXT: verbose.txt:[[@LINE-22]]:1: note: scanning from here
29 VV-NEXT: {{^}}bar{{$}}
30 VV-NEXT: {{^}}^{{$}}
32 before empty
34 after empty
35 CHECK: before empty
36 CHECK-EMPTY:
37 CHECK-NEXT: after empty
39 V:      verbose.txt:[[@LINE-4]]:8: remark: {{C}}HECK: expected string found in input
40 V-NEXT: {{C}}HECK: before empty{{$}}
41 V-NEXT:  {{^       \^$}}
42 V-NEXT: verbose.txt:[[@LINE-10]]:1: note: found here
43 V-NEXT: {{^}}before empty{{$}}
44 V-NEXT: {{^}}^~~~~~~~~~~~{{$}}
46 V-NEXT:  verbose.txt:[[@LINE-10]]:13: remark: {{C}}HECK-EMPTY: expected string found in input
47 V-NEXT:  {{C}}HECK-EMPTY:{{$}}
48 V-NEXT:   {{^            \^$}}
49 V-NEXT:  verbose.txt:[[@LINE-16]]:1: note: found here
50 V-EMPTY:
51 V-NEXT:  {{^}}^{{$}}
53 V-NEXT: verbose.txt:[[@LINE-16]]:13: remark: {{C}}HECK-NEXT: expected string found in input
54 V-NEXT: {{C}}HECK-NEXT: after empty{{$}}
55 V-NEXT:  {{^            \^$}}
56 V-NEXT: verbose.txt:[[@LINE-22]]:1: note: found here
57 V-NEXT: {{^}}after empty{{$}}
58 V-NEXT: {{^}}^~~~~~~~~~~{{$}}
60 abcdef
61 abcdef
62 CHECK-DAG: abcdef
63 CHECK-DAG: def
65 V-NEXT: verbose.txt:[[@LINE-3]]:12: remark: {{C}}HECK-DAG: expected string found in input
66 V-NEXT: {{C}}HECK-DAG: abcdef
67 V-NEXT:  {{^           \^$}}
68 V-NEXT: verbose.txt:[[@LINE-8]]:1: note: found here
69 V-NEXT: {{^}}abcdef{{$}}
70 V-NEXT: {{^}}^~~~~~{{$}}
72 VV-NEXT: verbose.txt:[[@LINE-9]]:12: remark: {{C}}HECK-DAG: expected string found in input
73 VV-NEXT: {{C}}HECK-DAG: def
74 VV-NEXT:  {{^           \^$}}
75 VV-NEXT: verbose.txt:[[@LINE-15]]:4: note: found here
76 VV-NEXT: {{^abcdef$}}
77 VV-NEXT: {{^   \^~~$}}
78 VV-NEXT: verbose.txt:[[@LINE-18]]:1: note: match discarded, overlaps earlier DAG match here
79 VV-NEXT: {{^}}abcdef{{$}}
80 VV-NEXT: {{^}}^~~~~~{{$}}
82 V-NEXT: verbose.txt:[[@LINE-19]]:12: remark: {{C}}HECK-DAG: expected string found in input
83 V-NEXT: {{C}}HECK-DAG: def
84 V-NEXT:  {{^           \^$}}
85 V-NEXT: verbose.txt:[[@LINE-24]]:4: note: found here
86 V-NEXT: {{^abcdef$}}
87 V-NEXT: {{^   \^~~$}}
89 xyz
90 CHECK: xyz
91 CHECK-NOT: {{z}}yx
93 V:      verbose.txt:[[@LINE-3]]:8: remark: {{C}}HECK: expected string found in input
94 V-NEXT: {{C}}HECK: xyz{{$}}
95 V-NEXT:  {{^       \^$}}
96 V-NEXT: verbose.txt:[[@LINE-7]]:1: note: found here
97 V-NEXT: {{^}}xyz{{$}}
98 V-NEXT: {{^}}^~~{{$}}
100 VV-NEXT: verbose.txt:[[@LINE-9]]:19: remark: implicit EOF: expected string found in input
101 VV-NEXT: {{C}}HECK-NOT: {{[{][{]z[}][}]yx$}}
102 VV-NEXT:   {{^                 \^$}}
103 VV-NEXT: verbose.txt:[[@LINE+13]]:1: note: found here
104 VV-NOT:  {{.}}
105 VV:      {{^\^$}}
107 VV-NEXT: verbose.txt:[[@LINE-16]]:12: remark: {{C}}HECK-NOT: excluded string not found in input
108 VV-NEXT: {{C}}HECK-NOT: {{[{][{]z[}][}]yx$}}
109 VV-NEXT:  {{^           \^$}}
110 VV-NEXT: verbose.txt:[[@LINE-20]]:1: note: scanning from here
111 VV-NEXT: {{^C}}HECK: xyz{{$}}
112 VV-NEXT: {{^\^$}}
114 QUIET-NOT: {{.}}
115 V-NOT: {{.}}