This uses the same approach as the debug info tests to avoid needing to explicitly spell out the two kinds of tests. I convert a handful of tests to the new mechanism. The rest will be converted in follow-up patches.
19 lines
702 B
Python
19 lines
702 B
Python
import gdbremote_testcase
|
|
from lldbsuite.test.decorators import *
|
|
from lldbsuite.test.lldbtest import *
|
|
from lldbsuite.test import lldbutil
|
|
|
|
|
|
class TestGdbRemoteSingleStep(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|
|
|
mydir = TestBase.compute_mydir(__file__)
|
|
|
|
@skipIfWindows # No pty support to test any inferior std -i/e/o
|
|
@skipIf(triple='^mips')
|
|
@skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet
|
|
def test_single_step_only_steps_one_instruction_with_s(self):
|
|
self.build()
|
|
self.set_inferior_startup_launch()
|
|
self.single_step_only_steps_one_instruction(
|
|
use_Hc_packet=True, step_instruction="s")
|