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 {
614
614
615
615
let targetTripleConfigPath = AbsolutePath ( " /sdks/configuration/ \( testArtifactID) _ \( targetTriple. tripleString) .json " )
616
616
617
+ #if os(Windows)
618
+ let sdkRootPath = " C: \\ some \\ sdk \\ root \\ path "
619
+ #else
620
+ let sdkRootPath = " /some/sdk/root/path "
621
+ #endif
622
+
617
623
do {
618
624
let ( config, fileSystem) = try await createConfigurationStore ( )
619
625
var args = SwiftSDK . PathsConfiguration < String > ( )
620
- args. sdkRootPath = " /some/sdk/root/path "
626
+ args. sdkRootPath = sdkRootPath
621
627
let configSuccess = try config. configure (
622
628
sdkID: testArtifactID,
623
629
targetTriple: targetTriple. tripleString,
@@ -638,7 +644,7 @@ final class SwiftSDKBundleTests: XCTestCase {
638
644
do {
639
645
let ( config, fileSystem) = try await createConfigurationStore ( )
640
646
var args = SwiftSDK . PathsConfiguration < String > ( )
641
- args. sdkRootPath = " /some/sdk/root/path "
647
+ args. sdkRootPath = sdkRootPath
642
648
// an empty targetTriple will configure all triples
643
649
let configSuccess = try config. configure (
644
650
sdkID: testArtifactID,
You can’t perform that action at this time.
0 commit comments