dawn added a comment.

In http://reviews.llvm.org/D11447#211105, @clayborg wrote:

> See inlined comments.


I am trying to check textual output from commands.  expect() doesn't take a 
check=False option, and  runCmd() doesn't check for output afaik.  It would be 
possible to pipe all the output and check that way, but what a major pain.

How do you suggest I get this to fly?:

  self.expect("expression blabla", startstr = "error")

I want to test that lldb returns error without FAILing


Repository:
  rL LLVM

http://reviews.llvm.org/D11447




_______________________________________________
lldb-commits mailing list
lldb-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to