[LLVMbugs] [Bug 14730] New: FileCheck rejects empty inputs

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 28 03:47:32 PST 2012


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

             Bug #: 14730
           Summary: FileCheck rejects empty inputs
           Product: Test Suite
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: lit
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: daniel at zuster.org, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


$ cat test
CHECK-NOT: foo
$ echo foo | ./build-dbg/bin/FileCheck test
<stdin>:1:1: error: CHECK-NOT: string occurred!
foo
^
test:1:15: note: CHECK-NOT: pattern specified here
CHECK-NOT: foo
              ^
$ echo bar | ./build-dbg/bin/FileCheck test
$ echo  | ./build-dbg/bin/FileCheck test
$ echo -n | ./build-dbg/bin/FileCheck test
FileCheck error: '-' is empty.

-- 
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