1# Comment prefixes plus check directive suffixes are not comment directives 2# and are treated as plain text. 3 4RUN: echo foo > %t.in 5RUN: echo bar >> %t.in 6RUN: echo 'COM-NEXT: CHECK: foo' > %t.chk 7RUN: echo 'RUN-NOT: CHECK: bar' >> %t.chk 8 9RUN: %ProtectFileCheckOutput FileCheck -dump-input=never -vv %t.chk < %t.in 2>&1 | \ 10RUN: FileCheck -check-prefix=CHECK1 %s 11 12CHECK1: .chk:1:18: remark: CHECK: expected string found in input 13CHECK1: .chk:2:17: remark: CHECK: expected string found in input 14 15# But we can define them as comment prefixes. 16 17RUN: %ProtectFileCheckOutput \ 18RUN: FileCheck -dump-input=never -vv -comment-prefixes=COM,RUN,RUN-NOT %t.chk < %t.in 2>&1 | \ 19RUN: FileCheck -check-prefix=CHECK2 %s 20 21CHECK2: .chk:1:18: remark: CHECK: expected string found in input 22CHECK2-NOT: .chk:2 23