test/tools/lldb-server/commandline/Test* were actually executing in their parent directory. This looks fine at first because they aren't compiling an inferior executable. Unfortunately, they still call "make clean" during their cleanup, which is likely causing all kinds of havok in tests running in the parent directory Differential Revision: http://reviews.llvm.org/D9869 llvm-svn: 237932
28 lines
858 B
Python
28 lines
858 B
Python
import unittest2
|
|
|
|
import gdbremote_testcase
|
|
from lldbtest import *
|
|
|
|
class TestGdbRemoteSingleStep(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|
|
|
mydir = TestBase.compute_mydir(__file__)
|
|
|
|
@debugserver_test
|
|
@dsym_test
|
|
def test_single_step_only_steps_one_instruction_with_s_debugserver_dsym(self):
|
|
self.init_debugserver_test()
|
|
self.buildDsym()
|
|
self.set_inferior_startup_launch()
|
|
self.single_step_only_steps_one_instruction(use_Hc_packet=True, step_instruction="s")
|
|
|
|
@llgs_test
|
|
@dwarf_test
|
|
def test_single_step_only_steps_one_instruction_with_s_llgs_dwarf(self):
|
|
self.init_llgs_test()
|
|
self.buildDwarf()
|
|
self.set_inferior_startup_launch()
|
|
self.single_step_only_steps_one_instruction(use_Hc_packet=True, step_instruction="s")
|
|
|
|
if __name__ == '__main__':
|
|
unittest2.main()
|