brintos

brintos / llvm-project-archived public Read only

0
0
Text · 6.7 KiB · 009467b Raw
200 lines · plain
1; RUN: %ProtectFileCheckOutput \2; RUN: FileCheck --dump-input=never --input-file %s %s 2>&1 | \3; RUN:   FileCheck --check-prefix QUIET --allow-empty %s4 5; RUN: %ProtectFileCheckOutput \6; RUN: FileCheck --dump-input=never -v --input-file %s %s 2>&1 | \7; RUN:   FileCheck --strict-whitespace --check-prefix V %s8 9; RUN: %ProtectFileCheckOutput \10; RUN: FileCheck --dump-input=never -vv --input-file %s %s 2>&1 | \11; RUN:   FileCheck --strict-whitespace --check-prefixes V,VV %s12 13; RUN: %ProtectFileCheckOutput \14; RUN: FileCheck --dump-input=never -v -v --input-file %s %s 2>&1 | \15; RUN:   FileCheck --strict-whitespace --check-prefix V %s16 17; RUN: %ProtectFileCheckOutput \18; RUN: FileCheck --dump-input=never -vv -vv --input-file %s %s 2>&1 | \19; RUN:   FileCheck --strict-whitespace --check-prefixes V,VV %s20 21; RUN: %ProtectFileCheckOutput \22; RUN: FileCheck --dump-input=never -v -vv --input-file %s %s 2>&1 | \23; RUN:   FileCheck --strict-whitespace --check-prefixes V,VV %s24 25; RUN: %ProtectFileCheckOutput \26; RUN: FileCheck --dump-input=never -vv -v --input-file %s %s 2>&1 | \27; RUN:   FileCheck --strict-whitespace --check-prefixes V,VV %s28 29; END.30 31foo32bar33CHECK: foo34CHECK-NOT: raboof35CHECK-NEXT: bar36 37V:      verbose.txt:[[@LINE-4]]:8: remark: {{C}}HECK: expected string found in input38V-NEXT:  {{C}}HECK: foo{{$}}39V-NEXT: {{^}}       ^{{$}}40V-NEXT: verbose.txt:[[@LINE-9]]:1: note: found here41V-NEXT: {{^}}foo{{$}}42V-NEXT: {{^}}^~~{{$}}43 44V-NEXT: verbose.txt:[[@LINE-9]]:13: remark: {{C}}HECK-NEXT: expected string found in input45V-NEXT:  {{C}}HECK-NEXT: bar{{$}}46V-NEXT: {{^}}            ^{{$}}47V-NEXT: verbose.txt:[[@LINE-15]]:1: note: found here48V-NEXT: {{^}}bar{{$}}49V-NEXT: {{^}}^~~{{$}}50 51VV-NEXT: verbose.txt:[[@LINE-17]]:12: remark: {{C}}HECK-NOT: excluded string not found in input52VV-NEXT:  {{C}}HECK-NOT: raboof{{$}}53VV-NEXT: {{^}}           ^{{$}}54VV-NEXT: verbose.txt:[[@LINE-23]]:4: note: scanning from here55VV-NEXT: {{^}}foo{{$}}56VV-NEXT: {{^}}   ^{{$}}57 58STRVAR=foobar59STRVAR:foobar60CHECK: STRVAR=[[STRVAR:[a-z]+]]61CHECK-NEXT: STRVAR:[[STRVAR]]62 63     V: verbose.txt:[[#@LINE-3]]:8: remark: {{C}}HECK: expected string found in input64V-NEXT: {{C}}HECK: {{STRVAR=\[\[STRVAR:\[a-z\]\+\]\]}}65V-NEXT:  {{^}}       ^{{$}}66V-NEXT: verbose.txt:[[#@LINE-8]]:1: note: found here67V-NEXT: {{^}}STRVAR=foobar{{$}}68V-NEXT: {{^}}^~~~~~~~~~~~~{{$}}69V-NEXT: verbose.txt:[[#@LINE-11]]:8: note: captured var "STRVAR"70V-NEXT: {{^}}STRVAR=foobar{{$}}71V-NEXT: {{^}}       ^~~~~~{{$}}72 73V-NEXT: verbose.txt:[[#@LINE-12]]:13: remark: {{C}}HECK-NEXT: expected string found in input74V-NEXT: {{C}}HECK-NEXT: {{STRVAR:\[\[STRVAR\]\]}}75V-NEXT:  {{^}}            ^{{$}}76V-NEXT: verbose.txt:[[#@LINE-17]]:1: note: found here77V-NEXT: {{^}}STRVAR:foobar{{$}}78V-NEXT: {{^}}^~~~~~~~~~~~~{{$}}79V-NEXT: verbose.txt:[[#@LINE-20]]:1: note: with "STRVAR" equal to "foobar"80V-NEXT: {{^}}STRVAR:foobar{{$}}81V-NEXT: {{^}}^{{$}}82 83NUMVAR=4284NUMVAR - 1:4185CHECK: NUMVAR=[[#NUMVAR:]]86CHECK-NOT: [[#NUMVAR + 1]]87CHECK-NEXT: NUMVAR - 1:[[#NUMVAR - 1]]88 89V:      verbose.txt:[[#@LINE-4]]:8: remark: {{C}}HECK: expected string found in input90V-NEXT: {{C}}HECK: {{NUMVAR=[[][[]#NUMVAR:[]][]]$}}91V-NEXT:  {{^}}       ^{{$}}92V-NEXT: verbose.txt:[[#@LINE-9]]:1: note: found here93V-NEXT: {{^}}NUMVAR=42{{$}}94V-NEXT: {{^}}^~~~~~~~~{{$}}95V-NEXT: verbose.txt:[[#@LINE-12]]:8: note: captured var "NUMVAR"96V-NEXT: NUMVAR=4297V-NEXT:        ^~98 99V-NEXT: verbose.txt:[[#@LINE-12]]:13: remark: {{C}}HECK-NEXT: expected string found in input100V-NEXT: {{C}}HECK-NEXT: {{NUMVAR - 1:[[][[]#NUMVAR - 1[]][]]$}}101V-NEXT:  {{^}}            ^{{$}}102V-NEXT: verbose.txt:[[#@LINE-18]]:1: note: found here103V-NEXT: {{^}}NUMVAR - 1:41{{$}}104V-NEXT: {{^}}^~~~~~~~~~~~~{{$}}105V-NEXT: verbose.txt:[[#@LINE-21]]:1: note: with "NUMVAR - 1" equal to "41"106V-NEXT: {{^}}NUMVAR - 1:41{{$}}107V-NEXT: {{^}}^{{$}}108 109VV-NEXT: verbose.txt:[[#@LINE-23]]:12: remark: {{C}}HECK-NOT: excluded string not found in input110VV-NEXT: {{C}}HECK-NOT: {{[[][[]#NUMVAR [+] 1[]][]]$}}111VV-NEXT:   {{^}}           ^{{$}}112VV-NEXT: verbose.txt:[[#@LINE-29]]:10: note: scanning from here113VV-NEXT: {{^}}NUMVAR=42{{$}}114VV-NEXT: {{^}}         ^{{$}}115 116before empty117 118after empty119CHECK: before empty120CHECK-EMPTY:121CHECK-NEXT: after empty122 123V:      verbose.txt:[[@LINE-4]]:8: remark: {{C}}HECK: expected string found in input124V-NEXT:  {{C}}HECK: before empty{{$}}125V-NEXT: {{^}}       ^{{$}}126V-NEXT: verbose.txt:[[@LINE-10]]:1: note: found here127V-NEXT: {{^}}before empty{{$}}128V-NEXT: {{^}}^~~~~~~~~~~~{{$}}129 130V-NEXT:  verbose.txt:[[@LINE-10]]:13: remark: {{C}}HECK-EMPTY: expected string found in input131V-NEXT:   {{C}}HECK-EMPTY:{{$}}132V-NEXT:  {{^}}            ^{{$}}133V-NEXT:  verbose.txt:[[@LINE-16]]:1: note: found here134V-EMPTY:135V-NEXT:  {{^}}^{{$}}136 137V-NEXT: verbose.txt:[[@LINE-16]]:13: remark: {{C}}HECK-NEXT: expected string found in input138V-NEXT:  {{C}}HECK-NEXT: after empty{{$}}139V-NEXT: {{^}}            ^{{$}}140V-NEXT: verbose.txt:[[@LINE-22]]:1: note: found here141V-NEXT: {{^}}after empty{{$}}142V-NEXT: {{^}}^~~~~~~~~~~{{$}}143 144abcdef145abcdef146CHECK-DAG: abcdef147CHECK-DAG: def148 149V-NEXT: verbose.txt:[[@LINE-3]]:12: remark: {{C}}HECK-DAG: expected string found in input150V-NEXT:  {{C}}HECK-DAG: abcdef151V-NEXT: {{^}}           ^{{$}}152V-NEXT: verbose.txt:[[@LINE-8]]:1: note: found here153V-NEXT: {{^}}abcdef{{$}}154V-NEXT: {{^}}^~~~~~{{$}}155 156VV-NEXT: verbose.txt:[[@LINE-9]]:12: remark: {{C}}HECK-DAG: expected string found in input157VV-NEXT:  {{C}}HECK-DAG: def158VV-NEXT: {{^}}           ^{{$}}159VV-NEXT: verbose.txt:[[@LINE-15]]:4: note: found here160VV-NEXT:   {{^abcdef$}}161VV-NEXT: {{^}}   ^~~162VV-NEXT: verbose.txt:[[@LINE-18]]:1: note: match discarded, overlaps earlier DAG match here163VV-NEXT: {{^}}abcdef{{$}}164VV-NEXT: {{^}}^~~~~~{{$}}165 166V-NEXT: verbose.txt:[[@LINE-19]]:12: remark: {{C}}HECK-DAG: expected string found in input167V-NEXT:  {{C}}HECK-DAG: def168V-NEXT: {{^}}           ^{{$}}169V-NEXT: verbose.txt:[[@LINE-24]]:4: note: found here170V-NEXT:   {{^abcdef$}}171V-NEXT: {{^}}   ^~~172 173xyz174CHECK: xyz175CHECK-NOT: {{z}}yx176 177V:      verbose.txt:[[@LINE-3]]:8: remark: {{C}}HECK: expected string found in input178V-NEXT:  {{C}}HECK: xyz{{$}}179V-NEXT: {{^}}       ^{{$}}180V-NEXT: verbose.txt:[[@LINE-7]]:1: note: found here181V-NEXT: {{^}}xyz{{$}}182V-NEXT: {{^}}^~~{{$}}183 184VV-NEXT: verbose.txt:[[@LINE-9]]:19: remark: implicit EOF: expected string found in input185VV-NEXT: {{C}}HECK-NOT: {{[{][{]z[}][}]yx$}}186VV-NEXT:          {{^}}                  ^{{$}}187VV-NEXT: verbose.txt:[[@LINE+13]]:1: note: found here188VV-NOT:  {{.}}189VV:      {{^}}^190 191VV-NEXT: verbose.txt:[[@LINE-16]]:12: remark: {{C}}HECK-NOT: excluded string not found in input192VV-NEXT: {{C}}HECK-NOT: {{[{][{]z[}][}]yx$}}193VV-NEXT:   {{^}}           ^{{$}}194VV-NEXT: verbose.txt:[[@LINE-21]]:4: note: scanning from here195VV-NEXT: {{^}}xyz{{$}}196VV-NEXT: {{^}}   ^{{$}}197 198QUIET-NOT: {{.}}199V-NOT: {{.}}200