@@ -3937,7 +3937,9 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
39373937 TestBuildConfiguration ( " Debug " , buildSettings: [
39383938 " SWIFT_WARNINGS_AS_WARNINGS_GROUPS " : " Unsafe DeprecatedDeclaration " ,
39393939 " SWIFT_EXEC " : swiftCompilerPath. str,
3940- " CODE_SIGN_IDENTITY " : " "
3940+ " CODE_SIGN_IDENTITY " : " " ,
3941+ " SDKROOT " : " $(HOST_PLATFORM) " ,
3942+ " SUPPORTED_PLATFORMS " : " $(HOST_PLATFORM) " ,
39413943 ] ) ,
39423944 ] ,
39433945 buildPhases: [
@@ -3949,7 +3951,7 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
39493951
39503952 let tester = try await TaskConstructionTester ( getCore ( ) , testProject)
39513953
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
39533955 results. checkTarget ( " TargetName " ) { target in
39543956 results. checkTask ( . matchTarget( target) , . matchRuleType( " SwiftDriver Compilation " ) ) { task in
39553957 task. checkCommandLineContains ( [
@@ -3981,7 +3983,9 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
39813983 TestBuildConfiguration ( " Debug " , buildSettings: [
39823984 " SWIFT_WARNINGS_AS_ERRORS_GROUPS " : " UnknownWarningGroup PreconcurrencyImport " ,
39833985 " SWIFT_EXEC " : swiftCompilerPath. str,
3984- " CODE_SIGN_IDENTITY " : " "
3986+ " CODE_SIGN_IDENTITY " : " " ,
3987+ " SDKROOT " : " $(HOST_PLATFORM) " ,
3988+ " SUPPORTED_PLATFORMS " : " $(HOST_PLATFORM) " ,
39853989 ] ) ,
39863990 ] ,
39873991 buildPhases: [
@@ -3993,7 +3997,7 @@ fileprivate struct SwiftTaskConstructionTests: CoreBasedTests {
39933997
39943998 let tester = try await TaskConstructionTester ( getCore ( ) , testProject)
39953999
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
39974001 results. checkTarget ( " TargetName " ) { target in
39984002 results. checkTask ( . matchTarget( target) , . matchRuleType( " SwiftDriver Compilation " ) ) { task in
39994003 task. checkCommandLineContains ( [
0 commit comments