Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileCheck rejects empty inputs #15102

Closed
llvmbot opened this issue Dec 28, 2012 · 1 comment
Closed

FileCheck rejects empty inputs #15102

llvmbot opened this issue Dec 28, 2012 · 1 comment
Labels
bugzilla Issues migrated from bugzilla test-suite

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Dec 28, 2012

Bugzilla Link 14730
Resolution FIXED
Resolved on Mar 17, 2015 23:44
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @KernelAddress,@gribozavr,@bogner

Extended Description

$ cat test
CHECK-NOT: foo
$ echo foo | ./build-dbg/bin/FileCheck test
: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.

@bogner
Copy link
Contributor

bogner commented Mar 18, 2015

FileCheck accepts an -allow-empty flag to turn this behaviour off as of r215127, from last August.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla test-suite
Projects
None yet
Development

No branches or pull requests

2 participants