File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
lldb/test/API/functionalities/dyld-launch-linux Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 7
7
8
8
from lldbsuite .test .decorators import *
9
9
from lldbsuite .test .lldbtest import *
10
+ from lldbsuite .test import lldbutil
10
11
11
12
12
13
class TestLinux64LaunchingViaDynamicLoader (TestBase ):
@@ -39,11 +40,16 @@ def test(self):
39
40
breakpoint_shared_library = target .BreakpointCreateBySourceRegex (
40
41
"get_signal_crash" , lldb .SBFileSpec ("signal_file.cpp" )
41
42
)
43
+ inferior_exe_path = lldbutil .install_to_target (
44
+ self , self .getBuildArtifact ("a.out" )
45
+ )
46
+ lldbutil .install_to_target (self , self .getBuildArtifact ("libsignal_file.so" ))
47
+
42
48
launch_info = lldb .SBLaunchInfo (
43
49
[
44
50
"--library-path" ,
45
51
self .get_process_working_directory (),
46
- self . getBuildArtifact ( "a.out" ) ,
52
+ inferior_exe_path ,
47
53
]
48
54
)
49
55
launch_info .SetWorkingDirectory (self .get_process_working_directory ())
You can’t perform that action at this time.
0 commit comments