Todd Fiala | e220200 | 2014-06-27 22:11:56 +0000 | [diff] [blame^] | 1 | import unittest2 |
| 2 | |
| 3 | import gdbremote_testcase |
| 4 | from lldbtest import * |
| 5 | |
| 6 | class 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 | |
| 25 | if __name__ == '__main__': |
| 26 | unittest2.main() |