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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs