@@ -2417,7 +2417,7 @@ function Build-XCTest([Platform]$Platform, $Arch) {
2417
2417
Build-CMakeProject `
2418
2418
- Src $SourceCache \swift- corelibs- xctest `
2419
2419
- Bin $ (Get-ProjectBinaryCache $Arch XCTest) `
2420
- - InstallTo " $ ( [IO.Path ]::Combine((Get-PlatformRoot $Platform ), " Developer" , " Library" , " XCTest-development " , " usr" )) " `
2420
+ - InstallTo " $ ( [IO.Path ]::Combine((Get-PlatformRoot $Platform ), " Developer" , " Library" , " XCTest-$ProductVersion " , " usr" )) " `
2421
2421
- Arch $Arch `
2422
2422
- Platform $Platform `
2423
2423
- UseBuiltCompilers Swift `
@@ -2461,7 +2461,7 @@ function Build-Testing([Platform]$Platform, $Arch) {
2461
2461
Build-CMakeProject `
2462
2462
- Src $SourceCache \swift- testing `
2463
2463
- Bin (Get-ProjectBinaryCache $Arch Testing) `
2464
- - InstallTo " $ ( [IO.Path ]::Combine((Get-PlatformRoot $Platform ), " Developer" , " Library" , " Testing-development " , " usr" )) " `
2464
+ - InstallTo " $ ( [IO.Path ]::Combine((Get-PlatformRoot $Platform ), " Developer" , " Library" , " Testing-$ProductVersion " , " usr" )) " `
2465
2465
- Arch $Arch `
2466
2466
- Platform $Platform `
2467
2467
- UseBuiltCompilers C, CXX, Swift `
@@ -2485,8 +2485,8 @@ function Test-Testing {
2485
2485
function Write-PlatformInfoPlist ([Platform ] $Platform ) {
2486
2486
$Settings = @ {
2487
2487
DefaultProperties = @ {
2488
- SWIFT_TESTING_VERSION = " development "
2489
- XCTEST_VERSION = " development "
2488
+ SWIFT_TESTING_VERSION = " $ProductVersion "
2489
+ XCTEST_VERSION = " $ProductVersion "
2490
2490
}
2491
2491
}
2492
2492
if ($Platform -eq [Platform ]::Windows) {
0 commit comments