@@ -142,7 +142,7 @@ final class SwiftPMBuildSystemTests: XCTestCase {
142
142
)
143
143
144
144
let aswift = packageRoot. appending ( components: " Sources " , " lib " , " a.swift " )
145
- let hostTriple = await swiftpmBuildSystem. buildParameters . triple
145
+ let hostTriple = await swiftpmBuildSystem. destinationBuildParameters . triple
146
146
let build = buildPath ( root: packageRoot, platform: hostTriple. platformBuildPathComponent)
147
147
148
148
assertEqual ( await swiftpmBuildSystem. buildPath, build)
@@ -211,7 +211,7 @@ final class SwiftPMBuildSystemTests: XCTestCase {
211
211
)
212
212
213
213
let aswift = packageRoot. appending ( components: " Sources " , " lib " , " a.swift " )
214
- let hostTriple = await swiftpmBuildSystem. buildParameters . triple
214
+ let hostTriple = await swiftpmBuildSystem. destinationBuildParameters . triple
215
215
let build = buildPath ( root: packageRoot, config: config, platform: hostTriple. platformBuildPathComponent)
216
216
217
217
assertEqual ( await swiftpmBuildSystem. buildPath, build)
@@ -435,7 +435,7 @@ final class SwiftPMBuildSystemTests: XCTestCase {
435
435
let acxx = packageRoot. appending ( components: " Sources " , " lib " , " a.cpp " )
436
436
let bcxx = packageRoot. appending ( components: " Sources " , " lib " , " b.cpp " )
437
437
let header = packageRoot. appending ( components: " Sources " , " lib " , " include " , " a.h " )
438
- let hostTriple = await swiftpmBuildSystem. buildParameters . triple
438
+ let hostTriple = await swiftpmBuildSystem. destinationBuildParameters . triple
439
439
let build = buildPath ( root: packageRoot, platform: hostTriple. platformBuildPathComponent)
440
440
441
441
assertEqual ( await swiftpmBuildSystem. buildPath, build)
@@ -515,7 +515,7 @@ final class SwiftPMBuildSystemTests: XCTestCase {
515
515
let aswift = packageRoot. appending ( components: " Sources " , " lib " , " a.swift " )
516
516
let arguments = try await swiftpmBuildSystem. buildSettings ( for: aswift. asURI, language: . swift) !. compilerArguments
517
517
assertArgumentsContain ( " -target " , arguments: arguments) // Only one!
518
- let hostTriple = await swiftpmBuildSystem. buildParameters . triple
518
+ let hostTriple = await swiftpmBuildSystem. destinationBuildParameters . triple
519
519
520
520
#if os(macOS)
521
521
assertArgumentsContain (
@@ -741,7 +741,7 @@ final class SwiftPMBuildSystemTests: XCTestCase {
741
741
)
742
742
743
743
let aswift = packageRoot. appending ( components: " Plugins " , " MyPlugin " , " a.swift " )
744
- let hostTriple = await swiftpmBuildSystem. buildParameters . triple
744
+ let hostTriple = await swiftpmBuildSystem. destinationBuildParameters . triple
745
745
let build = buildPath ( root: packageRoot, platform: hostTriple. platformBuildPathComponent)
746
746
747
747
assertEqual ( await swiftpmBuildSystem. buildPath, build)
0 commit comments