2 from lldbsuite
.test
.decorators
import *
3 from lldbsuite
.test
.lldbtest
import *
6 class TestFunctionNameWithoutArgs(TestBase
):
9 def test_function_name_without_args(self
):
11 target
= self
.createTestTarget()
12 target
.LaunchSimple(None, None, self
.get_process_working_directory())
14 self
.runCmd("run", RUN_SUCCEEDED
)
18 "stop reason = hit program assert",
19 "libsystem_kernel.dylib`__pthread_kill",
23 'settings set frame-format "frame #${frame.index}: ${function.name-without-args}\n"'
27 substrs
=["stop reason = hit program assert", "frame #0: __pthread_kill"],