https://bugs.llvm.org/show_bug.cgi?id=45662
Bug ID: 45662
Summary: FileCheck reports wrong directive on failure
Product: Test Suite
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: lit
Assignee: unassignedb...@nondot.org
Reporter: paul_robin...@playstation.sony.com
CC: dan...@zuster.org, llvm-bugs@lists.llvm.org
F:\scratch\Filecheck-bug>type test.txt
100
200
# A: {{1}}00
# B-NOT: {{2}}00
F:\scratch\Filecheck-bug>d:\upstream\nbuild\bin\FileCheck.exe test.txt
--input-file test.txt --check-prefixes=A,B
test.txt:4:10: error: A-NOT: excluded string found in input
# B-NOT: {{2}}00
^
test.txt:2:1: note: found here
200
^~~
Clearly the mismatch should report B-NOT rather than A-NOT.
This is with HEAD at de94715b64ba048728cb1c4ba88a5ac51066d61b
(last Friday).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs