File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
lldb/test/API/functionalities/completion Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,16 @@ def test_process_unload(self):
107
107
self , "// Break here" , lldb .SBFileSpec ("main.cpp" )
108
108
)
109
109
err = lldb .SBError ()
110
- self .process ().LoadImage (
111
- lldb .SBFileSpec (self .getBuildArtifact ("libshared.so" )), err
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 ,
115
+ )
116
+ if lldb .remote_platform
117
+ else lldb .SBFileSpec ()
112
118
)
119
+ self .process ().LoadImage (local_spec , remote_spec , err )
113
120
self .assertSuccess (err )
114
121
115
122
self .complete_from_to ("process unload " , "process unload 0" )
@@ -473,7 +480,7 @@ def test_custom_command_completion(self):
473
480
self .complete_from_to ("my_test_cmd main.cp" , ["main.cpp" ])
474
481
self .expect ("my_test_cmd main.cpp" , substrs = ["main.cpp" ])
475
482
476
- @skipIfWindows
483
+ @skipIf ( hostoslist = [ "windows" ])
477
484
def test_completion_target_create_from_root_dir (self ):
478
485
"""Tests source file completion by completing ."""
479
486
root_dir = os .path .abspath (os .sep )
You can’t perform that action at this time.
0 commit comments