Skip to content

Commit cd905bf

Browse files
committed
[DNM] Always have verbose SwiftPM logging
1 parent 8d35f34 commit cd905bf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

utils/build.ps1

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,10 +1803,11 @@ function Build-SPMProject {
18031803
}
18041804
Test {
18051805
$ActionName = "test"
1806+
$Arguments += @("-v")
18061807
}
18071808
TestParallel {
18081809
$ActionName = "test"
1809-
$Arguments += @("--parallel")
1810+
$Arguments += @("--parallel", "-v")
18101811
}
18111812
}
18121813

@@ -2849,7 +2850,8 @@ function Test-Foundation {
28492850
-Action Test `
28502851
-Src $SourceCache\swift-foundation `
28512852
-Bin "$BinaryCache\$($BuildPlatform.Triple)\CoreFoundationTests" `
2852-
-Platform $BuildPlatform
2853+
-Platform $BuildPlatform `
2854+
-Configuration $FoundationTestConfiguration
28532855

28542856
Invoke-IsolatingEnvVars {
28552857
$env:DISPATCH_INCLUDE_PATH="$(Get-SwiftSDK $BuildPlatform.OS)/usr/include"
@@ -2863,8 +2865,7 @@ function Test-Foundation {
28632865
-Src $SourceCache\swift-corelibs-foundation `
28642866
-Bin "$BinaryCache\$($BuildPlatform.Triple)\FoundationTests" `
28652867
-Platform $BuildPlatform `
2866-
-Configuration $FoundationTestConfiguration `
2867-
-j 1 # Running parallel causes a non-deterministic crash in CI only, see https://github.com/swiftlang/swift/issues/83606
2868+
-Configuration $FoundationTestConfiguration
28682869
}
28692870
}
28702871

0 commit comments

Comments
 (0)