Improve lldb-mi tests.
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>
Wed, 26 Nov 2014 16:37:51 +0000 (16:37 +0000)
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>
Wed, 26 Nov 2014 16:37:51 +0000 (16:37 +0000)
commitbe6992c7d3d838e278e6c74808f9d0ba01cd17e6
tree62ca899553344d700f2e89bec57bd3cbecf910cb
parenteda0373900912fef2d97dbaa945fa65bee72a998
Improve lldb-mi tests.

summary of changes:
  Cleanup: Use "line_number" API instead of hardcoded source lines
  Combine child.sendline with previous child.send command.
  test_lldbmi_tokens: Add test for MI tokens.
  test_lldbmi_badpathexe: Remove check for prompt so test for bad path can be enabled.

Patch from dawn@burble.org.

llvm-svn: 222838
lldb/test/tools/lldb-mi/TestMiBreakpoint.py
lldb/test/tools/lldb-mi/TestMiEvaluate.py
lldb/test/tools/lldb-mi/TestMiInterrupt.py
lldb/test/tools/lldb-mi/TestMiLaunch.py
lldb/test/tools/lldb-mi/TestMiProgramArgs.py
lldb/test/tools/lldb-mi/loop.c