blob: 2377ce13fb0891de4bf4236e65817e8f16130111 [file] [log] [blame]
Todd Fialae2202002014-06-27 22:11:56 +00001import unittest2
2
3import gdbremote_testcase
4from lldbtest import *
5
6class TestGdbRemoteSingleStep(gdbremote_testcase.GdbRemoteTestCaseBase):
7
8 @debugserver_test
9 @dsym_test
10 def test_single_step_only_steps_one_instruction_with_s_debugserver_dsym(self):
11 self.init_debugserver_test()
12 self.buildDsym()
13 self.set_inferior_startup_launch()
14 self.single_step_only_steps_one_instruction(use_Hc_packet=True, step_instruction="s")
15
16 @llgs_test
17 @dwarf_test
18 @unittest2.expectedFailure()
19 def test_single_step_only_steps_one_instruction_with_s_llgs_dwarf(self):
20 self.init_llgs_test()
21 self.buildDwarf()
22 self.set_inferior_startup_launch()
23 self.single_step_only_steps_one_instruction(use_Hc_packet=True, step_instruction="s")
24
25if __name__ == '__main__':
26 unittest2.main()