1 ## Check that a full line is matched case insensitively.
2 # RUN: FileCheck --ignore-case --match-full-lines --check-prefix=FULL --input-file=%s %s
4 ## Check that a regular expression matches case insensitively.
5 # RUN: FileCheck --ignore-case --check-prefix=REGEX --input-file=%s %s
7 ## Check that a pattern from command line matches case insensitively.
8 # RUN: FileCheck --ignore-case --check-prefix=PAT --DPATTERN="THIS is the" --input-file=%s %s
10 ## Check that COUNT and NEXT work case insensitively.
11 # RUN: FileCheck --ignore-case --check-prefix=CNT --input-file=%s %s
13 ## Check that match on same line works case insensitively.
14 # RUN: FileCheck --ignore-case --check-prefix=LINE --input-file=%s %s
16 ## Check that option --implicit-not works case insensitively.
17 # RUN: sed '/^#/d' %s | FileCheck --implicit-check-not=sTrInG %s
18 # RUN: sed '/^#/d' %s \
19 # RUN: | %ProtectFileCheckOutput \
20 # RUN: not FileCheck --ignore-case --implicit-check-not=sTrInG %s 2>&1 \
21 # RUN: | FileCheck --check-prefix=ERROR %s
23 this is the STRING to be matched
25 # FULL: tHis iS The String TO be matched
27 # PAT: [[PATTERN]] string
37 # CNT-COUNT-6: LOop {{[0-9]}}
44 # LINE-SAME: {{t}}o match
46 # ERROR: command line:1:{{[0-9]+}}: error: CHECK-NOT: excluded string found in input
47 # ERROR-NEXT: -implicit-check-not='sTrInG'
48 # ERROR: note: found here