Changeset View
Changeset View
Standalone View
Standalone View
packages/Python/lldbsuite/test/tools/lldb-mi/syntax/TestMiSyntax.py
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | class MiSyntaxTestCase(lldbmi_testcase.MiTestCaseBase): | ||||
def test_lldbmi_output_grammar(self): | def test_lldbmi_output_grammar(self): | ||||
"""Test that 'lldb-mi --interpreter' uses standard output syntax.""" | """Test that 'lldb-mi --interpreter' uses standard output syntax.""" | ||||
self.spawnLldbMi(args=None) | self.spawnLldbMi(args=None) | ||||
self.child.setecho(False) | self.child.setecho(False) | ||||
# Run all commands simultaneously | # Run all commands simultaneously | ||||
self.runCmd("-unknown-command") | self.runCmd("-unknown-command") | ||||
self.runCmd("-interpreter-exec command help") | |||||
self.runCmd("-file-exec-and-symbols %s" % self.myexe) | self.runCmd("-file-exec-and-symbols %s" % self.myexe) | ||||
self.runCmd("-break-insert -f main") | self.runCmd("-break-insert -f main") | ||||
self.runCmd("-gdb-set target-async off") | self.runCmd("-gdb-set target-async off") | ||||
self.runCmd("-exec-run") | self.runCmd("-exec-run") | ||||
self.runCmd("-gdb-set target-async on") | self.runCmd("-gdb-set target-async on") | ||||
self.runCmd("-exec-continue") | self.runCmd("-exec-continue") | ||||
self.runCmd("-gdb-exit") | self.runCmd("-gdb-exit") | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |