[Lldb-commits] [lldb] r237096 - Improve MiStartupOptionsTestCase.test_lldbmi_executable_option_file test (MI)
Ilia K
ki.stfu at gmail.com
Mon May 11 23:49:49 PDT 2015
Author: ki.stfu
Date: Tue May 12 01:49:49 2015
New Revision: 237096
URL: http://llvm.org/viewvc/llvm-project?rev=237096&view=rev
Log:
Improve MiStartupOptionsTestCase.test_lldbmi_executable_option_file test (MI)
Modified:
lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py
Modified: lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py?rev=237096&r1=237095&r2=237096&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py (original)
+++ lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py Tue May 12 01:49:49 2015
@@ -25,9 +25,16 @@ class MiStartupOptionsTestCase(lldbmi_te
# Test that lldb-mi is ready when executable was loaded
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.expect("\^running")
+ self.expect("\*stopped,reason=\"breakpoint-hit\"")
+
+ # Continue
+ self.runCmd("-exec-continue")
+ self.expect("\^running")
self.expect("\*stopped,reason=\"exited-normally\"")
@lldbmi_test
More information about the lldb-commits
mailing list