Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix merge error
  • Loading branch information
MaxDesiatov committed May 14, 2025
commit 187ab6cafd661dfc0ba1236813e680b2f91d2fcc
8 changes: 3 additions & 5 deletions Tests/PackageModelTests/SwiftSDKBundleTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ final class SwiftSDKBundleTests: XCTestCase {
// With a target SDK selector, SDK should be chosen from the store.
XCTAssertEqual(targetSwiftSDK.targetTriple, targetTriple)
// No toolset in the SDK, so it should be the same as the host SDK.
XCTAssertEqual(targetSwiftSDK.toolset.rootPaths, [hostToolchainBinDir] + hostSwiftSDK.toolset.rootPaths)
XCTAssertEqual(targetSwiftSDK.toolset.rootPaths, hostSwiftSDK.toolset.rootPaths)
}

do {
Expand All @@ -472,10 +472,7 @@ final class SwiftSDKBundleTests: XCTestCase {
fileSystem: fileSystem
)
// With toolset in the target SDK, it should contain the host toolset roots at the end.
XCTAssertEqual(
targetSwiftSDK.toolset.rootPaths,
[toolsetRootPath, hostToolchainBinDir] + hostSwiftSDK.toolset.rootPaths
)
XCTAssertEqual(targetSwiftSDK.toolset.rootPaths, [toolsetRootPath] + hostSwiftSDK.toolset.rootPaths)
}

do {
Expand Down Expand Up @@ -527,6 +524,7 @@ final class SwiftSDKBundleTests: XCTestCase {
var output = [SwiftSDKBundleStore.Output]()
let store = SwiftSDKBundleStore(
swiftSDKsDirectory: swiftSDKsDirectory,
hostToolchainBinDir: "/tmp",
fileSystem: fileSystem,
observabilityScope: system.topScope,
outputHandler: { output.append($0) }
Expand Down