[llvm-bugs] [Bug 49531] New: FileCheck ignores `-Y` in `[[X-Y]]`

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 10 17:46:32 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=49531

            Bug ID: 49531
           Summary: FileCheck ignores `-Y` in `[[X-Y]]`
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: jdenny.ornl at gmail.com
                CC: daniel at zuster.org, llvm-bugs at lists.llvm.org,
                    thomas.preudhomme at celest.fr

For example:

```
$ cat check 
CHECK: [[X-Y]]

$ FileCheck -vv -dump-input=always -DX=5 -DY=6 check < input |& tail -5
<<<<<<
           1: 5 
check:1'0     ^
check:1'1        with "X" equal to "5"
>>>>>>
```

I would expect a directive parse error instead.

-- 
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/20210311/34996a94/attachment.html>


More information about the llvm-bugs mailing list