[llvm-bugs] [Bug 32161] New: FileCheck should output everything between CHECK-LABELs when it fails

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 6 16:13:40 PST 2017


http://bugs.llvm.org/show_bug.cgi?id=32161

            Bug ID: 32161
           Summary: FileCheck should output everything between
                    CHECK-LABELs when it fails
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: justin.lebar at gmail.com
                CC: daniel at zuster.org, llvm-bugs at lists.llvm.org

Currently the output from a failing FileCheck run is basically impossible to
understand without rerunning the test sans FileCheck.

This is annoying when you're developing locally, but it's killer when a test
fails remotely and you get essentially zero information about what broke.

It would be really cool, and save a lot of developer hours, if we modified
FileCheck so that, when it fails, it outputs everything between the last
CHECK-LABEL and the next CHECK-LABEL.  If there are no labels, it would just
output the whole test string.

-- 
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/20170307/588a43a9/attachment.html>


More information about the llvm-bugs mailing list