Skip to content

[DNM] Add more detailed logging for corelibs foundation #82755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
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
15 changes: 8 additions & 7 deletions utils/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,11 @@ if ($AndroidSDKs.Length -gt 0) {
$Android = $true
}

if ($Test -contains "*") {
# Explicitly don't include llbuild yet since tests are known to fail on Windows
$Test = @("lld", "lldb", "swift", "dispatch", "foundation", "xctest", "swift-format", "sourcekit-lsp")
}
#if ($Test -contains "*") {
# # Explicitly don't include llbuild yet since tests are known to fail on Windows
# $Test = @("lld", "lldb", "swift", "dispatch", "foundation", "xctest", "swift-format", "sourcekit-lsp")
#}
$Test = @("foundation")

## Declare static build and build tool parameters.

Expand Down Expand Up @@ -1642,10 +1643,11 @@ function Build-SPMProject {
}
Test {
$ActionName = "test"
$Arguments += @("-v")
}
TestParallel {
$ActionName = "test"
$Arguments += @("--parallel")
$Arguments += @("--parallel", "-v")
}
}

Expand Down Expand Up @@ -2584,8 +2586,7 @@ function Test-Foundation {
-Src $SourceCache\swift-corelibs-foundation `
-Bin "$BinaryCache\$($BuildPlatform.Triple)\FoundationTests" `
-Platform $BuildPlatform `
-Configuration $FoundationTestConfiguration `
-j 1
-Configuration $FoundationTestConfiguration
}
}

Expand Down