File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -614,10 +614,16 @@ final class SwiftSDKBundleTests: XCTestCase {
614614
615615 let targetTripleConfigPath = AbsolutePath ( " /sdks/configuration/ \( testArtifactID) _ \( targetTriple. tripleString) .json " )
616616
617+ #if os(Windows)
618+ let sdkRootPath = " C: \\ some \\ sdk \\ root \\ path "
619+ #else
620+ let sdkRootPath = " /some/sdk/root/path "
621+ #endif
622+
617623 do {
618624 let ( config, fileSystem) = try await createConfigurationStore ( )
619625 var args = SwiftSDK . PathsConfiguration < String > ( )
620- args. sdkRootPath = " /some/sdk/root/path "
626+ args. sdkRootPath = sdkRootPath
621627 let configSuccess = try config. configure (
622628 sdkID: testArtifactID,
623629 targetTriple: targetTriple. tripleString,
@@ -638,7 +644,7 @@ final class SwiftSDKBundleTests: XCTestCase {
638644 do {
639645 let ( config, fileSystem) = try await createConfigurationStore ( )
640646 var args = SwiftSDK . PathsConfiguration < String > ( )
641- args. sdkRootPath = " /some/sdk/root/path "
647+ args. sdkRootPath = sdkRootPath
642648 // an empty targetTriple will configure all triples
643649 let configSuccess = try config. configure (
644650 sdkID: testArtifactID,
You can’t perform that action at this time.
0 commit comments