Modify lldbtest.Base.runHooks() to now take the following keyword arguments:

    child=None, child_prompt=None, use_cmd_api=False

By default, expect a pexpect spawned child and child prompt to be
supplied (use_cmd_api=False).  If use_cmd_api is true, ignore the child
and child prompt and use self.runCmd() to run the hooks one by one.

Modify existing client to reflect the change.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142532 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed