File tree 1 file changed +10
-8
lines changed
lldb/test/API/functionalities/completion
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -108,15 +108,17 @@ def test_process_unload(self):
108
108
)
109
109
err = lldb .SBError ()
110
110
local_spec = lldb .SBFileSpec (self .getBuildArtifact ("libshared.so" ))
111
- remote_spec = (
112
- lldb .SBFileSpec (
113
- lldbutil .append_to_process_working_directory (self , "libshared.so" ),
114
- False ,
111
+ if lldb .remote_platform :
112
+ self .process ().LoadImage (
113
+ local_spec ,
114
+ lldb .SBFileSpec (
115
+ lldbutil .append_to_process_working_directory (self , "libshared.so" ),
116
+ False ,
117
+ ),
118
+ err ,
115
119
)
116
- if lldb .remote_platform
117
- else lldb .SBFileSpec ()
118
- )
119
- self .process ().LoadImage (local_spec , remote_spec , err )
120
+ else :
121
+ self .process ().LoadImage (local_spec , err )
120
122
self .assertSuccess (err )
121
123
122
124
self .complete_from_to ("process unload " , "process unload 0" )
You can’t perform that action at this time.
0 commit comments