File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,19 @@ if os.path.exists(swiftpm_srcdir):
151
151
# Find the tools we need.
152
152
lit_config .note ("testing using 'FileCheck': %r" % (filecheck_path ,))
153
153
154
- swift_path = os .path .join (package_path , "usr" , "bin" , "swift" )
154
+ swift_path = lit_config .params .get (
155
+ "swift" ,
156
+ os .path .join (package_path , "usr" , "bin" , "swift" ))
155
157
lit_config .note ("testing using 'swift': %r" % (swift_path ,))
156
158
157
- swiftc_path = os .path .join (package_path , "usr" , "bin" , "swiftc" )
159
+ swiftc_path = lit_config .params .get (
160
+ "swiftc" ,
161
+ os .path .join (package_path , "usr" , "bin" , "swiftc" ))
158
162
lit_config .note ("testing using 'swiftc': %r" % (swiftc_path ,))
159
163
160
- lldb_path = os .path .join (package_path , "usr" , "bin" , "lldb" )
164
+ lldb_path = lit_config .params .get (
165
+ "lldb" ,
166
+ os .path .join (package_path , "usr" , "bin" , "lldb" ))
161
167
lit_config .note ("testing using 'lldb': {}" .format (lldb_path ))
162
168
163
169
# Verify they exist.
You can’t perform that action at this time.
0 commit comments