[Lldb-commits] [PATCH] D11447: Specify a language to use when parsing expressions.

Dawn Perchik dawn+llvm at burble.org
Thu Jul 23 16:36:03 PDT 2015


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







More information about the lldb-commits mailing list