@@ -3937,7 +3937,9 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
3937
3937
TestBuildConfiguration ( " Debug " , buildSettings: [
3938
3938
" SWIFT_WARNINGS_AS_WARNINGS_GROUPS " : " Unsafe DeprecatedDeclaration " ,
3939
3939
" SWIFT_EXEC " : swiftCompilerPath. str,
3940
- " CODE_SIGN_IDENTITY " : " "
3940
+ " CODE_SIGN_IDENTITY " : " " ,
3941
+ " SDKROOT " : " $(HOST_PLATFORM) " ,
3942
+ " SUPPORTED_PLATFORMS " : " $(HOST_PLATFORM) " ,
3941
3943
] ) ,
3942
3944
] ,
3943
3945
buildPhases: [
@@ -3949,7 +3951,7 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
3949
3951
3950
3952
let tester = try await TaskConstructionTester ( getCore ( ) , testProject)
3951
3953
3952
- try await tester. checkBuild ( BuildParameters ( configuration: " Debug " , overrides: [ " SWIFT_VERSION " : swiftVersion] ) ) { results in
3954
+ try await tester. checkBuild ( BuildParameters ( configuration: " Debug " , overrides: [ " SWIFT_VERSION " : swiftVersion] ) , runDestination : . host ) { results in
3953
3955
results. checkTarget ( " TargetName " ) { target in
3954
3956
results. checkTask ( . matchTarget( target) , . matchRuleType( " SwiftDriver Compilation " ) ) { task in
3955
3957
task. checkCommandLineContains ( [
@@ -3981,7 +3983,9 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
3981
3983
TestBuildConfiguration ( " Debug " , buildSettings: [
3982
3984
" SWIFT_WARNINGS_AS_ERRORS_GROUPS " : " UnknownWarningGroup PreconcurrencyImport " ,
3983
3985
" SWIFT_EXEC " : swiftCompilerPath. str,
3984
- " CODE_SIGN_IDENTITY " : " "
3986
+ " CODE_SIGN_IDENTITY " : " " ,
3987
+ " SDKROOT " : " $(HOST_PLATFORM) " ,
3988
+ " SUPPORTED_PLATFORMS " : " $(HOST_PLATFORM) " ,
3985
3989
] ) ,
3986
3990
] ,
3987
3991
buildPhases: [
@@ -3993,7 +3997,7 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
3993
3997
3994
3998
let tester = try await TaskConstructionTester ( getCore ( ) , testProject)
3995
3999
3996
- try await tester. checkBuild ( BuildParameters ( configuration: " Debug " , overrides: [ " SWIFT_VERSION " : swiftVersion] ) ) { results in
4000
+ try await tester. checkBuild ( BuildParameters ( configuration: " Debug " , overrides: [ " SWIFT_VERSION " : swiftVersion] ) , runDestination : . host ) { results in
3997
4001
results. checkTarget ( " TargetName " ) { target in
3998
4002
results. checkTask ( . matchTarget( target) , . matchRuleType( " SwiftDriver Compilation " ) ) { task in
3999
4003
task. checkCommandLineContains ( [
0 commit comments