[llvm-bugs] [Bug 45662] New: FileCheck reports wrong directive on failure

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 24 09:24:22 PDT 2020


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: unassignedbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: daniel at zuster.org, llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200424/b1e0b05e/attachment.html>


More information about the llvm-bugs mailing list