File tree 2 files changed +7
-1
lines changed
Sources/SwiftTools/Build/Domain
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ final class BuildInteractorImpl: BuildInteractor {
63
63
if arguments. isCodeCoverageEnabled {
64
64
additionalArguments += [ " -enableCodeCoverage " , " YES " ]
65
65
}
66
+ if arguments. skipMacroValidation {
67
+ additionalArguments += [ " -skipMacroValidation " ]
68
+ }
66
69
return try makeArguments (
67
70
scheme: arguments. scheme,
68
71
platform: arguments. platform,
Original file line number Diff line number Diff line change @@ -11,18 +11,21 @@ public struct TestArguments {
11
11
public let testPlan : String ?
12
12
public let isCodeCoverageEnabled : Bool
13
13
public let isQuiet : Bool
14
+ public let skipMacroValidation : Bool
14
15
15
16
public init (
16
17
scheme: String ,
17
18
platform: Platform ,
18
19
testPlan: String ? = nil ,
19
20
isCodeCoverageEnabled: Bool = false ,
20
- isQuiet: Bool = true
21
+ isQuiet: Bool = true ,
22
+ skipMacroValidation: Bool = false
21
23
) {
22
24
self . scheme = scheme
23
25
self . platform = platform
24
26
self . testPlan = testPlan
25
27
self . isCodeCoverageEnabled = isCodeCoverageEnabled
26
28
self . isQuiet = isQuiet
29
+ self . skipMacroValidation = skipMacroValidation
27
30
}
28
31
}
You can’t perform that action at this time.
0 commit comments