forked from OSchip/llvm-project
Improve MiStartupOptionsTestCase.test_lldbmi_executable_option_file test (MI)
llvm-svn: 237096
This commit is contained in:
parent
2fd95f6b92
commit
56aa294652
|
@ -25,9 +25,16 @@ class MiStartupOptionsTestCase(lldbmi_testcase.MiTestCaseBase):
|
||||||
# Test that lldb-mi is ready when executable was loaded
|
# Test that lldb-mi is ready when executable was loaded
|
||||||
self.expect(self.child_prompt, exactly = True)
|
self.expect(self.child_prompt, exactly = True)
|
||||||
|
|
||||||
# Run
|
# Run to main
|
||||||
|
self.runCmd("-break-insert -f main")
|
||||||
|
self.expect("\^done,bkpt={number=\"1\"")
|
||||||
self.runCmd("-exec-run")
|
self.runCmd("-exec-run")
|
||||||
self.expect("\^running")
|
self.expect("\^running")
|
||||||
|
self.expect("\*stopped,reason=\"breakpoint-hit\"")
|
||||||
|
|
||||||
|
# Continue
|
||||||
|
self.runCmd("-exec-continue")
|
||||||
|
self.expect("\^running")
|
||||||
self.expect("\*stopped,reason=\"exited-normally\"")
|
self.expect("\*stopped,reason=\"exited-normally\"")
|
||||||
|
|
||||||
@lldbmi_test
|
@lldbmi_test
|
||||||
|
|
Loading…
Reference in New Issue