mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-12 10:06:07 +00:00

This module was originally intended to be imported by top-level scripts to be able to find the LLDB packages and third party libraries. Packages themselves shouldn't need to import it, because by the time it gets into the package, the top-level script should have already done this. Indeed, it was just adding the same values to sys.path multiple times, so this patch is essentially no functional change. To make sure it doesn't get re-introduced, we also delete the `use_lldb_suite` module from `lldbsuite/test`, although the original copy still remains in `lldb/test` llvm-svn: 251963
26 lines
880 B
Python
26 lines
880 B
Python
from __future__ import print_function
|
|
|
|
|
|
|
|
import gdbremote_testcase
|
|
from lldbsuite.test.lldbtest import *
|
|
|
|
class TestGdbRemoteSingleStep(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|
|
|
mydir = TestBase.compute_mydir(__file__)
|
|
|
|
@debugserver_test
|
|
def test_single_step_only_steps_one_instruction_with_s_debugserver(self):
|
|
self.init_debugserver_test()
|
|
self.build()
|
|
self.set_inferior_startup_launch()
|
|
self.single_step_only_steps_one_instruction(use_Hc_packet=True, step_instruction="s")
|
|
|
|
@llgs_test
|
|
@expectedFailureAndroid(bugnumber="llvm.com/pr24739", archs=["arm", "aarch64"])
|
|
def test_single_step_only_steps_one_instruction_with_s_llgs(self):
|
|
self.init_llgs_test()
|
|
self.build()
|
|
self.set_inferior_startup_launch()
|
|
self.single_step_only_steps_one_instruction(use_Hc_packet=True, step_instruction="s")
|