Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
test/tools/lldb-mi/TestMiInterpreterExec.py
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | def test_lldbmi_breakpoint_set(self): | ||||
# Test that breakpoint was set properly | # Test that breakpoint was set properly | ||||
self.runCmd("-exec-run") | self.runCmd("-exec-run") | ||||
self.expect("\^running") | self.expect("\^running") | ||||
self.expect("\*stopped,reason=\"breakpoint-hit\"") | self.expect("\*stopped,reason=\"breakpoint-hit\"") | ||||
@lldbmi_test | @lldbmi_test | ||||
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows") | @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows") | ||||
@unittest2.skip("reviews.llvm.org/D6965: requires this patch") | |||||
def test_lldbmi_settings_set_target_run_args(self): | def test_lldbmi_settings_set_target_run_args(self): | ||||
"""Test that 'lldb-mi --interpreter' can set target arguments by 'setting set target.run-args' command.""" | """Test that 'lldb-mi --interpreter' can set target arguments by 'setting set target.run-args' command.""" | ||||
self.spawnLldbMi(args = None) | self.spawnLldbMi(args = None) | ||||
# Load executable | # Load executable | ||||
self.runCmd("-file-exec-and-symbols %s" % self.myexe) | self.runCmd("-file-exec-and-symbols %s" % self.myexe) | ||||
self.expect("\^done") | self.expect("\^done") | ||||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |