-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
good first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contributetesting-tools
Description
❯ cat test.txt
A: hjkl
B-NOT: asdf
❯ FileCheck --check-prefixes A,B test.txt < test.txt
test.txt:2:8: error: A-NOT: excluded string found in input
B-NOT: asdf
^
<stdin>:2:8: note: found here
B-NOT: asdf
^~~~
Input file: <stdin>
Check file: test.txt
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: A: hjkl
check:1 ^~~~
2: B-NOT: asdf
not:2 !~~~ error: no match expected
>>>>>>
Even though the failure was caused by a matching B-NOT
, the error is listed as A-NOT: excluded string found in input
.
Metadata
Metadata
Assignees
Labels
good first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contributetesting-tools