[LLVMbugs] [Bug 5491] New: Add FileCheck option to not count lines matching CHECK

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 13 20:06:38 PST 2009


           Summary: Add FileCheck option to not count lines matching CHECK
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Basic
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu

When running FileCheck on clang based tests that rewrite the input, its error
prone to write tests with CHECK lines, since FileCheck will always match the
CHECK line in the output to the check line in the source. That is:
// RUN: clang-cc -fixit %s -o - | FileCheck %s

// CHECK: some thing to be check in the output
will always pass, assuming clang-cc doesn't crash. I'd like FileCheck to
optionally ignore lines in the input which are themselves check lines.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list