File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ public struct SwiftTestTool: ParsableCommand {
224
224
225
225
case . generateLinuxMain:
226
226
#if os(Linux)
227
- diagnostics. emit ( warning: " can't discover tests on Linux; please use this option on macOS instead " )
227
+ swiftTool . diagnostics. emit ( warning: " can't discover tests on Linux; please use this option on macOS instead " )
228
228
#endif
229
229
let graph = try swiftTool. loadPackageGraph ( )
230
230
let testProducts = try buildTestsIfNeeded ( swiftTool: swiftTool)
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ public class SwiftTool {
210
210
let originalWorkingDirectory : AbsolutePath
211
211
212
212
/// The options of this tool.
213
- let options : SwiftToolOptions
213
+ var options : SwiftToolOptions
214
214
215
215
/// Path to the root package directory, nil if manifest is not found.
216
216
let packageRoot : AbsolutePath ?
@@ -281,7 +281,7 @@ public class SwiftTool {
281
281
282
282
// Force building with the native build system on other platforms than macOS.
283
283
#if !os(macOS)
284
- options. buildSystem = . native
284
+ self . options. buildSystem = . native
285
285
#endif
286
286
287
287
let processSet = ProcessSet ( )
You can’t perform that action at this time.
0 commit comments